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/resources/sessions/v1/session.proto
package sessions
import (
_ "github.com/golang/protobuf/ptypes/struct"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "github.com/golang/protobuf/ptypes/wrappers"
scopes "github.com/hashicorp/boundary/internal/gen/controller/api/resources/scopes"
_ "github.com/hashicorp/boundary/internal/gen/controller/api/resources/targets"
_ "github.com/hashicorp/boundary/internal/gen/controller/protooptions"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/structpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
_ "google.golang.org/protobuf/types/known/wrapperspb"
reflect "reflect"
sync "sync"
)
@@ -82,9 +82,9 @@ type SessionState struct {
// The status of the Session, e.g. "pending", "active", "canceling", "terminated".
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
// Output only. The time the Session entered this state.
StartTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=start_time,proto3" json:"start_time,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,proto3" json:"start_time,omitempty"`
// Output only. The time the Session stopped being in this state.
EndTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=end_time,proto3" json:"end_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=end_time,proto3" json:"end_time,omitempty"`
}
func (x *SessionState) Reset() {
@@ -126,14 +126,14 @@ func (x *SessionState) GetStatus() string {
return ""
}
func (x *SessionState) GetStartTime() *timestamp.Timestamp {
func (x *SessionState) GetStartTime() *timestamppb.Timestamp {
if x != nil {
return x.StartTime
}
return nil
}
func (x *SessionState) GetEndTime() *timestamp.Timestamp {
func (x *SessionState) GetEndTime() *timestamppb.Timestamp {
if x != nil {
return x.EndTime
}
@@ -153,15 +153,15 @@ type Session struct {
// Output only. Scope information for this resource.
Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
// Output only. The time this resource was created.
CreatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
// Output only. The time this resource was last updated.
UpdatedTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
// Version is used when canceling this Session to ensure that the operation is acting on a known session state.
Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty"`
// Output only. Type of the Session (e.g. tcp).
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
// Output only. After this time the connection will be expired, e.g. forcefully terminated.
ExpirationTime *timestamp.Timestamp `protobuf:"bytes,100,opt,name=expiration_time,proto3" json:"expiration_time,omitempty"`
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=expiration_time,proto3" json:"expiration_time,omitempty"`
// Output only. The ID of the Auth Token used to authenticate.
AuthTokenId string `protobuf:"bytes,110,opt,name=auth_token_id,proto3" json:"auth_token_id,omitempty"`
// Output only. The ID of the User that requested the Session.
@@ -241,14 +241,14 @@ func (x *Session) GetScope() *scopes.ScopeInfo {
return nil
}
func (x *Session) GetCreatedTime() *timestamp.Timestamp {
func (x *Session) GetCreatedTime() *timestamppb.Timestamp {
if x != nil {
return x.CreatedTime
}
return nil
}
func (x *Session) GetUpdatedTime() *timestamp.Timestamp {
func (x *Session) GetUpdatedTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedTime
}
@@ -269,7 +269,7 @@ func (x *Session) GetType() string {
return ""
}
func (x *Session) GetExpirationTime() *timestamp.Timestamp {
func (x *Session) GetExpirationTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpirationTime
}
@@ -473,11 +473,11 @@ func file_controller_api_resources_sessions_v1_session_proto_rawDescGZIP() []byt
var file_controller_api_resources_sessions_v1_session_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_controller_api_resources_sessions_v1_session_proto_goTypes = []interface{}{
(*WorkerInfo)(nil), // 0: controller.api.resources.sessions.v1.WorkerInfo
(*SessionState)(nil), // 1: controller.api.resources.sessions.v1.SessionState
(*Session)(nil), // 2: controller.api.resources.sessions.v1.Session
(*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp
(*scopes.ScopeInfo)(nil), // 4: controller.api.resources.scopes.v1.ScopeInfo
(*WorkerInfo)(nil), // 0: controller.api.resources.sessions.v1.WorkerInfo
(*SessionState)(nil), // 1: controller.api.resources.sessions.v1.SessionState
(*Session)(nil), // 2: controller.api.resources.sessions.v1.Session
(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
(*scopes.ScopeInfo)(nil), // 4: controller.api.resources.scopes.v1.ScopeInfo
}
var file_controller_api_resources_sessions_v1_session_proto_depIdxs = []int32{
3, // 0: controller.api.resources.sessions.v1.SessionState.start_time:type_name -> google.protobuf.Timestamp