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,17 +1,17 @@
// 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/resources/authtokens/v1/authtoken.proto
package authtokens
import (
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "github.com/golang/protobuf/ptypes/wrappers"
scopes "github.com/hashicorp/boundary/internal/gen/controller/api/resources/scopes"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
_ "google.golang.org/protobuf/types/known/wrapperspb"
reflect "reflect"
sync "sync"
)
@@ -44,13 +44,13 @@ type AuthToken struct {
// Output only. The ID of the Account associated with this Auth Token.
AccountId string `protobuf:"bytes,70,opt,name=account_id,proto3" json:"account_id,omitempty"`
// Output only. The time this resource was created.
CreatedTime *timestamp.Timestamp `protobuf:"bytes,80,opt,name=created_time,proto3" json:"created_time,omitempty"`
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,80,opt,name=created_time,proto3" json:"created_time,omitempty"`
// Output only. The time this resource was last updated.
UpdatedTime *timestamp.Timestamp `protobuf:"bytes,90,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,90,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
// Output only. The approximate time this Auth Token was last used.
ApproximateLastUsedTime *timestamp.Timestamp `protobuf:"bytes,100,opt,name=approximate_last_used_time,proto3" json:"approximate_last_used_time,omitempty"`
ApproximateLastUsedTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=approximate_last_used_time,proto3" json:"approximate_last_used_time,omitempty"`
// Output only. The time this Auth Token expires.
ExpirationTime *timestamp.Timestamp `protobuf:"bytes,110,opt,name=expiration_time,proto3" json:"expiration_time,omitempty"`
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,110,opt,name=expiration_time,proto3" json:"expiration_time,omitempty"`
// Output only. The available actions on this resource for this user.
AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"`
}
@@ -136,28 +136,28 @@ func (x *AuthToken) GetAccountId() string {
return ""
}
func (x *AuthToken) GetCreatedTime() *timestamp.Timestamp {
func (x *AuthToken) GetCreatedTime() *timestamppb.Timestamp {
if x != nil {
return x.CreatedTime
}
return nil
}
func (x *AuthToken) GetUpdatedTime() *timestamp.Timestamp {
func (x *AuthToken) GetUpdatedTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedTime
}
return nil
}
func (x *AuthToken) GetApproximateLastUsedTime() *timestamp.Timestamp {
func (x *AuthToken) GetApproximateLastUsedTime() *timestamppb.Timestamp {
if x != nil {
return x.ApproximateLastUsedTime
}
return nil
}
func (x *AuthToken) GetExpirationTime() *timestamp.Timestamp {
func (x *AuthToken) GetExpirationTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpirationTime
}
@@ -246,9 +246,9 @@ func file_controller_api_resources_authtokens_v1_authtoken_proto_rawDescGZIP() [
var file_controller_api_resources_authtokens_v1_authtoken_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_controller_api_resources_authtokens_v1_authtoken_proto_goTypes = []interface{}{
(*AuthToken)(nil), // 0: controller.api.resources.authtokens.v1.AuthToken
(*scopes.ScopeInfo)(nil), // 1: controller.api.resources.scopes.v1.ScopeInfo
(*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp
(*AuthToken)(nil), // 0: controller.api.resources.authtokens.v1.AuthToken
(*scopes.ScopeInfo)(nil), // 1: controller.api.resources.scopes.v1.ScopeInfo
(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
}
var file_controller_api_resources_authtokens_v1_authtoken_proto_depIdxs = []int32{
1, // 0: controller.api.resources.authtokens.v1.AuthToken.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo