Update grpc/proto deps (#1136)

* Update grpc/proto deps

* Make gen
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-04-15 14:11:23 -04:00
1 parent 7062bc70f0
commit be10cc4b42
62 files changed
+440 -438

No files matched your search

@@ -1,20 +1,20 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.12.4
// protoc v3.15.5
// source: controller/api/services/v1/auth_method_service.proto
package services
import (
_struct "github.com/golang/protobuf/ptypes/struct"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
authmethods "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authmethods"
authtokens "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authtokens"
_ "google.golang.org/genproto/googleapis/api/annotations"
field_mask "google.golang.org/genproto/protobuf/field_mask"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
)
@@ -339,7 +339,7 @@ type UpdateAuthMethodRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Item *authmethods.AuthMethod `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
}
func (x *UpdateAuthMethodRequest) Reset() {
@@ -388,7 +388,7 @@ func (x *UpdateAuthMethodRequest) GetItem() *authmethods.AuthMethod {
return nil
}
func (x *UpdateAuthMethodRequest) GetUpdateMask() *field_mask.FieldMask {
func (x *UpdateAuthMethodRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
@@ -597,7 +597,7 @@ type ChangeStateRequest struct {
// The mutation will fail if the version does not match the latest known good version.
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// The attributes specific to this auth method's state.
Attributes *_struct.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
}
func (x *ChangeStateRequest) Reset() {
@@ -646,7 +646,7 @@ func (x *ChangeStateRequest) GetVersion() uint32 {
return 0
}
func (x *ChangeStateRequest) GetAttributes() *_struct.Struct {
func (x *ChangeStateRequest) GetAttributes() *structpb.Struct {
if x != nil {
return x.Attributes
}
@@ -765,7 +765,7 @@ type OidcStartAttributes struct {
unknownFields protoimpl.UnknownFields
// An object which will be marshaled as JSON and roundtripped in the token command call.
RoundtripPayload *_struct.Struct `protobuf:"bytes,1,opt,name=roundtrip_payload,proto3" json:"roundtrip_payload,omitempty"`
RoundtripPayload *structpb.Struct `protobuf:"bytes,1,opt,name=roundtrip_payload,proto3" json:"roundtrip_payload,omitempty"`
// Cached marshaled payload. This is not ingressed from the client; anything found will be thrown out.
CachedRoundtripPayload string `protobuf:"bytes,2,opt,name=cached_roundtrip_payload,json=cachedRoundtripPayload,proto3" json:"cached_roundtrip_payload,omitempty"`
}
@@ -802,7 +802,7 @@ func (*OidcStartAttributes) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{14}
}
func (x *OidcStartAttributes) GetRoundtripPayload() *_struct.Struct {
func (x *OidcStartAttributes) GetRoundtripPayload() *structpb.Struct {
if x != nil {
return x.RoundtripPayload
}
@@ -881,9 +881,9 @@ type AuthenticateRequest struct {
// Deprecated; use "attributes" instead.
//
// Deprecated: Do not use.
Credentials *_struct.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
Credentials *structpb.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
// Attributes are passed to the Auth Method; the valid keys and values depend on the type of Auth Method as well as the command.
Attributes *_struct.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
// The command to perform.
Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"`
}
@@ -935,14 +935,14 @@ func (x *AuthenticateRequest) GetTokenType() string {
}
// Deprecated: Do not use.
func (x *AuthenticateRequest) GetCredentials() *_struct.Struct {
func (x *AuthenticateRequest) GetCredentials() *structpb.Struct {
if x != nil {
return x.Credentials
}
return nil
}
func (x *AuthenticateRequest) GetAttributes() *_struct.Struct {
func (x *AuthenticateRequest) GetAttributes() *structpb.Struct {
if x != nil {
return x.Attributes
}
@@ -962,7 +962,7 @@ type AuthenticateResponse struct {
unknownFields protoimpl.UnknownFields
// Valid keys and values depend on the type of Auth Method as well as the command.
Attributes *_struct.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
// The command that was performed.
Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"`
}
@@ -999,7 +999,7 @@ func (*AuthenticateResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{17}
}
func (x *AuthenticateResponse) GetAttributes() *_struct.Struct {
func (x *AuthenticateResponse) GetAttributes() *structpb.Struct {
if x != nil {
return x.Attributes
}
@@ -1024,7 +1024,7 @@ type AuthenticateLoginRequest struct {
// to keep it safe from rogue JS in the browser.
TokenType string `protobuf:"bytes,2,opt,name=token_type,proto3" json:"token_type,omitempty"`
// Credentials are passed to the Auth Method; the valid keys and values depend on the type of Auth Method.
Credentials *_struct.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
Credentials *structpb.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
}
func (x *AuthenticateLoginRequest) Reset() {
@@ -1073,7 +1073,7 @@ func (x *AuthenticateLoginRequest) GetTokenType() string {
return ""
}
func (x *AuthenticateLoginRequest) GetCredentials() *_struct.Struct {
func (x *AuthenticateLoginRequest) GetCredentials() *structpb.Struct {
if x != nil {
return x.Credentials
}
@@ -1447,8 +1447,8 @@ var file_controller_api_services_v1_auth_method_service_proto_goTypes = []interf
(*AuthenticateLoginRequest)(nil), // 18: controller.api.services.v1.AuthenticateLoginRequest
(*AuthenticateLoginResponse)(nil), // 19: controller.api.services.v1.AuthenticateLoginResponse
(*authmethods.AuthMethod)(nil), // 20: controller.api.resources.authmethods.v1.AuthMethod
(*field_mask.FieldMask)(nil), // 21: google.protobuf.FieldMask
(*_struct.Struct)(nil), // 22: google.protobuf.Struct
(*fieldmaskpb.FieldMask)(nil), // 21: google.protobuf.FieldMask
(*structpb.Struct)(nil), // 22: google.protobuf.Struct
(*authtokens.AuthToken)(nil), // 23: controller.api.resources.authtokens.v1.AuthToken
}
var file_controller_api_services_v1_auth_method_service_proto_depIdxs = []int32{