diff --git a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go index f8bbe4b9cba..b7115be9336 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/accelerator_type.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go index 3b2bd1872ff..637510f0775 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/annotation.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -57,11 +57,11 @@ type Annotation struct { PayloadSchemaUri string `protobuf:"bytes,2,opt,name=payload_schema_uri,json=payloadSchemaUri,proto3" json:"payload_schema_uri,omitempty"` // Required. The schema of the payload can be found in // [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri]. - Payload *structpb.Value `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + Payload *_struct.Value `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // Output only. Timestamp when this Annotation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Annotation was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"` @@ -135,21 +135,21 @@ func (x *Annotation) GetPayloadSchemaUri() string { return "" } -func (x *Annotation) GetPayload() *structpb.Value { +func (x *Annotation) GetPayload() *_struct.Value { if x != nil { return x.Payload } return nil } -func (x *Annotation) GetCreateTime() *timestamppb.Timestamp { +func (x *Annotation) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Annotation) GetUpdateTime() *timestamppb.Timestamp { +func (x *Annotation) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -273,11 +273,11 @@ func file_google_cloud_aiplatform_v1beta1_annotation_proto_rawDescGZIP() []byte var file_google_cloud_aiplatform_v1beta1_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_annotation_proto_goTypes = []interface{}{ - (*Annotation)(nil), // 0: google.cloud.aiplatform.v1beta1.Annotation - nil, // 1: google.cloud.aiplatform.v1beta1.Annotation.LabelsEntry - (*structpb.Value)(nil), // 2: google.protobuf.Value - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*UserActionReference)(nil), // 4: google.cloud.aiplatform.v1beta1.UserActionReference + (*Annotation)(nil), // 0: google.cloud.aiplatform.v1beta1.Annotation + nil, // 1: google.cloud.aiplatform.v1beta1.Annotation.LabelsEntry + (*_struct.Value)(nil), // 2: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*UserActionReference)(nil), // 4: google.cloud.aiplatform.v1beta1.UserActionReference } var file_google_cloud_aiplatform_v1beta1_annotation_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.Annotation.payload:type_name -> google.protobuf.Value diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go index 2a787f55f54..4e27a7cd365 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/annotation_spec.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -50,9 +50,9 @@ type AnnotationSpec struct { // characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when this AnnotationSpec was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when AnnotationSpec was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` @@ -104,14 +104,14 @@ func (x *AnnotationSpec) GetDisplayName() string { return "" } -func (x *AnnotationSpec) GetCreateTime() *timestamppb.Timestamp { +func (x *AnnotationSpec) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *AnnotationSpec) GetUpdateTime() *timestamppb.Timestamp { +func (x *AnnotationSpec) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -195,8 +195,8 @@ func file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescGZIP() [] var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes = []interface{}{ - (*AnnotationSpec)(nil), // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*AnnotationSpec)(nil), // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec + (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec.create_time:type_name -> google.protobuf.Timestamp diff --git a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go index 9e30e95b1f6..cc1d655ad34 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/artifact.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -119,9 +119,9 @@ type Artifact struct { // labels are excluded). Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this Artifact was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Artifact was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The state of this Artifact. This is a property of the Artifact, and does // not imply or capture any ongoing process. This property is managed by // clients (such as Vertex AI Pipelines), and the system does not prescribe @@ -141,7 +141,7 @@ type Artifact struct { SchemaVersion string `protobuf:"bytes,15,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` // Properties of the Artifact. // The size of this field should not exceed 200KB. - Metadata *structpb.Struct `protobuf:"bytes,16,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Struct `protobuf:"bytes,16,opt,name=metadata,proto3" json:"metadata,omitempty"` // Description of the Artifact Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"` } @@ -213,14 +213,14 @@ func (x *Artifact) GetLabels() map[string]string { return nil } -func (x *Artifact) GetCreateTime() *timestamppb.Timestamp { +func (x *Artifact) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Artifact) GetUpdateTime() *timestamppb.Timestamp { +func (x *Artifact) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -248,7 +248,7 @@ func (x *Artifact) GetSchemaVersion() string { return "" } -func (x *Artifact) GetMetadata() *structpb.Struct { +func (x *Artifact) GetMetadata() *_struct.Struct { if x != nil { return x.Metadata } @@ -361,11 +361,11 @@ func file_google_cloud_aiplatform_v1beta1_artifact_proto_rawDescGZIP() []byte { var file_google_cloud_aiplatform_v1beta1_artifact_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_aiplatform_v1beta1_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_artifact_proto_goTypes = []interface{}{ - (Artifact_State)(0), // 0: google.cloud.aiplatform.v1beta1.Artifact.State - (*Artifact)(nil), // 1: google.cloud.aiplatform.v1beta1.Artifact - nil, // 2: google.cloud.aiplatform.v1beta1.Artifact.LabelsEntry - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 4: google.protobuf.Struct + (Artifact_State)(0), // 0: google.cloud.aiplatform.v1beta1.Artifact.State + (*Artifact)(nil), // 1: google.cloud.aiplatform.v1beta1.Artifact + nil, // 2: google.cloud.aiplatform.v1beta1.Artifact.LabelsEntry + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 4: google.protobuf.Struct } var file_google_cloud_aiplatform_v1beta1_artifact_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.Artifact.labels:type_name -> google.cloud.aiplatform.v1beta1.Artifact.LabelsEntry diff --git a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go index 2dc58af60d7..dbee842034f 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/batch_prediction_job.proto package aiplatformpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -77,7 +77,7 @@ type BatchPredictionJob struct { // may be specified via the [Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri]. - ModelParameters *structpb.Value `protobuf:"bytes,5,opt,name=model_parameters,json=modelParameters,proto3" json:"model_parameters,omitempty"` + ModelParameters *_struct.Value `protobuf:"bytes,5,opt,name=model_parameters,json=modelParameters,proto3" json:"model_parameters,omitempty"` // Required. The Configuration specifying where output predictions should // be written. // The schema of any single prediction may be specified as a concatenation @@ -151,15 +151,15 @@ type BatchPredictionJob struct { // Output only. Statistics on completed and failed prediction instances. CompletionStats *CompletionStats `protobuf:"bytes,14,opt,name=completion_stats,json=completionStats,proto3" json:"completion_stats,omitempty"` // Output only. Time when the BatchPredictionJob was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the BatchPredictionJob for the first time entered the // `JOB_STATE_RUNNING` state. - StartTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Time when the BatchPredictionJob entered any of the following states: // `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - EndTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Time when the BatchPredictionJob was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels with user-defined metadata to organize BatchPredictionJobs. // // Label keys and values can be no longer than 64 characters @@ -256,7 +256,7 @@ func (x *BatchPredictionJob) GetInputConfig() *BatchPredictionJob_InputConfig { return nil } -func (x *BatchPredictionJob) GetModelParameters() *structpb.Value { +func (x *BatchPredictionJob) GetModelParameters() *_struct.Value { if x != nil { return x.ModelParameters } @@ -347,28 +347,28 @@ func (x *BatchPredictionJob) GetCompletionStats() *CompletionStats { return nil } -func (x *BatchPredictionJob) GetCreateTime() *timestamppb.Timestamp { +func (x *BatchPredictionJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *BatchPredictionJob) GetStartTime() *timestamppb.Timestamp { +func (x *BatchPredictionJob) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *BatchPredictionJob) GetEndTime() *timestamppb.Timestamp { +func (x *BatchPredictionJob) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *BatchPredictionJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *BatchPredictionJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1047,7 +1047,7 @@ var file_google_cloud_aiplatform_v1beta1_batch_prediction_job_proto_goTypes = [] (*BatchPredictionJob_OutputInfo)(nil), // 3: google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo nil, // 4: google.cloud.aiplatform.v1beta1.BatchPredictionJob.LabelsEntry (*UnmanagedContainerModel)(nil), // 5: google.cloud.aiplatform.v1beta1.UnmanagedContainerModel - (*structpb.Value)(nil), // 6: google.protobuf.Value + (*_struct.Value)(nil), // 6: google.protobuf.Value (*BatchDedicatedResources)(nil), // 7: google.cloud.aiplatform.v1beta1.BatchDedicatedResources (*ManualBatchTuningParameters)(nil), // 8: google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters (*ExplanationSpec)(nil), // 9: google.cloud.aiplatform.v1beta1.ExplanationSpec @@ -1055,7 +1055,7 @@ var file_google_cloud_aiplatform_v1beta1_batch_prediction_job_proto_goTypes = [] (*status.Status)(nil), // 11: google.rpc.Status (*ResourcesConsumed)(nil), // 12: google.cloud.aiplatform.v1beta1.ResourcesConsumed (*CompletionStats)(nil), // 13: google.cloud.aiplatform.v1beta1.CompletionStats - (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 14: google.protobuf.Timestamp (*EncryptionSpec)(nil), // 15: google.cloud.aiplatform.v1beta1.EncryptionSpec (*ModelMonitoringConfig)(nil), // 16: google.cloud.aiplatform.v1beta1.ModelMonitoringConfig (*ModelMonitoringStatsAnomalies)(nil), // 17: google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies diff --git a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go index d5282f0d50b..5868947138d 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/completion_stats.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go index 16f338797e1..393d6356ead 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/context.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -61,9 +61,9 @@ type Context struct { // labels are excluded). Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this Context was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Context was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. A list of resource names of Contexts that are parents of this Context. // A Context may have at most 10 parent_contexts. ParentContexts []string `protobuf:"bytes,12,rep,name=parent_contexts,json=parentContexts,proto3" json:"parent_contexts,omitempty"` @@ -81,7 +81,7 @@ type Context struct { SchemaVersion string `protobuf:"bytes,14,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` // Properties of the Context. // The size of this field should not exceed 200KB. - Metadata *structpb.Struct `protobuf:"bytes,15,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Struct `protobuf:"bytes,15,opt,name=metadata,proto3" json:"metadata,omitempty"` // Description of the Context Description string `protobuf:"bytes,16,opt,name=description,proto3" json:"description,omitempty"` } @@ -146,14 +146,14 @@ func (x *Context) GetLabels() map[string]string { return nil } -func (x *Context) GetCreateTime() *timestamppb.Timestamp { +func (x *Context) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Context) GetUpdateTime() *timestamppb.Timestamp { +func (x *Context) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -181,7 +181,7 @@ func (x *Context) GetSchemaVersion() string { return "" } -func (x *Context) GetMetadata() *structpb.Struct { +func (x *Context) GetMetadata() *_struct.Struct { if x != nil { return x.Metadata } @@ -289,10 +289,10 @@ func file_google_cloud_aiplatform_v1beta1_context_proto_rawDescGZIP() []byte { var file_google_cloud_aiplatform_v1beta1_context_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_context_proto_goTypes = []interface{}{ - (*Context)(nil), // 0: google.cloud.aiplatform.v1beta1.Context - nil, // 1: google.cloud.aiplatform.v1beta1.Context.LabelsEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 3: google.protobuf.Struct + (*Context)(nil), // 0: google.cloud.aiplatform.v1beta1.Context + nil, // 1: google.cloud.aiplatform.v1beta1.Context.LabelsEntry + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 3: google.protobuf.Struct } var file_google_cloud_aiplatform_v1beta1_context_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.Context.labels:type_name -> google.cloud.aiplatform.v1beta1.Context.LabelsEntry diff --git a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go index 2b9e7ad62b9..cef03c7bf82 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/custom_job.proto package aiplatformpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -59,15 +59,15 @@ type CustomJob struct { // Output only. The detailed state of the job. State JobState `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.aiplatform.v1beta1.JobState" json:"state,omitempty"` // Output only. Time when the CustomJob was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the CustomJob for the first time entered the // `JOB_STATE_RUNNING` state. - StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Time when the CustomJob entered any of the following states: // `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Time when the CustomJob was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Only populated when job's state is `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. Error *status.Status `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` @@ -157,28 +157,28 @@ func (x *CustomJob) GetState() JobState { return JobState_JOB_STATE_UNSPECIFIED } -func (x *CustomJob) GetCreateTime() *timestamppb.Timestamp { +func (x *CustomJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *CustomJob) GetStartTime() *timestamppb.Timestamp { +func (x *CustomJob) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *CustomJob) GetEndTime() *timestamppb.Timestamp { +func (x *CustomJob) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *CustomJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *CustomJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -680,7 +680,7 @@ type Scheduling struct { unknownFields protoimpl.UnknownFields // The maximum job running time. The default is 7 days. - Timeout *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *duration.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` // Restarts the entire CustomJob if a worker gets restarted. // This feature can be used by distributed training jobs that are not // resilient to workers leaving and joining a job. @@ -719,7 +719,7 @@ func (*Scheduling) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_custom_job_proto_rawDescGZIP(), []int{5} } -func (x *Scheduling) GetTimeout() *durationpb.Duration { +func (x *Scheduling) GetTimeout() *duration.Duration { if x != nil { return x.Timeout } @@ -964,24 +964,24 @@ func file_google_cloud_aiplatform_v1beta1_custom_job_proto_rawDescGZIP() []byte var file_google_cloud_aiplatform_v1beta1_custom_job_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_google_cloud_aiplatform_v1beta1_custom_job_proto_goTypes = []interface{}{ - (*CustomJob)(nil), // 0: google.cloud.aiplatform.v1beta1.CustomJob - (*CustomJobSpec)(nil), // 1: google.cloud.aiplatform.v1beta1.CustomJobSpec - (*WorkerPoolSpec)(nil), // 2: google.cloud.aiplatform.v1beta1.WorkerPoolSpec - (*ContainerSpec)(nil), // 3: google.cloud.aiplatform.v1beta1.ContainerSpec - (*PythonPackageSpec)(nil), // 4: google.cloud.aiplatform.v1beta1.PythonPackageSpec - (*Scheduling)(nil), // 5: google.cloud.aiplatform.v1beta1.Scheduling - nil, // 6: google.cloud.aiplatform.v1beta1.CustomJob.LabelsEntry - nil, // 7: google.cloud.aiplatform.v1beta1.CustomJob.WebAccessUrisEntry - (JobState)(0), // 8: google.cloud.aiplatform.v1beta1.JobState - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp - (*status.Status)(nil), // 10: google.rpc.Status - (*EncryptionSpec)(nil), // 11: google.cloud.aiplatform.v1beta1.EncryptionSpec - (*GcsDestination)(nil), // 12: google.cloud.aiplatform.v1beta1.GcsDestination - (*MachineSpec)(nil), // 13: google.cloud.aiplatform.v1beta1.MachineSpec - (*NfsMount)(nil), // 14: google.cloud.aiplatform.v1beta1.NfsMount - (*DiskSpec)(nil), // 15: google.cloud.aiplatform.v1beta1.DiskSpec - (*EnvVar)(nil), // 16: google.cloud.aiplatform.v1beta1.EnvVar - (*durationpb.Duration)(nil), // 17: google.protobuf.Duration + (*CustomJob)(nil), // 0: google.cloud.aiplatform.v1beta1.CustomJob + (*CustomJobSpec)(nil), // 1: google.cloud.aiplatform.v1beta1.CustomJobSpec + (*WorkerPoolSpec)(nil), // 2: google.cloud.aiplatform.v1beta1.WorkerPoolSpec + (*ContainerSpec)(nil), // 3: google.cloud.aiplatform.v1beta1.ContainerSpec + (*PythonPackageSpec)(nil), // 4: google.cloud.aiplatform.v1beta1.PythonPackageSpec + (*Scheduling)(nil), // 5: google.cloud.aiplatform.v1beta1.Scheduling + nil, // 6: google.cloud.aiplatform.v1beta1.CustomJob.LabelsEntry + nil, // 7: google.cloud.aiplatform.v1beta1.CustomJob.WebAccessUrisEntry + (JobState)(0), // 8: google.cloud.aiplatform.v1beta1.JobState + (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp + (*status.Status)(nil), // 10: google.rpc.Status + (*EncryptionSpec)(nil), // 11: google.cloud.aiplatform.v1beta1.EncryptionSpec + (*GcsDestination)(nil), // 12: google.cloud.aiplatform.v1beta1.GcsDestination + (*MachineSpec)(nil), // 13: google.cloud.aiplatform.v1beta1.MachineSpec + (*NfsMount)(nil), // 14: google.cloud.aiplatform.v1beta1.NfsMount + (*DiskSpec)(nil), // 15: google.cloud.aiplatform.v1beta1.DiskSpec + (*EnvVar)(nil), // 16: google.cloud.aiplatform.v1beta1.EnvVar + (*duration.Duration)(nil), // 17: google.protobuf.Duration } var file_google_cloud_aiplatform_v1beta1_custom_job_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.CustomJob.job_spec:type_name -> google.cloud.aiplatform.v1beta1.CustomJobSpec diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go index d4864a59ef0..352b83c67d6 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/data_item.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -48,9 +48,9 @@ type DataItem struct { // Output only. The resource name of the DataItem. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this DataItem was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this DataItem was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. The labels with user-defined metadata to organize your DataItems. // // Label keys and values can be no longer than 64 characters @@ -66,7 +66,7 @@ type DataItem struct { // Required. The data that the DataItem represents (for example, an image or a text // snippet). The schema of the payload is stored in the parent Dataset's // [metadata schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri] dataItemSchemaUri field. - Payload *structpb.Value `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` + Payload *_struct.Value `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // Optional. Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"` @@ -111,14 +111,14 @@ func (x *DataItem) GetName() string { return "" } -func (x *DataItem) GetCreateTime() *timestamppb.Timestamp { +func (x *DataItem) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *DataItem) GetUpdateTime() *timestamppb.Timestamp { +func (x *DataItem) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -132,7 +132,7 @@ func (x *DataItem) GetLabels() map[string]string { return nil } -func (x *DataItem) GetPayload() *structpb.Value { +func (x *DataItem) GetPayload() *_struct.Value { if x != nil { return x.Payload } @@ -226,10 +226,10 @@ func file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescGZIP() []byte { var file_google_cloud_aiplatform_v1beta1_data_item_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_data_item_proto_goTypes = []interface{}{ - (*DataItem)(nil), // 0: google.cloud.aiplatform.v1beta1.DataItem - nil, // 1: google.cloud.aiplatform.v1beta1.DataItem.LabelsEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp - (*structpb.Value)(nil), // 3: google.protobuf.Value + (*DataItem)(nil), // 0: google.cloud.aiplatform.v1beta1.DataItem + nil, // 1: google.cloud.aiplatform.v1beta1.DataItem.LabelsEntry + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*_struct.Value)(nil), // 3: google.protobuf.Value } var file_google_cloud_aiplatform_v1beta1_data_item_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.DataItem.create_time:type_name -> google.protobuf.Timestamp diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go index 2df1e78361c..f57b2cf0a4d 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/data_labeling_job.proto package aiplatformpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -131,7 +131,7 @@ type DataLabelingJob struct { // /schema/datalabelingjob/inputs/ folder. InputsSchemaUri string `protobuf:"bytes,6,opt,name=inputs_schema_uri,json=inputsSchemaUri,proto3" json:"inputs_schema_uri,omitempty"` // Required. Input config parameters for the DataLabelingJob. - Inputs *structpb.Value `protobuf:"bytes,7,opt,name=inputs,proto3" json:"inputs,omitempty"` + Inputs *_struct.Value `protobuf:"bytes,7,opt,name=inputs,proto3" json:"inputs,omitempty"` // Output only. The detailed state of the job. State JobState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.aiplatform.v1beta1.JobState" json:"state,omitempty"` // Output only. Current labeling job progress percentage scaled in interval [0, 100], @@ -141,9 +141,9 @@ type DataLabelingJob struct { // date. CurrentSpend *money.Money `protobuf:"bytes,14,opt,name=current_spend,json=currentSpend,proto3" json:"current_spend,omitempty"` // Output only. Timestamp when this DataLabelingJob was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this DataLabelingJob was updated most recently. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. DataLabelingJob errors. It is only populated when job's state is // `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. Error *status.Status `protobuf:"bytes,22,opt,name=error,proto3" json:"error,omitempty"` @@ -255,7 +255,7 @@ func (x *DataLabelingJob) GetInputsSchemaUri() string { return "" } -func (x *DataLabelingJob) GetInputs() *structpb.Value { +func (x *DataLabelingJob) GetInputs() *_struct.Value { if x != nil { return x.Inputs } @@ -283,14 +283,14 @@ func (x *DataLabelingJob) GetCurrentSpend() *money.Money { return nil } -func (x *DataLabelingJob) GetCreateTime() *timestamppb.Timestamp { +func (x *DataLabelingJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *DataLabelingJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *DataLabelingJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -816,10 +816,10 @@ var file_google_cloud_aiplatform_v1beta1_data_labeling_job_proto_goTypes = []int (*TrainingConfig)(nil), // 4: google.cloud.aiplatform.v1beta1.TrainingConfig nil, // 5: google.cloud.aiplatform.v1beta1.DataLabelingJob.AnnotationLabelsEntry nil, // 6: google.cloud.aiplatform.v1beta1.DataLabelingJob.LabelsEntry - (*structpb.Value)(nil), // 7: google.protobuf.Value + (*_struct.Value)(nil), // 7: google.protobuf.Value (JobState)(0), // 8: google.cloud.aiplatform.v1beta1.JobState (*money.Money)(nil), // 9: google.type.Money - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp (*status.Status)(nil), // 11: google.rpc.Status (*EncryptionSpec)(nil), // 12: google.cloud.aiplatform.v1beta1.EncryptionSpec } diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go index e57f2d85685..082a04ff18b 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/dataset.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -59,11 +59,11 @@ type Dataset struct { // gs://google-cloud-aiplatform/schema/dataset/metadata/. MetadataSchemaUri string `protobuf:"bytes,3,opt,name=metadata_schema_uri,json=metadataSchemaUri,proto3" json:"metadata_schema_uri,omitempty"` // Required. Additional information about the Dataset. - Metadata *structpb.Value `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Value `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` // Output only. Timestamp when this Dataset was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Dataset was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"` @@ -147,21 +147,21 @@ func (x *Dataset) GetMetadataSchemaUri() string { return "" } -func (x *Dataset) GetMetadata() *structpb.Value { +func (x *Dataset) GetMetadata() *_struct.Value { if x != nil { return x.Metadata } return nil } -func (x *Dataset) GetCreateTime() *timestamppb.Timestamp { +func (x *Dataset) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Dataset) GetUpdateTime() *timestamppb.Timestamp { +func (x *Dataset) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -514,16 +514,16 @@ func file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescGZIP() []byte { var file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_google_cloud_aiplatform_v1beta1_dataset_proto_goTypes = []interface{}{ - (*Dataset)(nil), // 0: google.cloud.aiplatform.v1beta1.Dataset - (*ImportDataConfig)(nil), // 1: google.cloud.aiplatform.v1beta1.ImportDataConfig - (*ExportDataConfig)(nil), // 2: google.cloud.aiplatform.v1beta1.ExportDataConfig - nil, // 3: google.cloud.aiplatform.v1beta1.Dataset.LabelsEntry - nil, // 4: google.cloud.aiplatform.v1beta1.ImportDataConfig.DataItemLabelsEntry - (*structpb.Value)(nil), // 5: google.protobuf.Value - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*EncryptionSpec)(nil), // 7: google.cloud.aiplatform.v1beta1.EncryptionSpec - (*GcsSource)(nil), // 8: google.cloud.aiplatform.v1beta1.GcsSource - (*GcsDestination)(nil), // 9: google.cloud.aiplatform.v1beta1.GcsDestination + (*Dataset)(nil), // 0: google.cloud.aiplatform.v1beta1.Dataset + (*ImportDataConfig)(nil), // 1: google.cloud.aiplatform.v1beta1.ImportDataConfig + (*ExportDataConfig)(nil), // 2: google.cloud.aiplatform.v1beta1.ExportDataConfig + nil, // 3: google.cloud.aiplatform.v1beta1.Dataset.LabelsEntry + nil, // 4: google.cloud.aiplatform.v1beta1.ImportDataConfig.DataItemLabelsEntry + (*_struct.Value)(nil), // 5: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*EncryptionSpec)(nil), // 7: google.cloud.aiplatform.v1beta1.EncryptionSpec + (*GcsSource)(nil), // 8: google.cloud.aiplatform.v1beta1.GcsSource + (*GcsDestination)(nil), // 9: google.cloud.aiplatform.v1beta1.GcsDestination } var file_google_cloud_aiplatform_v1beta1_dataset_proto_depIdxs = []int32{ 5, // 0: google.cloud.aiplatform.v1beta1.Dataset.metadata:type_name -> google.protobuf.Value diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go index 3dc984c443f..42a85d5ad08 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/dataset_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -159,7 +159,7 @@ type GetDatasetRequest struct { // Required. The name of the Dataset resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *GetDatasetRequest) Reset() { @@ -201,7 +201,7 @@ func (x *GetDatasetRequest) GetName() string { return "" } -func (x *GetDatasetRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *GetDatasetRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -223,7 +223,7 @@ type UpdateDatasetRequest struct { // - `display_name` // - `description` // - `labels` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateDatasetRequest) Reset() { @@ -265,7 +265,7 @@ func (x *UpdateDatasetRequest) GetDataset() *Dataset { return nil } -func (x *UpdateDatasetRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDatasetRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -301,7 +301,7 @@ type ListDatasetsRequest struct { // The standard list page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // A comma-separated list of fields to order by, sorted in ascending order. // Use "desc" after a field name for descending. // Supported fields: @@ -372,7 +372,7 @@ func (x *ListDatasetsRequest) GetPageToken() string { return "" } -func (x *ListDatasetsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListDatasetsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -829,7 +829,7 @@ type ListDataItemsRequest struct { // The standard list page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // A comma-separated list of fields to order by, sorted in ascending order. // Use "desc" after a field name for descending. OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` @@ -895,7 +895,7 @@ func (x *ListDataItemsRequest) GetPageToken() string { return "" } -func (x *ListDataItemsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListDataItemsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -984,7 +984,7 @@ type ListSavedQueriesRequest struct { // The standard list page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // A comma-separated list of fields to order by, sorted in ascending order. // Use "desc" after a field name for descending. OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` @@ -1050,7 +1050,7 @@ func (x *ListSavedQueriesRequest) GetPageToken() string { return "" } -func (x *ListSavedQueriesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListSavedQueriesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1133,7 +1133,7 @@ type GetAnnotationSpecRequest struct { // `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *GetAnnotationSpecRequest) Reset() { @@ -1175,7 +1175,7 @@ func (x *GetAnnotationSpecRequest) GetName() string { return "" } -func (x *GetAnnotationSpecRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *GetAnnotationSpecRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1199,7 +1199,7 @@ type ListAnnotationsRequest struct { // The standard list page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // A comma-separated list of fields to order by, sorted in ascending order. // Use "desc" after a field name for descending. OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` @@ -1265,7 +1265,7 @@ func (x *ListAnnotationsRequest) GetPageToken() string { return "" } -func (x *ListAnnotationsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListAnnotationsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1787,7 +1787,7 @@ var file_google_cloud_aiplatform_v1beta1_dataset_service_proto_goTypes = []inter (*ListAnnotationsResponse)(nil), // 19: google.cloud.aiplatform.v1beta1.ListAnnotationsResponse (*Dataset)(nil), // 20: google.cloud.aiplatform.v1beta1.Dataset (*GenericOperationMetadata)(nil), // 21: google.cloud.aiplatform.v1beta1.GenericOperationMetadata - (*fieldmaskpb.FieldMask)(nil), // 22: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 22: google.protobuf.FieldMask (*ImportDataConfig)(nil), // 23: google.cloud.aiplatform.v1beta1.ImportDataConfig (*ExportDataConfig)(nil), // 24: google.cloud.aiplatform.v1beta1.ExportDataConfig (*DataItem)(nil), // 25: google.cloud.aiplatform.v1beta1.DataItem diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go index 4da37d551bf..7f40d074f3d 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/deployed_index_ref.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go index 337f623ddb1..3073da451b3 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/deployed_model_ref.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go index 6eb3ce0adb7..5d915b9630b 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -51,7 +51,7 @@ type DeploymentResourcePool struct { // Required. The underlying DedicatedResources that the DeploymentResourcePool uses. DedicatedResources *DedicatedResources `protobuf:"bytes,2,opt,name=dedicated_resources,json=dedicatedResources,proto3" json:"dedicated_resources,omitempty"` // Output only. Timestamp when this DeploymentResourcePool was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *DeploymentResourcePool) Reset() { @@ -100,7 +100,7 @@ func (x *DeploymentResourcePool) GetDedicatedResources() *DedicatedResources { return nil } -func (x *DeploymentResourcePool) GetCreateTime() *timestamppb.Timestamp { +func (x *DeploymentResourcePool) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -183,7 +183,7 @@ var file_google_cloud_aiplatform_v1beta1_deployment_resource_pool_proto_msgTypes var file_google_cloud_aiplatform_v1beta1_deployment_resource_pool_proto_goTypes = []interface{}{ (*DeploymentResourcePool)(nil), // 0: google.cloud.aiplatform.v1beta1.DeploymentResourcePool (*DedicatedResources)(nil), // 1: google.cloud.aiplatform.v1beta1.DedicatedResources - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_deployment_resource_pool_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.DeploymentResourcePool.dedicated_resources:type_name -> google.cloud.aiplatform.v1beta1.DedicatedResources diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go index 62e081c2011..e1315bdf7e8 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go index 928e0230df8..c9e1f08d32b 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/encryption_spec.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go index 1212dd938e4..a04b0bccdc7 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/endpoint.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -77,9 +77,9 @@ type Endpoint struct { // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this Endpoint was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Endpoint was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Customer-managed encryption key spec for an Endpoint. If set, this // Endpoint and all sub-resources of this Endpoint will be secured by // this key. @@ -198,14 +198,14 @@ func (x *Endpoint) GetLabels() map[string]string { return nil } -func (x *Endpoint) GetCreateTime() *timestamppb.Timestamp { +func (x *Endpoint) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Endpoint) GetUpdateTime() *timestamppb.Timestamp { +func (x *Endpoint) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -283,7 +283,7 @@ type DeployedModel struct { // the Model's display_name is used. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when the DeployedModel was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Explanation configuration for this DeployedModel. // // When deploying a Model using [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel], this value @@ -408,7 +408,7 @@ func (x *DeployedModel) GetDisplayName() string { return "" } -func (x *DeployedModel) GetCreateTime() *timestamppb.Timestamp { +func (x *DeployedModel) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -860,14 +860,14 @@ var file_google_cloud_aiplatform_v1beta1_endpoint_proto_goTypes = []interface{}{ (*DeployedModel)(nil), // 1: google.cloud.aiplatform.v1beta1.DeployedModel (*PrivateEndpoints)(nil), // 2: google.cloud.aiplatform.v1beta1.PrivateEndpoints (*PredictRequestResponseLoggingConfig)(nil), // 3: google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig - nil, // 4: google.cloud.aiplatform.v1beta1.Endpoint.TrafficSplitEntry - nil, // 5: google.cloud.aiplatform.v1beta1.Endpoint.LabelsEntry - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*EncryptionSpec)(nil), // 7: google.cloud.aiplatform.v1beta1.EncryptionSpec - (*DedicatedResources)(nil), // 8: google.cloud.aiplatform.v1beta1.DedicatedResources - (*AutomaticResources)(nil), // 9: google.cloud.aiplatform.v1beta1.AutomaticResources - (*ExplanationSpec)(nil), // 10: google.cloud.aiplatform.v1beta1.ExplanationSpec - (*BigQueryDestination)(nil), // 11: google.cloud.aiplatform.v1beta1.BigQueryDestination + nil, // 4: google.cloud.aiplatform.v1beta1.Endpoint.TrafficSplitEntry + nil, // 5: google.cloud.aiplatform.v1beta1.Endpoint.LabelsEntry + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*EncryptionSpec)(nil), // 7: google.cloud.aiplatform.v1beta1.EncryptionSpec + (*DedicatedResources)(nil), // 8: google.cloud.aiplatform.v1beta1.DedicatedResources + (*AutomaticResources)(nil), // 9: google.cloud.aiplatform.v1beta1.AutomaticResources + (*ExplanationSpec)(nil), // 10: google.cloud.aiplatform.v1beta1.ExplanationSpec + (*BigQueryDestination)(nil), // 11: google.cloud.aiplatform.v1beta1.BigQueryDestination } var file_google_cloud_aiplatform_v1beta1_endpoint_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.Endpoint.deployed_models:type_name -> google.cloud.aiplatform.v1beta1.DeployedModel diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go index c8f9697f844..5691a9f6186 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/endpoint_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -250,7 +250,7 @@ type ListEndpointsRequest struct { // [EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListEndpointsRequest) Reset() { @@ -313,7 +313,7 @@ func (x *ListEndpointsRequest) GetPageToken() string { return "" } -func (x *ListEndpointsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListEndpointsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -388,7 +388,7 @@ type UpdateEndpointRequest struct { // Required. The Endpoint which replaces the resource on the server. Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Required. The update mask applies to the resource. See [google.protobuf.FieldMask][google.protobuf.FieldMask]. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEndpointRequest) Reset() { @@ -430,7 +430,7 @@ func (x *UpdateEndpointRequest) GetEndpoint() *Endpoint { return nil } -func (x *UpdateEndpointRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEndpointRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1151,7 +1151,7 @@ var file_google_cloud_aiplatform_v1beta1_endpoint_service_proto_goTypes = []inte nil, // 14: google.cloud.aiplatform.v1beta1.UndeployModelRequest.TrafficSplitEntry (*Endpoint)(nil), // 15: google.cloud.aiplatform.v1beta1.Endpoint (*GenericOperationMetadata)(nil), // 16: google.cloud.aiplatform.v1beta1.GenericOperationMetadata - (*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 17: google.protobuf.FieldMask (*DeployedModel)(nil), // 18: google.cloud.aiplatform.v1beta1.DeployedModel (*longrunning.Operation)(nil), // 19: google.longrunning.Operation } diff --git a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go index bbcab8779f6..75ca9d7364e 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/entity_type.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -57,9 +57,9 @@ type EntityType struct { // Optional. Description of the EntityType. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. Timestamp when this EntityType was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this EntityType was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. The labels with user-defined metadata to organize your EntityTypes. // // Label keys and values can be no longer than 64 characters @@ -132,14 +132,14 @@ func (x *EntityType) GetDescription() string { return "" } -func (x *EntityType) GetCreateTime() *timestamppb.Timestamp { +func (x *EntityType) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *EntityType) GetUpdateTime() *timestamppb.Timestamp { +func (x *EntityType) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -259,7 +259,7 @@ var file_google_cloud_aiplatform_v1beta1_entity_type_proto_msgTypes = make([]pro var file_google_cloud_aiplatform_v1beta1_entity_type_proto_goTypes = []interface{}{ (*EntityType)(nil), // 0: google.cloud.aiplatform.v1beta1.EntityType nil, // 1: google.cloud.aiplatform.v1beta1.EntityType.LabelsEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp (*FeaturestoreMonitoringConfig)(nil), // 3: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig } var file_google_cloud_aiplatform_v1beta1_entity_type_proto_depIdxs = []int32{ diff --git a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go index 440a117f66a..6fff8f836da 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/env_var.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go index 4354c94beac..5bc9e1c8a0d 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/event.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -102,7 +102,7 @@ type Event struct { // Output only. The relative resource name of the Execution in the Event. Execution string `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` // Output only. Time the Event occurred. - EventTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + EventTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // Required. The type of the Event. Type Event_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.aiplatform.v1beta1.Event_Type" json:"type,omitempty"` // The labels with user-defined metadata to annotate Events. @@ -165,7 +165,7 @@ func (x *Event) GetExecution() string { return "" } -func (x *Event) GetEventTime() *timestamppb.Timestamp { +func (x *Event) GetEventTime() *timestamp.Timestamp { if x != nil { return x.EventTime } @@ -262,10 +262,10 @@ func file_google_cloud_aiplatform_v1beta1_event_proto_rawDescGZIP() []byte { var file_google_cloud_aiplatform_v1beta1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_aiplatform_v1beta1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_event_proto_goTypes = []interface{}{ - (Event_Type)(0), // 0: google.cloud.aiplatform.v1beta1.Event.Type - (*Event)(nil), // 1: google.cloud.aiplatform.v1beta1.Event - nil, // 2: google.cloud.aiplatform.v1beta1.Event.LabelsEntry - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (Event_Type)(0), // 0: google.cloud.aiplatform.v1beta1.Event.Type + (*Event)(nil), // 1: google.cloud.aiplatform.v1beta1.Event + nil, // 2: google.cloud.aiplatform.v1beta1.Event.LabelsEntry + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_event_proto_depIdxs = []int32{ 3, // 0: google.cloud.aiplatform.v1beta1.Event.event_time:type_name -> google.protobuf.Timestamp diff --git a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go index 0002012ef90..f742c874d72 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/execution.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -135,9 +135,9 @@ type Execution struct { // labels are excluded). Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this Execution was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Execution was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The title of the schema describing the metadata. // // Schema title and version is expected to be registered in earlier Create @@ -152,7 +152,7 @@ type Execution struct { SchemaVersion string `protobuf:"bytes,14,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` // Properties of the Execution. // The size of this field should not exceed 200KB. - Metadata *structpb.Struct `protobuf:"bytes,15,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Struct `protobuf:"bytes,15,opt,name=metadata,proto3" json:"metadata,omitempty"` // Description of the Execution Description string `protobuf:"bytes,16,opt,name=description,proto3" json:"description,omitempty"` } @@ -224,14 +224,14 @@ func (x *Execution) GetLabels() map[string]string { return nil } -func (x *Execution) GetCreateTime() *timestamppb.Timestamp { +func (x *Execution) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Execution) GetUpdateTime() *timestamppb.Timestamp { +func (x *Execution) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -252,7 +252,7 @@ func (x *Execution) GetSchemaVersion() string { return "" } -func (x *Execution) GetMetadata() *structpb.Struct { +func (x *Execution) GetMetadata() *_struct.Struct { if x != nil { return x.Metadata } @@ -367,11 +367,11 @@ func file_google_cloud_aiplatform_v1beta1_execution_proto_rawDescGZIP() []byte { var file_google_cloud_aiplatform_v1beta1_execution_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_aiplatform_v1beta1_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_execution_proto_goTypes = []interface{}{ - (Execution_State)(0), // 0: google.cloud.aiplatform.v1beta1.Execution.State - (*Execution)(nil), // 1: google.cloud.aiplatform.v1beta1.Execution - nil, // 2: google.cloud.aiplatform.v1beta1.Execution.LabelsEntry - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 4: google.protobuf.Struct + (Execution_State)(0), // 0: google.cloud.aiplatform.v1beta1.Execution.State + (*Execution)(nil), // 1: google.cloud.aiplatform.v1beta1.Execution + nil, // 2: google.cloud.aiplatform.v1beta1.Execution.LabelsEntry + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 4: google.protobuf.Struct } var file_google_cloud_aiplatform_v1beta1_execution_proto_depIdxs = []int32{ 0, // 0: google.cloud.aiplatform.v1beta1.Execution.state:type_name -> google.cloud.aiplatform.v1beta1.Execution.State diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go index 40500590364..f9252369e96 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/explanation.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -387,7 +387,7 @@ type Attribution struct { // pointed to by the [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] field of the // [Endpoint.deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models] object, points to the schema file that // describes the features and their attribution values (if it is populated). - FeatureAttributions *structpb.Value `protobuf:"bytes,3,opt,name=feature_attributions,json=featureAttributions,proto3" json:"feature_attributions,omitempty"` + FeatureAttributions *_struct.Value `protobuf:"bytes,3,opt,name=feature_attributions,json=featureAttributions,proto3" json:"feature_attributions,omitempty"` // Output only. The index that locates the explained prediction output. // // If the prediction output is a scalar value, output_index is not populated. @@ -473,7 +473,7 @@ func (x *Attribution) GetInstanceOutputValue() float64 { return 0 } -func (x *Attribution) GetFeatureAttributions() *structpb.Value { +func (x *Attribution) GetFeatureAttributions() *_struct.Value { if x != nil { return x.FeatureAttributions } @@ -653,7 +653,7 @@ type ExplanationParameters struct { // // Only applicable to Models that predict multiple outputs (e,g, multi-class // Models that predict multiple classes). - OutputIndices *structpb.ListValue `protobuf:"bytes,5,opt,name=output_indices,json=outputIndices,proto3" json:"output_indices,omitempty"` + OutputIndices *_struct.ListValue `protobuf:"bytes,5,opt,name=output_indices,json=outputIndices,proto3" json:"output_indices,omitempty"` } func (x *ExplanationParameters) Reset() { @@ -730,7 +730,7 @@ func (x *ExplanationParameters) GetTopK() int32 { return 0 } -func (x *ExplanationParameters) GetOutputIndices() *structpb.ListValue { +func (x *ExplanationParameters) GetOutputIndices() *_struct.ListValue { if x != nil { return x.OutputIndices } @@ -1293,7 +1293,7 @@ func (m *Examples) GetConfig() isExamples_Config { return nil } -func (x *Examples) GetNearestNeighborSearchConfig() *structpb.Value { +func (x *Examples) GetNearestNeighborSearchConfig() *_struct.Value { if x, ok := x.GetConfig().(*Examples_NearestNeighborSearchConfig); ok { return x.NearestNeighborSearchConfig } @@ -1328,7 +1328,7 @@ type isExamples_Config interface { type Examples_NearestNeighborSearchConfig struct { // The configuration for the generated index, the semantics are the same as // [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match NearestNeighborSearchConfig. - NearestNeighborSearchConfig *structpb.Value `protobuf:"bytes,2,opt,name=nearest_neighbor_search_config,json=nearestNeighborSearchConfig,proto3,oneof"` + NearestNeighborSearchConfig *_struct.Value `protobuf:"bytes,2,opt,name=nearest_neighbor_search_config,json=nearestNeighborSearchConfig,proto3,oneof"` } type Examples_Presets struct { @@ -1751,7 +1751,7 @@ type ExplanationMetadataOverride_InputMetadataOverride struct { // [ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata] // object of the corresponding feature's input metadata. If it's not // specified, the original baselines are not overridden. - InputBaselines []*structpb.Value `protobuf:"bytes,1,rep,name=input_baselines,json=inputBaselines,proto3" json:"input_baselines,omitempty"` + InputBaselines []*_struct.Value `protobuf:"bytes,1,rep,name=input_baselines,json=inputBaselines,proto3" json:"input_baselines,omitempty"` } func (x *ExplanationMetadataOverride_InputMetadataOverride) Reset() { @@ -1786,7 +1786,7 @@ func (*ExplanationMetadataOverride_InputMetadataOverride) Descriptor() ([]byte, return file_google_cloud_aiplatform_v1beta1_explanation_proto_rawDescGZIP(), []int{15, 0} } -func (x *ExplanationMetadataOverride_InputMetadataOverride) GetInputBaselines() []*structpb.Value { +func (x *ExplanationMetadataOverride_InputMetadataOverride) GetInputBaselines() []*_struct.Value { if x != nil { return x.InputBaselines } @@ -2144,9 +2144,9 @@ var file_google_cloud_aiplatform_v1beta1_explanation_proto_goTypes = []interface (*FeatureNoiseSigma_NoiseSigmaForFeature)(nil), // 21: google.cloud.aiplatform.v1beta1.FeatureNoiseSigma.NoiseSigmaForFeature (*ExplanationMetadataOverride_InputMetadataOverride)(nil), // 22: google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride.InputMetadataOverride nil, // 23: google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride.InputsEntry - (*structpb.Value)(nil), // 24: google.protobuf.Value + (*_struct.Value)(nil), // 24: google.protobuf.Value (*ExplanationMetadata)(nil), // 25: google.cloud.aiplatform.v1beta1.ExplanationMetadata - (*structpb.ListValue)(nil), // 26: google.protobuf.ListValue + (*_struct.ListValue)(nil), // 26: google.protobuf.ListValue (*GcsSource)(nil), // 27: google.cloud.aiplatform.v1beta1.GcsSource } var file_google_cloud_aiplatform_v1beta1_explanation_proto_depIdxs = []int32{ diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go index 9bca4595275..109bc2e92d5 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/explanation_metadata.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -524,7 +524,7 @@ type ExplanationMetadata_InputMetadata struct { // [Model's][google.cloud.aiplatform.v1beta1.DeployedModel.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri]. - InputBaselines []*structpb.Value `protobuf:"bytes,1,rep,name=input_baselines,json=inputBaselines,proto3" json:"input_baselines,omitempty"` + InputBaselines []*_struct.Value `protobuf:"bytes,1,rep,name=input_baselines,json=inputBaselines,proto3" json:"input_baselines,omitempty"` // Name of the input tensor for this feature. Required and is only // applicable to Vertex AI-provided images for Tensorflow. InputTensorName string `protobuf:"bytes,2,opt,name=input_tensor_name,json=inputTensorName,proto3" json:"input_tensor_name,omitempty"` @@ -564,7 +564,7 @@ type ExplanationMetadata_InputMetadata struct { // The shape of each baseline should match the shape of the encoded tensor. // If a scalar is provided, Vertex AI broadcasts to the same shape as the // encoded tensor. - EncodedBaselines []*structpb.Value `protobuf:"bytes,10,rep,name=encoded_baselines,json=encodedBaselines,proto3" json:"encoded_baselines,omitempty"` + EncodedBaselines []*_struct.Value `protobuf:"bytes,10,rep,name=encoded_baselines,json=encodedBaselines,proto3" json:"encoded_baselines,omitempty"` // Visualization configurations for image explanation. Visualization *ExplanationMetadata_InputMetadata_Visualization `protobuf:"bytes,11,opt,name=visualization,proto3" json:"visualization,omitempty"` // Name of the group that the input belongs to. Features with the same group @@ -607,7 +607,7 @@ func (*ExplanationMetadata_InputMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_explanation_metadata_proto_rawDescGZIP(), []int{0, 0} } -func (x *ExplanationMetadata_InputMetadata) GetInputBaselines() []*structpb.Value { +func (x *ExplanationMetadata_InputMetadata) GetInputBaselines() []*_struct.Value { if x != nil { return x.InputBaselines } @@ -670,7 +670,7 @@ func (x *ExplanationMetadata_InputMetadata) GetEncodedTensorName() string { return "" } -func (x *ExplanationMetadata_InputMetadata) GetEncodedBaselines() []*structpb.Value { +func (x *ExplanationMetadata_InputMetadata) GetEncodedBaselines() []*_struct.Value { if x != nil { return x.EncodedBaselines } @@ -752,7 +752,7 @@ func (m *ExplanationMetadata_OutputMetadata) GetDisplayNameMapping() isExplanati return nil } -func (x *ExplanationMetadata_OutputMetadata) GetIndexDisplayNameMapping() *structpb.Value { +func (x *ExplanationMetadata_OutputMetadata) GetIndexDisplayNameMapping() *_struct.Value { if x, ok := x.GetDisplayNameMapping().(*ExplanationMetadata_OutputMetadata_IndexDisplayNameMapping); ok { return x.IndexDisplayNameMapping } @@ -790,7 +790,7 @@ type ExplanationMetadata_OutputMetadata_IndexDisplayNameMapping struct { // number of dimensions must match that of the outputs to be explained. // The [Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name] is populated by locating in the // mapping with [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index]. - IndexDisplayNameMapping *structpb.Value `protobuf:"bytes,1,opt,name=index_display_name_mapping,json=indexDisplayNameMapping,proto3,oneof"` + IndexDisplayNameMapping *_struct.Value `protobuf:"bytes,1,opt,name=index_display_name_mapping,json=indexDisplayNameMapping,proto3,oneof"` } type ExplanationMetadata_OutputMetadata_DisplayNameMappingKey struct { @@ -1252,7 +1252,7 @@ var file_google_cloud_aiplatform_v1beta1_explanation_metadata_proto_goTypes = [] nil, // 9: google.cloud.aiplatform.v1beta1.ExplanationMetadata.OutputsEntry (*ExplanationMetadata_InputMetadata_FeatureValueDomain)(nil), // 10: google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.FeatureValueDomain (*ExplanationMetadata_InputMetadata_Visualization)(nil), // 11: google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.Visualization - (*structpb.Value)(nil), // 12: google.protobuf.Value + (*_struct.Value)(nil), // 12: google.protobuf.Value } var file_google_cloud_aiplatform_v1beta1_explanation_metadata_proto_depIdxs = []int32{ 8, // 0: google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs:type_name -> google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputsEntry diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go index 400d4283667..3a000fa8302 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/feature.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -196,9 +196,9 @@ type Feature struct { // Required. Immutable. Type of Feature value. ValueType Feature_ValueType `protobuf:"varint,3,opt,name=value_type,json=valueType,proto3,enum=google.cloud.aiplatform.v1beta1.Feature_ValueType" json:"value_type,omitempty"` // Output only. Timestamp when this EntityType was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this EntityType was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. The labels with user-defined metadata to organize your Features. // // Label keys and values can be no longer than 64 characters @@ -299,14 +299,14 @@ func (x *Feature) GetValueType() Feature_ValueType { return Feature_VALUE_TYPE_UNSPECIFIED } -func (x *Feature) GetCreateTime() *timestamppb.Timestamp { +func (x *Feature) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Feature) GetUpdateTime() *timestamppb.Timestamp { +func (x *Feature) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -572,7 +572,7 @@ var file_google_cloud_aiplatform_v1beta1_feature_proto_goTypes = []interface{}{ (*Feature)(nil), // 2: google.cloud.aiplatform.v1beta1.Feature (*Feature_MonitoringStatsAnomaly)(nil), // 3: google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly nil, // 4: google.cloud.aiplatform.v1beta1.Feature.LabelsEntry - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp (*FeaturestoreMonitoringConfig)(nil), // 6: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig (*FeatureStatsAnomaly)(nil), // 7: google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly } diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go index fd321b2c684..2765d05ca1e 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto package aiplatformpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -85,12 +85,12 @@ type FeatureStatsAnomaly struct { // For objectives where time window doesn't make sense (e.g. Featurestore // Snapshot Monitoring), start_time is only used to indicate the monitoring // intervals, so it always equals to (end_time - monitoring_interval). - StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The end timestamp of window where stats were generated. // For objectives where time window doesn't make sense (e.g. Featurestore // Snapshot Monitoring), end_time indicates the timestamp of the data used to // generate stats (e.g. timestamp we take snapshots for feature values). - EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *FeatureStatsAnomaly) Reset() { @@ -160,14 +160,14 @@ func (x *FeatureStatsAnomaly) GetAnomalyDetectionThreshold() float64 { return 0 } -func (x *FeatureStatsAnomaly) GetStartTime() *timestamppb.Timestamp { +func (x *FeatureStatsAnomaly) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *FeatureStatsAnomaly) GetEndTime() *timestamppb.Timestamp { +func (x *FeatureStatsAnomaly) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -239,8 +239,8 @@ func file_google_cloud_aiplatform_v1beta1_feature_monitoring_stats_proto_rawDesc var file_google_cloud_aiplatform_v1beta1_feature_monitoring_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_aiplatform_v1beta1_feature_monitoring_stats_proto_goTypes = []interface{}{ - (*FeatureStatsAnomaly)(nil), // 0: google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*FeatureStatsAnomaly)(nil), // 0: google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly + (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_feature_monitoring_stats_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time:type_name -> google.protobuf.Timestamp diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go index ff3421487a7..d1f5c9c2cb0 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/feature_selector.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go index 8c57315c664..e0ec2777767 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/featurestore.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -113,9 +113,9 @@ type Featurestore struct { // `projects/{project}/locations/{location}/featurestores/{featurestore}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this Featurestore was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Featurestore was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` @@ -180,14 +180,14 @@ func (x *Featurestore) GetName() string { return "" } -func (x *Featurestore) GetCreateTime() *timestamppb.Timestamp { +func (x *Featurestore) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Featurestore) GetUpdateTime() *timestamppb.Timestamp { +func (x *Featurestore) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -478,7 +478,7 @@ var file_google_cloud_aiplatform_v1beta1_featurestore_proto_goTypes = []interfac (*Featurestore_OnlineServingConfig)(nil), // 2: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig nil, // 3: google.cloud.aiplatform.v1beta1.Featurestore.LabelsEntry (*Featurestore_OnlineServingConfig_Scaling)(nil), // 4: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp (*EncryptionSpec)(nil), // 6: google.cloud.aiplatform.v1beta1.EncryptionSpec } var file_google_cloud_aiplatform_v1beta1_featurestore_proto_depIdxs = []int32{ diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go index d5f20841bdd..c296e383c53 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto package aiplatformpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -273,7 +273,7 @@ type FeaturestoreMonitoringConfig_SnapshotAnalysis struct { // interval. The value is rolled up to full day. // // Deprecated: Do not use. - MonitoringInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=monitoring_interval,json=monitoringInterval,proto3" json:"monitoring_interval,omitempty"` + MonitoringInterval *duration.Duration `protobuf:"bytes,2,opt,name=monitoring_interval,json=monitoringInterval,proto3" json:"monitoring_interval,omitempty"` // Configuration of the snapshot analysis based monitoring pipeline // running interval. The value indicates number of days. // If both @@ -329,7 +329,7 @@ func (x *FeaturestoreMonitoringConfig_SnapshotAnalysis) GetDisabled() bool { } // Deprecated: Do not use. -func (x *FeaturestoreMonitoringConfig_SnapshotAnalysis) GetMonitoringInterval() *durationpb.Duration { +func (x *FeaturestoreMonitoringConfig_SnapshotAnalysis) GetMonitoringInterval() *duration.Duration { if x != nil { return x.MonitoringInterval } @@ -624,7 +624,7 @@ var file_google_cloud_aiplatform_v1beta1_featurestore_monitoring_proto_goTypes = (*FeaturestoreMonitoringConfig_SnapshotAnalysis)(nil), // 3: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis (*FeaturestoreMonitoringConfig_ImportFeaturesAnalysis)(nil), // 4: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis (*FeaturestoreMonitoringConfig_ThresholdConfig)(nil), // 5: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig - (*durationpb.Duration)(nil), // 6: google.protobuf.Duration + (*duration.Duration)(nil), // 6: google.protobuf.Duration } var file_google_cloud_aiplatform_v1beta1_featurestore_monitoring_proto_depIdxs = []int32{ 3, // 0: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.snapshot_analysis:type_name -> google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go index 1e5298952ba..dbc824af62f 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto package aiplatformpb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -938,7 +938,7 @@ type FeatureValue_Metadata struct { // store. For streaming ingestion, the time, aligned by days, must be no // older than five years (1825 days) and no later than one year (366 days) // in the future. - GenerateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=generate_time,json=generateTime,proto3" json:"generate_time,omitempty"` + GenerateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=generate_time,json=generateTime,proto3" json:"generate_time,omitempty"` } func (x *FeatureValue_Metadata) Reset() { @@ -973,7 +973,7 @@ func (*FeatureValue_Metadata) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_featurestore_online_service_proto_rawDescGZIP(), []int{6, 0} } -func (x *FeatureValue_Metadata) GetGenerateTime() *timestamppb.Timestamp { +func (x *FeatureValue_Metadata) GetGenerateTime() *timestamp.Timestamp { if x != nil { return x.GenerateTime } @@ -1280,7 +1280,7 @@ var file_google_cloud_aiplatform_v1beta1_featurestore_online_service_proto_goTyp (*DoubleArray)(nil), // 16: google.cloud.aiplatform.v1beta1.DoubleArray (*Int64Array)(nil), // 17: google.cloud.aiplatform.v1beta1.Int64Array (*StringArray)(nil), // 18: google.cloud.aiplatform.v1beta1.StringArray - (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 19: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_featurestore_online_service_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.payloads:type_name -> google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go index 0bc539f7be1..d479337ff2c 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/featurestore_service.proto package aiplatformpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" interval "google.golang.org/genproto/googleapis/type/interval" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -224,7 +224,7 @@ type ListFeaturestoresRequest struct { // - `online_serving_config.fixed_node_count` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListFeaturestoresRequest) Reset() { @@ -294,7 +294,7 @@ func (x *ListFeaturestoresRequest) GetOrderBy() string { return "" } -func (x *ListFeaturestoresRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListFeaturestoresRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -385,7 +385,7 @@ type UpdateFeaturestoreRequest struct { // - `labels` // - `online_serving_config.fixed_node_count` // - `online_serving_config.scaling` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateFeaturestoreRequest) Reset() { @@ -427,7 +427,7 @@ func (x *UpdateFeaturestoreRequest) GetFeaturestore() *Featurestore { return nil } -func (x *UpdateFeaturestoreRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateFeaturestoreRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -619,7 +619,7 @@ func (x *ImportFeatureValuesRequest) GetFeatureTimeField() string { return "" } -func (x *ImportFeatureValuesRequest) GetFeatureTime() *timestamppb.Timestamp { +func (x *ImportFeatureValuesRequest) GetFeatureTime() *timestamp.Timestamp { if x, ok := x.GetFeatureTimeSource().(*ImportFeatureValuesRequest_FeatureTime); ok { return x.FeatureTime } @@ -703,7 +703,7 @@ type ImportFeatureValuesRequest_FeatureTimeField struct { type ImportFeatureValuesRequest_FeatureTime struct { // Single Feature timestamp for all entities being imported. The // timestamp must not have higher than millisecond precision. - FeatureTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=feature_time,json=featureTime,proto3,oneof"` + FeatureTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=feature_time,json=featureTime,proto3,oneof"` } func (*ImportFeatureValuesRequest_FeatureTimeField) isImportFeatureValuesRequest_FeatureTimeSource() { @@ -1501,7 +1501,7 @@ type ListEntityTypesRequest struct { // - `update_time` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListEntityTypesRequest) Reset() { @@ -1571,7 +1571,7 @@ func (x *ListEntityTypesRequest) GetOrderBy() string { return "" } -func (x *ListEntityTypesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListEntityTypesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1668,7 +1668,7 @@ type UpdateEntityTypeRequest struct { // - `monitoring_config.import_features_analysis.anomaly_detection_baseline` // - `monitoring_config.numerical_threshold_config.value` // - `monitoring_config.categorical_threshold_config.value` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEntityTypeRequest) Reset() { @@ -1710,7 +1710,7 @@ func (x *UpdateEntityTypeRequest) GetEntityType() *EntityType { return nil } -func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2070,7 +2070,7 @@ type ListFeaturesRequest struct { // - `update_time` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // If set, return the most recent [ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count] // of stats for each Feature in response. Valid value is [0, 10]. If number of // stats exists < [ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count], return all @@ -2145,7 +2145,7 @@ func (x *ListFeaturesRequest) GetOrderBy() string { return "" } -func (x *ListFeaturesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListFeaturesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -2455,7 +2455,7 @@ type UpdateFeatureRequest struct { // - `description` // - `labels` // - `disable_monitoring` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateFeatureRequest) Reset() { @@ -2497,7 +2497,7 @@ func (x *UpdateFeatureRequest) GetFeature() *Feature { return nil } -func (x *UpdateFeatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateFeatureRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3447,11 +3447,11 @@ type ExportFeatureValuesRequest_SnapshotExport struct { // Exports Feature values as of this timestamp. If not set, // retrieve values as of now. Timestamp, if present, must not have higher // than millisecond precision. - SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` + SnapshotTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` // Excludes Feature values with feature generation timestamp before this // timestamp. If not set, retrieve oldest values kept in Feature Store. // Timestamp, if present, must not have higher than millisecond precision. - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` } func (x *ExportFeatureValuesRequest_SnapshotExport) Reset() { @@ -3486,14 +3486,14 @@ func (*ExportFeatureValuesRequest_SnapshotExport) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_featurestore_service_proto_rawDescGZIP(), []int{9, 0} } -func (x *ExportFeatureValuesRequest_SnapshotExport) GetSnapshotTime() *timestamppb.Timestamp { +func (x *ExportFeatureValuesRequest_SnapshotExport) GetSnapshotTime() *timestamp.Timestamp { if x != nil { return x.SnapshotTime } return nil } -func (x *ExportFeatureValuesRequest_SnapshotExport) GetStartTime() *timestamppb.Timestamp { +func (x *ExportFeatureValuesRequest_SnapshotExport) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -3510,11 +3510,11 @@ type ExportFeatureValuesRequest_FullExport struct { // Excludes Feature values with feature generation timestamp before this // timestamp. If not set, retrieve oldest values kept in Feature Store. // Timestamp, if present, must not have higher than millisecond precision. - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Exports Feature values as of this timestamp. If not set, // retrieve values as of now. Timestamp, if present, must not have higher // than millisecond precision. - EndTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *ExportFeatureValuesRequest_FullExport) Reset() { @@ -3549,14 +3549,14 @@ func (*ExportFeatureValuesRequest_FullExport) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_featurestore_service_proto_rawDescGZIP(), []int{9, 1} } -func (x *ExportFeatureValuesRequest_FullExport) GetStartTime() *timestamppb.Timestamp { +func (x *ExportFeatureValuesRequest_FullExport) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *ExportFeatureValuesRequest_FullExport) GetEndTime() *timestamppb.Timestamp { +func (x *ExportFeatureValuesRequest_FullExport) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -4769,11 +4769,11 @@ var file_google_cloud_aiplatform_v1beta1_featurestore_service_proto_goTypes = [] (*DeleteFeatureValuesRequest_SelectEntity)(nil), // 47: google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity (*DeleteFeatureValuesRequest_SelectTimeRangeAndFeature)(nil), // 48: google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature (*Featurestore)(nil), // 49: google.cloud.aiplatform.v1beta1.Featurestore - (*fieldmaskpb.FieldMask)(nil), // 50: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 50: google.protobuf.FieldMask (*AvroSource)(nil), // 51: google.cloud.aiplatform.v1beta1.AvroSource (*BigQuerySource)(nil), // 52: google.cloud.aiplatform.v1beta1.BigQuerySource (*CsvSource)(nil), // 53: google.cloud.aiplatform.v1beta1.CsvSource - (*timestamppb.Timestamp)(nil), // 54: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 54: google.protobuf.Timestamp (*FeatureSelector)(nil), // 55: google.cloud.aiplatform.v1beta1.FeatureSelector (*BigQueryDestination)(nil), // 56: google.cloud.aiplatform.v1beta1.BigQueryDestination (*TFRecordDestination)(nil), // 57: google.cloud.aiplatform.v1beta1.TFRecordDestination diff --git a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go index 84642acb9b7..7d06e1f2483 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -72,15 +72,15 @@ type HyperparameterTuningJob struct { // Output only. The detailed state of the job. State JobState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.aiplatform.v1beta1.JobState" json:"state,omitempty"` // Output only. Time when the HyperparameterTuningJob was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the HyperparameterTuningJob for the first time entered the // `JOB_STATE_RUNNING` state. - StartTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Time when the HyperparameterTuningJob entered any of the following states: // `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - EndTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Time when the HyperparameterTuningJob was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Only populated when job's state is JOB_STATE_FAILED or // JOB_STATE_CANCELLED. Error *status.Status `protobuf:"bytes,15,opt,name=error,proto3" json:"error,omitempty"` @@ -193,28 +193,28 @@ func (x *HyperparameterTuningJob) GetState() JobState { return JobState_JOB_STATE_UNSPECIFIED } -func (x *HyperparameterTuningJob) GetCreateTime() *timestamppb.Timestamp { +func (x *HyperparameterTuningJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *HyperparameterTuningJob) GetStartTime() *timestamppb.Timestamp { +func (x *HyperparameterTuningJob) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *HyperparameterTuningJob) GetEndTime() *timestamppb.Timestamp { +func (x *HyperparameterTuningJob) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *HyperparameterTuningJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *HyperparameterTuningJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -388,7 +388,7 @@ var file_google_cloud_aiplatform_v1beta1_hyperparameter_tuning_job_proto_goTypes (*CustomJobSpec)(nil), // 3: google.cloud.aiplatform.v1beta1.CustomJobSpec (*Trial)(nil), // 4: google.cloud.aiplatform.v1beta1.Trial (JobState)(0), // 5: google.cloud.aiplatform.v1beta1.JobState - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*status.Status)(nil), // 7: google.rpc.Status (*EncryptionSpec)(nil), // 8: google.cloud.aiplatform.v1beta1.EncryptionSpec } diff --git a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go index 2696e423d71..728b1accda8 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/index.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -120,7 +120,7 @@ type Index struct { MetadataSchemaUri string `protobuf:"bytes,4,opt,name=metadata_schema_uri,json=metadataSchemaUri,proto3" json:"metadata_schema_uri,omitempty"` // An additional information about the Index; the schema of the metadata can // be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri]. - Metadata *structpb.Value `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Value `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // Output only. The pointers to DeployedIndexes created from this Index. // An Index can be only deleted if all its DeployedIndexes had been undeployed // first. @@ -137,7 +137,7 @@ type Index struct { // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this Index was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Index was most recently updated. // This also includes any update to the contents of the Index. // Note that Operations working on this Index may have their @@ -146,7 +146,7 @@ type Index struct { // timestamp, yet that does not mean their results are not already reflected // in the Index. Result of any successfully completed Operation on the Index // is reflected in it. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Stats of the index resource. IndexStats *IndexStats `protobuf:"bytes,14,opt,name=index_stats,json=indexStats,proto3" json:"index_stats,omitempty"` // Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be @@ -214,7 +214,7 @@ func (x *Index) GetMetadataSchemaUri() string { return "" } -func (x *Index) GetMetadata() *structpb.Value { +func (x *Index) GetMetadata() *_struct.Value { if x != nil { return x.Metadata } @@ -242,14 +242,14 @@ func (x *Index) GetLabels() map[string]string { return nil } -func (x *Index) GetCreateTime() *timestamppb.Timestamp { +func (x *Index) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Index) GetUpdateTime() *timestamppb.Timestamp { +func (x *Index) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -687,9 +687,9 @@ var file_google_cloud_aiplatform_v1beta1_index_proto_goTypes = []interface{}{ nil, // 4: google.cloud.aiplatform.v1beta1.Index.LabelsEntry (*IndexDatapoint_Restriction)(nil), // 5: google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction (*IndexDatapoint_CrowdingTag)(nil), // 6: google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag - (*structpb.Value)(nil), // 7: google.protobuf.Value + (*_struct.Value)(nil), // 7: google.protobuf.Value (*DeployedIndexRef)(nil), // 8: google.cloud.aiplatform.v1beta1.DeployedIndexRef - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_index_proto_depIdxs = []int32{ 7, // 0: google.cloud.aiplatform.v1beta1.Index.metadata:type_name -> google.protobuf.Value diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go index b94b31c251c..939b1ccae57 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/index_endpoint.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -66,12 +66,12 @@ type IndexEndpoint struct { // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this IndexEndpoint was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this IndexEndpoint was last updated. // This timestamp is not updated when the endpoint's DeployedIndexes are // updated, e.g. due to updates of the original Indexes they are the // deployments of. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. The full name of the Google Compute Engine // [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) // to which the IndexEndpoint should be peered. @@ -172,14 +172,14 @@ func (x *IndexEndpoint) GetLabels() map[string]string { return nil } -func (x *IndexEndpoint) GetCreateTime() *timestamppb.Timestamp { +func (x *IndexEndpoint) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *IndexEndpoint) GetUpdateTime() *timestamppb.Timestamp { +func (x *IndexEndpoint) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -219,7 +219,7 @@ type DeployedIndex struct { // the Index's display_name is used. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when the DeployedIndex was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Provides paths for users to send requests directly to the deployed index // services running on Cloud via private services access. This field is // populated if [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] is configured. @@ -238,7 +238,7 @@ type DeployedIndex struct { // [Operations.metadata.generic_metadata.update_time] // [google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time] // equal or before this sync time are contained in this DeployedIndex. - IndexSyncTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=index_sync_time,json=indexSyncTime,proto3" json:"index_sync_time,omitempty"` + IndexSyncTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=index_sync_time,json=indexSyncTime,proto3" json:"index_sync_time,omitempty"` // Optional. A description of resources that the DeployedIndex uses, which to large // degree are decided by Vertex AI, and optionally allows only a modest // additional configuration. @@ -348,7 +348,7 @@ func (x *DeployedIndex) GetDisplayName() string { return "" } -func (x *DeployedIndex) GetCreateTime() *timestamppb.Timestamp { +func (x *DeployedIndex) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -362,7 +362,7 @@ func (x *DeployedIndex) GetPrivateEndpoints() *IndexPrivateEndpoints { return nil } -func (x *DeployedIndex) GetIndexSyncTime() *timestamppb.Timestamp { +func (x *DeployedIndex) GetIndexSyncTime() *timestamp.Timestamp { if x != nil { return x.IndexSyncTime } @@ -767,7 +767,7 @@ var file_google_cloud_aiplatform_v1beta1_index_endpoint_proto_goTypes = []interf (*IndexPrivateEndpoints)(nil), // 3: google.cloud.aiplatform.v1beta1.IndexPrivateEndpoints nil, // 4: google.cloud.aiplatform.v1beta1.IndexEndpoint.LabelsEntry (*DeployedIndexAuthConfig_AuthProvider)(nil), // 5: google.cloud.aiplatform.v1beta1.DeployedIndexAuthConfig.AuthProvider - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*AutomaticResources)(nil), // 7: google.cloud.aiplatform.v1beta1.AutomaticResources (*DedicatedResources)(nil), // 8: google.cloud.aiplatform.v1beta1.DedicatedResources } diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go index afe03002f68..91d453c51e9 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/index_endpoint_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -238,7 +238,7 @@ type ListIndexEndpointsRequest struct { // [IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListIndexEndpointsRequest) Reset() { @@ -301,7 +301,7 @@ func (x *ListIndexEndpointsRequest) GetPageToken() string { return "" } -func (x *ListIndexEndpointsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListIndexEndpointsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -376,7 +376,7 @@ type UpdateIndexEndpointRequest struct { // Required. The IndexEndpoint which replaces the resource on the server. IndexEndpoint *IndexEndpoint `protobuf:"bytes,1,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"` // Required. The update mask applies to the resource. See [google.protobuf.FieldMask][google.protobuf.FieldMask]. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateIndexEndpointRequest) Reset() { @@ -418,7 +418,7 @@ func (x *UpdateIndexEndpointRequest) GetIndexEndpoint() *IndexEndpoint { return nil } -func (x *UpdateIndexEndpointRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateIndexEndpointRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1330,7 +1330,7 @@ var file_google_cloud_aiplatform_v1beta1_index_endpoint_service_proto_goTypes = (*MutateDeployedIndexOperationMetadata)(nil), // 15: google.cloud.aiplatform.v1beta1.MutateDeployedIndexOperationMetadata (*IndexEndpoint)(nil), // 16: google.cloud.aiplatform.v1beta1.IndexEndpoint (*GenericOperationMetadata)(nil), // 17: google.cloud.aiplatform.v1beta1.GenericOperationMetadata - (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 18: google.protobuf.FieldMask (*DeployedIndex)(nil), // 19: google.cloud.aiplatform.v1beta1.DeployedIndex (*longrunning.Operation)(nil), // 20: google.longrunning.Operation } diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go index 2ede83bc887..0e896bbc5e0 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/index_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -302,7 +302,7 @@ type ListIndexesRequest struct { // [IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListIndexesRequest) Reset() { @@ -365,7 +365,7 @@ func (x *ListIndexesRequest) GetPageToken() string { return "" } -func (x *ListIndexesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListIndexesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -441,7 +441,7 @@ type UpdateIndexRequest struct { Index *Index `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // The update mask applies to the resource. // For the `FieldMask` definition, see [google.protobuf.FieldMask][google.protobuf.FieldMask]. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateIndexRequest) Reset() { @@ -483,7 +483,7 @@ func (x *UpdateIndexRequest) GetIndex() *Index { return nil } -func (x *UpdateIndexRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateIndexRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1372,7 +1372,7 @@ var file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes = []interfa (*NearestNeighborSearchOperationMetadata_ContentValidationStats)(nil), // 15: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats (*Index)(nil), // 16: google.cloud.aiplatform.v1beta1.Index (*GenericOperationMetadata)(nil), // 17: google.cloud.aiplatform.v1beta1.GenericOperationMetadata - (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 18: google.protobuf.FieldMask (*IndexDatapoint)(nil), // 19: google.cloud.aiplatform.v1beta1.IndexDatapoint (*longrunning.Operation)(nil), // 20: google.longrunning.Operation } diff --git a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go index 599e32978f8..293a198d8f5 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/io.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go index d7cbf71847a..649a71afbf9 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/job_service.proto package aiplatformpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -192,7 +192,7 @@ type ListCustomJobsRequest struct { // [JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListCustomJobsRequest) Reset() { @@ -255,7 +255,7 @@ func (x *ListCustomJobsRequest) GetPageToken() string { return "" } -func (x *ListCustomJobsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListCustomJobsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -571,7 +571,7 @@ type ListDataLabelingJobsRequest struct { // symbolic field paths. For example, the mask can be `paths: "name"`. The // "name" here is a field in DataLabelingJob. // If this field is not set, all fields of the DataLabelingJob are returned. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // A comma-separated list of fields to order by, sorted in ascending order by // default. // Use `desc` after a field name for descending. @@ -638,7 +638,7 @@ func (x *ListDataLabelingJobsRequest) GetPageToken() string { return "" } -func (x *ListDataLabelingJobsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListDataLabelingJobsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -961,7 +961,7 @@ type ListHyperparameterTuningJobsRequest struct { // [JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListHyperparameterTuningJobsRequest) Reset() { @@ -1024,7 +1024,7 @@ func (x *ListHyperparameterTuningJobsRequest) GetPageToken() string { return "" } -func (x *ListHyperparameterTuningJobsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListHyperparameterTuningJobsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1343,7 +1343,7 @@ type ListBatchPredictionJobsRequest struct { // [JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListBatchPredictionJobsRequest) Reset() { @@ -1406,7 +1406,7 @@ func (x *ListBatchPredictionJobsRequest) GetPageToken() string { return "" } -func (x *ListBatchPredictionJobsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListBatchPredictionJobsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1664,10 +1664,10 @@ type SearchModelDeploymentMonitoringStatsAnomaliesRequest struct { PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The earliest timestamp of stats being generated. // If not set, indicates fetching stats till the earliest possible one. - StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The latest timestamp of stats being generated. // If not set, indicates feching stats till the latest possible one. - EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *SearchModelDeploymentMonitoringStatsAnomaliesRequest) Reset() { @@ -1744,14 +1744,14 @@ func (x *SearchModelDeploymentMonitoringStatsAnomaliesRequest) GetPageToken() st return "" } -func (x *SearchModelDeploymentMonitoringStatsAnomaliesRequest) GetStartTime() *timestamppb.Timestamp { +func (x *SearchModelDeploymentMonitoringStatsAnomaliesRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *SearchModelDeploymentMonitoringStatsAnomaliesRequest) GetEndTime() *timestamppb.Timestamp { +func (x *SearchModelDeploymentMonitoringStatsAnomaliesRequest) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1910,7 +1910,7 @@ type ListModelDeploymentMonitoringJobsRequest struct { // The standard list page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListModelDeploymentMonitoringJobsRequest) Reset() { @@ -1973,7 +1973,7 @@ func (x *ListModelDeploymentMonitoringJobsRequest) GetPageToken() string { return "" } -func (x *ListModelDeploymentMonitoringJobsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListModelDeploymentMonitoringJobsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -2079,7 +2079,7 @@ type UpdateModelDeploymentMonitoringJobRequest struct { // - `model_deployment_monitoring_objective_configs.objective_config.training_dataset` // - `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config` // - `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateModelDeploymentMonitoringJobRequest) Reset() { @@ -2121,7 +2121,7 @@ func (x *UpdateModelDeploymentMonitoringJobRequest) GetModelDeploymentMonitoring return nil } -func (x *UpdateModelDeploymentMonitoringJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateModelDeploymentMonitoringJobRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3359,17 +3359,17 @@ var file_google_cloud_aiplatform_v1beta1_job_service_proto_goTypes = []interface (*UpdateModelDeploymentMonitoringJobOperationMetadata)(nil), // 34: google.cloud.aiplatform.v1beta1.UpdateModelDeploymentMonitoringJobOperationMetadata (*SearchModelDeploymentMonitoringStatsAnomaliesRequest_StatsAnomaliesObjective)(nil), // 35: google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective (*CustomJob)(nil), // 36: google.cloud.aiplatform.v1beta1.CustomJob - (*fieldmaskpb.FieldMask)(nil), // 37: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 37: google.protobuf.FieldMask (*DataLabelingJob)(nil), // 38: google.cloud.aiplatform.v1beta1.DataLabelingJob (*HyperparameterTuningJob)(nil), // 39: google.cloud.aiplatform.v1beta1.HyperparameterTuningJob (*BatchPredictionJob)(nil), // 40: google.cloud.aiplatform.v1beta1.BatchPredictionJob (*ModelDeploymentMonitoringJob)(nil), // 41: google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob - (*timestamppb.Timestamp)(nil), // 42: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 42: google.protobuf.Timestamp (*ModelMonitoringStatsAnomalies)(nil), // 43: google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies (*GenericOperationMetadata)(nil), // 44: google.cloud.aiplatform.v1beta1.GenericOperationMetadata (ModelDeploymentMonitoringObjectiveType)(0), // 45: google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType (*longrunning.Operation)(nil), // 46: google.longrunning.Operation - (*emptypb.Empty)(nil), // 47: google.protobuf.Empty + (*empty.Empty)(nil), // 47: google.protobuf.Empty } var file_google_cloud_aiplatform_v1beta1_job_service_proto_depIdxs = []int32{ 36, // 0: google.cloud.aiplatform.v1beta1.CreateCustomJobRequest.custom_job:type_name -> google.cloud.aiplatform.v1beta1.CustomJob @@ -3954,7 +3954,7 @@ type JobServiceClient interface { // a [CustomJob.error][google.cloud.aiplatform.v1beta1.CustomJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`, and [CustomJob.state][google.cloud.aiplatform.v1beta1.CustomJob.state] is set to // `CANCELLED`. - CancelCustomJob(ctx context.Context, in *CancelCustomJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelCustomJob(ctx context.Context, in *CancelCustomJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a DataLabelingJob. CreateDataLabelingJob(ctx context.Context, in *CreateDataLabelingJobRequest, opts ...grpc.CallOption) (*DataLabelingJob, error) // Gets a DataLabelingJob. @@ -3964,7 +3964,7 @@ type JobServiceClient interface { // Deletes a DataLabelingJob. DeleteDataLabelingJob(ctx context.Context, in *DeleteDataLabelingJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Cancels a DataLabelingJob. Success of cancellation is not guaranteed. - CancelDataLabelingJob(ctx context.Context, in *CancelDataLabelingJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelDataLabelingJob(ctx context.Context, in *CancelDataLabelingJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a HyperparameterTuningJob CreateHyperparameterTuningJob(ctx context.Context, in *CreateHyperparameterTuningJobRequest, opts ...grpc.CallOption) (*HyperparameterTuningJob, error) // Gets a HyperparameterTuningJob @@ -3983,7 +3983,7 @@ type JobServiceClient interface { // a [HyperparameterTuningJob.error][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] // of 1, corresponding to `Code.CANCELLED`, and // [HyperparameterTuningJob.state][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.state] is set to `CANCELLED`. - CancelHyperparameterTuningJob(ctx context.Context, in *CancelHyperparameterTuningJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelHyperparameterTuningJob(ctx context.Context, in *CancelHyperparameterTuningJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a BatchPredictionJob. A BatchPredictionJob once created will // right away be attempted to start. CreateBatchPredictionJob(ctx context.Context, in *CreateBatchPredictionJobRequest, opts ...grpc.CallOption) (*BatchPredictionJob, error) @@ -4004,7 +4004,7 @@ type JobServiceClient interface { // the BatchPredictionJob is not deleted;instead its // [BatchPredictionJob.state][google.cloud.aiplatform.v1beta1.BatchPredictionJob.state] is set to `CANCELLED`. Any files already // outputted by the job are not deleted. - CancelBatchPredictionJob(ctx context.Context, in *CancelBatchPredictionJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelBatchPredictionJob(ctx context.Context, in *CancelBatchPredictionJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a ModelDeploymentMonitoringJob. It will run periodically on a // configured interval. CreateModelDeploymentMonitoringJob(ctx context.Context, in *CreateModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*ModelDeploymentMonitoringJob, error) @@ -4021,11 +4021,11 @@ type JobServiceClient interface { // Pauses a ModelDeploymentMonitoringJob. If the job is running, the server // makes a best effort to cancel the job. Will mark // [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.state] to 'PAUSED'. - PauseModelDeploymentMonitoringJob(ctx context.Context, in *PauseModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + PauseModelDeploymentMonitoringJob(ctx context.Context, in *PauseModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Resumes a paused ModelDeploymentMonitoringJob. It will start to run from // next scheduled time. A deleted ModelDeploymentMonitoringJob can't be // resumed. - ResumeModelDeploymentMonitoringJob(ctx context.Context, in *ResumeModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResumeModelDeploymentMonitoringJob(ctx context.Context, in *ResumeModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type jobServiceClient struct { @@ -4072,8 +4072,8 @@ func (c *jobServiceClient) DeleteCustomJob(ctx context.Context, in *DeleteCustom return out, nil } -func (c *jobServiceClient) CancelCustomJob(ctx context.Context, in *CancelCustomJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) CancelCustomJob(ctx context.Context, in *CancelCustomJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.JobService/CancelCustomJob", in, out, opts...) if err != nil { return nil, err @@ -4117,8 +4117,8 @@ func (c *jobServiceClient) DeleteDataLabelingJob(ctx context.Context, in *Delete return out, nil } -func (c *jobServiceClient) CancelDataLabelingJob(ctx context.Context, in *CancelDataLabelingJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) CancelDataLabelingJob(ctx context.Context, in *CancelDataLabelingJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.JobService/CancelDataLabelingJob", in, out, opts...) if err != nil { return nil, err @@ -4162,8 +4162,8 @@ func (c *jobServiceClient) DeleteHyperparameterTuningJob(ctx context.Context, in return out, nil } -func (c *jobServiceClient) CancelHyperparameterTuningJob(ctx context.Context, in *CancelHyperparameterTuningJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) CancelHyperparameterTuningJob(ctx context.Context, in *CancelHyperparameterTuningJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.JobService/CancelHyperparameterTuningJob", in, out, opts...) if err != nil { return nil, err @@ -4207,8 +4207,8 @@ func (c *jobServiceClient) DeleteBatchPredictionJob(ctx context.Context, in *Del return out, nil } -func (c *jobServiceClient) CancelBatchPredictionJob(ctx context.Context, in *CancelBatchPredictionJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) CancelBatchPredictionJob(ctx context.Context, in *CancelBatchPredictionJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.JobService/CancelBatchPredictionJob", in, out, opts...) if err != nil { return nil, err @@ -4270,8 +4270,8 @@ func (c *jobServiceClient) DeleteModelDeploymentMonitoringJob(ctx context.Contex return out, nil } -func (c *jobServiceClient) PauseModelDeploymentMonitoringJob(ctx context.Context, in *PauseModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) PauseModelDeploymentMonitoringJob(ctx context.Context, in *PauseModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.JobService/PauseModelDeploymentMonitoringJob", in, out, opts...) if err != nil { return nil, err @@ -4279,8 +4279,8 @@ func (c *jobServiceClient) PauseModelDeploymentMonitoringJob(ctx context.Context return out, nil } -func (c *jobServiceClient) ResumeModelDeploymentMonitoringJob(ctx context.Context, in *ResumeModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) ResumeModelDeploymentMonitoringJob(ctx context.Context, in *ResumeModelDeploymentMonitoringJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.JobService/ResumeModelDeploymentMonitoringJob", in, out, opts...) if err != nil { return nil, err @@ -4309,7 +4309,7 @@ type JobServiceServer interface { // a [CustomJob.error][google.cloud.aiplatform.v1beta1.CustomJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`, and [CustomJob.state][google.cloud.aiplatform.v1beta1.CustomJob.state] is set to // `CANCELLED`. - CancelCustomJob(context.Context, *CancelCustomJobRequest) (*emptypb.Empty, error) + CancelCustomJob(context.Context, *CancelCustomJobRequest) (*empty.Empty, error) // Creates a DataLabelingJob. CreateDataLabelingJob(context.Context, *CreateDataLabelingJobRequest) (*DataLabelingJob, error) // Gets a DataLabelingJob. @@ -4319,7 +4319,7 @@ type JobServiceServer interface { // Deletes a DataLabelingJob. DeleteDataLabelingJob(context.Context, *DeleteDataLabelingJobRequest) (*longrunning.Operation, error) // Cancels a DataLabelingJob. Success of cancellation is not guaranteed. - CancelDataLabelingJob(context.Context, *CancelDataLabelingJobRequest) (*emptypb.Empty, error) + CancelDataLabelingJob(context.Context, *CancelDataLabelingJobRequest) (*empty.Empty, error) // Creates a HyperparameterTuningJob CreateHyperparameterTuningJob(context.Context, *CreateHyperparameterTuningJobRequest) (*HyperparameterTuningJob, error) // Gets a HyperparameterTuningJob @@ -4338,7 +4338,7 @@ type JobServiceServer interface { // a [HyperparameterTuningJob.error][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] // of 1, corresponding to `Code.CANCELLED`, and // [HyperparameterTuningJob.state][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.state] is set to `CANCELLED`. - CancelHyperparameterTuningJob(context.Context, *CancelHyperparameterTuningJobRequest) (*emptypb.Empty, error) + CancelHyperparameterTuningJob(context.Context, *CancelHyperparameterTuningJobRequest) (*empty.Empty, error) // Creates a BatchPredictionJob. A BatchPredictionJob once created will // right away be attempted to start. CreateBatchPredictionJob(context.Context, *CreateBatchPredictionJobRequest) (*BatchPredictionJob, error) @@ -4359,7 +4359,7 @@ type JobServiceServer interface { // the BatchPredictionJob is not deleted;instead its // [BatchPredictionJob.state][google.cloud.aiplatform.v1beta1.BatchPredictionJob.state] is set to `CANCELLED`. Any files already // outputted by the job are not deleted. - CancelBatchPredictionJob(context.Context, *CancelBatchPredictionJobRequest) (*emptypb.Empty, error) + CancelBatchPredictionJob(context.Context, *CancelBatchPredictionJobRequest) (*empty.Empty, error) // Creates a ModelDeploymentMonitoringJob. It will run periodically on a // configured interval. CreateModelDeploymentMonitoringJob(context.Context, *CreateModelDeploymentMonitoringJobRequest) (*ModelDeploymentMonitoringJob, error) @@ -4376,11 +4376,11 @@ type JobServiceServer interface { // Pauses a ModelDeploymentMonitoringJob. If the job is running, the server // makes a best effort to cancel the job. Will mark // [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.state] to 'PAUSED'. - PauseModelDeploymentMonitoringJob(context.Context, *PauseModelDeploymentMonitoringJobRequest) (*emptypb.Empty, error) + PauseModelDeploymentMonitoringJob(context.Context, *PauseModelDeploymentMonitoringJobRequest) (*empty.Empty, error) // Resumes a paused ModelDeploymentMonitoringJob. It will start to run from // next scheduled time. A deleted ModelDeploymentMonitoringJob can't be // resumed. - ResumeModelDeploymentMonitoringJob(context.Context, *ResumeModelDeploymentMonitoringJobRequest) (*emptypb.Empty, error) + ResumeModelDeploymentMonitoringJob(context.Context, *ResumeModelDeploymentMonitoringJobRequest) (*empty.Empty, error) } // UnimplementedJobServiceServer can be embedded to have forward compatible implementations. @@ -4399,7 +4399,7 @@ func (*UnimplementedJobServiceServer) ListCustomJobs(context.Context, *ListCusto func (*UnimplementedJobServiceServer) DeleteCustomJob(context.Context, *DeleteCustomJobRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomJob not implemented") } -func (*UnimplementedJobServiceServer) CancelCustomJob(context.Context, *CancelCustomJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) CancelCustomJob(context.Context, *CancelCustomJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelCustomJob not implemented") } func (*UnimplementedJobServiceServer) CreateDataLabelingJob(context.Context, *CreateDataLabelingJobRequest) (*DataLabelingJob, error) { @@ -4414,7 +4414,7 @@ func (*UnimplementedJobServiceServer) ListDataLabelingJobs(context.Context, *Lis func (*UnimplementedJobServiceServer) DeleteDataLabelingJob(context.Context, *DeleteDataLabelingJobRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDataLabelingJob not implemented") } -func (*UnimplementedJobServiceServer) CancelDataLabelingJob(context.Context, *CancelDataLabelingJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) CancelDataLabelingJob(context.Context, *CancelDataLabelingJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelDataLabelingJob not implemented") } func (*UnimplementedJobServiceServer) CreateHyperparameterTuningJob(context.Context, *CreateHyperparameterTuningJobRequest) (*HyperparameterTuningJob, error) { @@ -4429,7 +4429,7 @@ func (*UnimplementedJobServiceServer) ListHyperparameterTuningJobs(context.Conte func (*UnimplementedJobServiceServer) DeleteHyperparameterTuningJob(context.Context, *DeleteHyperparameterTuningJobRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteHyperparameterTuningJob not implemented") } -func (*UnimplementedJobServiceServer) CancelHyperparameterTuningJob(context.Context, *CancelHyperparameterTuningJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) CancelHyperparameterTuningJob(context.Context, *CancelHyperparameterTuningJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelHyperparameterTuningJob not implemented") } func (*UnimplementedJobServiceServer) CreateBatchPredictionJob(context.Context, *CreateBatchPredictionJobRequest) (*BatchPredictionJob, error) { @@ -4444,7 +4444,7 @@ func (*UnimplementedJobServiceServer) ListBatchPredictionJobs(context.Context, * func (*UnimplementedJobServiceServer) DeleteBatchPredictionJob(context.Context, *DeleteBatchPredictionJobRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteBatchPredictionJob not implemented") } -func (*UnimplementedJobServiceServer) CancelBatchPredictionJob(context.Context, *CancelBatchPredictionJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) CancelBatchPredictionJob(context.Context, *CancelBatchPredictionJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelBatchPredictionJob not implemented") } func (*UnimplementedJobServiceServer) CreateModelDeploymentMonitoringJob(context.Context, *CreateModelDeploymentMonitoringJobRequest) (*ModelDeploymentMonitoringJob, error) { @@ -4465,10 +4465,10 @@ func (*UnimplementedJobServiceServer) UpdateModelDeploymentMonitoringJob(context func (*UnimplementedJobServiceServer) DeleteModelDeploymentMonitoringJob(context.Context, *DeleteModelDeploymentMonitoringJobRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteModelDeploymentMonitoringJob not implemented") } -func (*UnimplementedJobServiceServer) PauseModelDeploymentMonitoringJob(context.Context, *PauseModelDeploymentMonitoringJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) PauseModelDeploymentMonitoringJob(context.Context, *PauseModelDeploymentMonitoringJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PauseModelDeploymentMonitoringJob not implemented") } -func (*UnimplementedJobServiceServer) ResumeModelDeploymentMonitoringJob(context.Context, *ResumeModelDeploymentMonitoringJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) ResumeModelDeploymentMonitoringJob(context.Context, *ResumeModelDeploymentMonitoringJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResumeModelDeploymentMonitoringJob not implemented") } diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go index bcb44c22a6e..99c2046fe4f 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/job_state.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go index 99f748142ce..b6fb83c6e0c 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/lineage_subgraph.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go index a21f981fda2..31d782f0175 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/machine_resources.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go index 8d4f5dea6ff..bdc0e41e3a0 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go index 79a83db1b6b..956e094e24f 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/metadata_schema.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -118,7 +118,7 @@ type MetadataSchema struct { // metadata types will use the MetadataSchema. SchemaType MetadataSchema_MetadataSchemaType `protobuf:"varint,4,opt,name=schema_type,json=schemaType,proto3,enum=google.cloud.aiplatform.v1beta1.MetadataSchema_MetadataSchemaType" json:"schema_type,omitempty"` // Output only. Timestamp when this MetadataSchema was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Description of the Metadata Schema Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` } @@ -183,7 +183,7 @@ func (x *MetadataSchema) GetSchemaType() MetadataSchema_MetadataSchemaType { return MetadataSchema_METADATA_SCHEMA_TYPE_UNSPECIFIED } -func (x *MetadataSchema) GetCreateTime() *timestamppb.Timestamp { +func (x *MetadataSchema) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -283,7 +283,7 @@ var file_google_cloud_aiplatform_v1beta1_metadata_schema_proto_msgTypes = make([ var file_google_cloud_aiplatform_v1beta1_metadata_schema_proto_goTypes = []interface{}{ (MetadataSchema_MetadataSchemaType)(0), // 0: google.cloud.aiplatform.v1beta1.MetadataSchema.MetadataSchemaType (*MetadataSchema)(nil), // 1: google.cloud.aiplatform.v1beta1.MetadataSchema - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_metadata_schema_proto_depIdxs = []int32{ 0, // 0: google.cloud.aiplatform.v1beta1.MetadataSchema.schema_type:type_name -> google.cloud.aiplatform.v1beta1.MetadataSchema.MetadataSchemaType diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go index 4c587aba4b3..10387b6a3b8 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/metadata_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -792,7 +792,7 @@ type UpdateArtifactRequest struct { Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` // Optional. A FieldMask indicating which fields should be updated. // Functionality of this field is not yet supported. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the [Artifact][google.cloud.aiplatform.v1beta1.Artifact] is not found, a new [Artifact][google.cloud.aiplatform.v1beta1.Artifact] is // created. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` @@ -837,7 +837,7 @@ func (x *UpdateArtifactRequest) GetArtifact() *Artifact { return nil } -func (x *UpdateArtifactRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateArtifactRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1426,7 +1426,7 @@ type UpdateContextRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Optional. A FieldMask indicating which fields should be updated. // Functionality of this field is not yet supported. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the [Context][google.cloud.aiplatform.v1beta1.Context] is not found, a new [Context][google.cloud.aiplatform.v1beta1.Context] is // created. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` @@ -1471,7 +1471,7 @@ func (x *UpdateContextRequest) GetContext() *Context { return nil } -func (x *UpdateContextRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateContextRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2437,7 +2437,7 @@ type UpdateExecutionRequest struct { Execution *Execution `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"` // Optional. A FieldMask indicating which fields should be updated. // Functionality of this field is not yet supported. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the [Execution][google.cloud.aiplatform.v1beta1.Execution] is not found, a new [Execution][google.cloud.aiplatform.v1beta1.Execution] // is created. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` @@ -2482,7 +2482,7 @@ func (x *UpdateExecutionRequest) GetExecution() *Execution { return nil } -func (x *UpdateExecutionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateExecutionRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -4339,7 +4339,7 @@ var file_google_cloud_aiplatform_v1beta1_metadata_service_proto_goTypes = []inte (*MetadataStore)(nil), // 49: google.cloud.aiplatform.v1beta1.MetadataStore (*GenericOperationMetadata)(nil), // 50: google.cloud.aiplatform.v1beta1.GenericOperationMetadata (*Artifact)(nil), // 51: google.cloud.aiplatform.v1beta1.Artifact - (*fieldmaskpb.FieldMask)(nil), // 52: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 52: google.protobuf.FieldMask (*Context)(nil), // 53: google.cloud.aiplatform.v1beta1.Context (*Execution)(nil), // 54: google.cloud.aiplatform.v1beta1.Execution (*Event)(nil), // 55: google.cloud.aiplatform.v1beta1.Event diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go index cd7e1f4262a..e67c1a23dbd 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/metadata_store.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -47,9 +47,9 @@ type MetadataStore struct { // Output only. The resource name of the MetadataStore instance. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this MetadataStore was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this MetadataStore was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Customer-managed encryption key spec for a Metadata Store. If set, this // Metadata Store and all sub-resources of this Metadata Store are secured // using this key. @@ -99,14 +99,14 @@ func (x *MetadataStore) GetName() string { return "" } -func (x *MetadataStore) GetCreateTime() *timestamppb.Timestamp { +func (x *MetadataStore) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *MetadataStore) GetUpdateTime() *timestamppb.Timestamp { +func (x *MetadataStore) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -271,7 +271,7 @@ var file_google_cloud_aiplatform_v1beta1_metadata_store_proto_msgTypes = make([] var file_google_cloud_aiplatform_v1beta1_metadata_store_proto_goTypes = []interface{}{ (*MetadataStore)(nil), // 0: google.cloud.aiplatform.v1beta1.MetadataStore (*MetadataStore_MetadataStoreState)(nil), // 1: google.cloud.aiplatform.v1beta1.MetadataStore.MetadataStoreState - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp (*EncryptionSpec)(nil), // 3: google.cloud.aiplatform.v1beta1.EncryptionSpec } var file_google_cloud_aiplatform_v1beta1_metadata_store_proto_depIdxs = []int32{ diff --git a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go index a9da5a4ff42..8941f138efe 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/migratable_resource.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -54,9 +54,9 @@ type MigratableResource struct { // Output only. Timestamp when the last migration attempt on this MigratableResource // started. Will not be set if there's no migration attempt on this // MigratableResource. - LastMigrateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_migrate_time,json=lastMigrateTime,proto3" json:"last_migrate_time,omitempty"` + LastMigrateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_migrate_time,json=lastMigrateTime,proto3" json:"last_migrate_time,omitempty"` // Output only. Timestamp when this MigratableResource was last updated. - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` + LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` } func (x *MigratableResource) Reset() { @@ -126,14 +126,14 @@ func (x *MigratableResource) GetDataLabelingDataset() *MigratableResource_DataLa return nil } -func (x *MigratableResource) GetLastMigrateTime() *timestamppb.Timestamp { +func (x *MigratableResource) GetLastMigrateTime() *timestamp.Timestamp { if x != nil { return x.LastMigrateTime } return nil } -func (x *MigratableResource) GetLastUpdateTime() *timestamppb.Timestamp { +func (x *MigratableResource) GetLastUpdateTime() *timestamp.Timestamp { if x != nil { return x.LastUpdateTime } @@ -667,7 +667,7 @@ var file_google_cloud_aiplatform_v1beta1_migratable_resource_proto_goTypes = []i (*MigratableResource_AutomlDataset)(nil), // 3: google.cloud.aiplatform.v1beta1.MigratableResource.AutomlDataset (*MigratableResource_DataLabelingDataset)(nil), // 4: google.cloud.aiplatform.v1beta1.MigratableResource.DataLabelingDataset (*MigratableResource_DataLabelingDataset_DataLabelingAnnotatedDataset)(nil), // 5: google.cloud.aiplatform.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_migratable_resource_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.MigratableResource.ml_engine_model_version:type_name -> google.cloud.aiplatform.v1beta1.MigratableResource.MlEngineModelVersion diff --git a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go index 54350d9852a..cd923536bb2 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/migration_service.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go index 7387f4564a5..e865497acb4 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/model.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -236,9 +236,9 @@ type Model struct { // model. VersionAliases []string `protobuf:"bytes,29,rep,name=version_aliases,json=versionAliases,proto3" json:"version_aliases,omitempty"` // Output only. Timestamp when this version was created. - VersionCreateTime *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=version_create_time,json=versionCreateTime,proto3" json:"version_create_time,omitempty"` + VersionCreateTime *timestamp.Timestamp `protobuf:"bytes,31,opt,name=version_create_time,json=versionCreateTime,proto3" json:"version_create_time,omitempty"` // Output only. Timestamp when this version was most recently updated. - VersionUpdateTime *timestamppb.Timestamp `protobuf:"bytes,32,opt,name=version_update_time,json=versionUpdateTime,proto3" json:"version_update_time,omitempty"` + VersionUpdateTime *timestamp.Timestamp `protobuf:"bytes,32,opt,name=version_update_time,json=versionUpdateTime,proto3" json:"version_update_time,omitempty"` // Required. The display name of the Model. // The name can be up to 128 characters long and can be consist of any UTF-8 // characters. @@ -265,7 +265,7 @@ type Model struct { // Immutable. An additional information about the Model; the schema of the metadata can // be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Model.metadata_schema_uri]. // Unset if the Model does not have any additional information. - Metadata *structpb.Value `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Value `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // Output only. The formats in which this Model may be exported. If empty, this Model is // not available for export. SupportedExportFormats []*Model_ExportFormat `protobuf:"bytes,20,rep,name=supported_export_formats,json=supportedExportFormats,proto3" json:"supported_export_formats,omitempty"` @@ -365,9 +365,9 @@ type Model struct { // [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain]. SupportedOutputStorageFormats []string `protobuf:"bytes,12,rep,name=supported_output_storage_formats,json=supportedOutputStorageFormats,proto3" json:"supported_output_storage_formats,omitempty"` // Output only. Timestamp when this Model was uploaded into Vertex AI. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Model was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The pointers to DeployedModels created from this Model. Note that // Model could have been deployed to Endpoints in different Locations. DeployedModels []*DeployedModelRef `protobuf:"bytes,15,rep,name=deployed_models,json=deployedModels,proto3" json:"deployed_models,omitempty"` @@ -466,14 +466,14 @@ func (x *Model) GetVersionAliases() []string { return nil } -func (x *Model) GetVersionCreateTime() *timestamppb.Timestamp { +func (x *Model) GetVersionCreateTime() *timestamp.Timestamp { if x != nil { return x.VersionCreateTime } return nil } -func (x *Model) GetVersionUpdateTime() *timestamppb.Timestamp { +func (x *Model) GetVersionUpdateTime() *timestamp.Timestamp { if x != nil { return x.VersionUpdateTime } @@ -515,7 +515,7 @@ func (x *Model) GetMetadataSchemaUri() string { return "" } -func (x *Model) GetMetadata() *structpb.Value { +func (x *Model) GetMetadata() *_struct.Value { if x != nil { return x.Metadata } @@ -571,14 +571,14 @@ func (x *Model) GetSupportedOutputStorageFormats() []string { return nil } -func (x *Model) GetCreateTime() *timestamppb.Timestamp { +func (x *Model) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Model) GetUpdateTime() *timestamppb.Timestamp { +func (x *Model) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1463,8 +1463,8 @@ var file_google_cloud_aiplatform_v1beta1_model_proto_goTypes = []interface{}{ (*ModelSourceInfo)(nil), // 7: google.cloud.aiplatform.v1beta1.ModelSourceInfo (*Model_ExportFormat)(nil), // 8: google.cloud.aiplatform.v1beta1.Model.ExportFormat nil, // 9: google.cloud.aiplatform.v1beta1.Model.LabelsEntry - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp - (*structpb.Value)(nil), // 11: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*_struct.Value)(nil), // 11: google.protobuf.Value (*DeployedModelRef)(nil), // 12: google.cloud.aiplatform.v1beta1.DeployedModelRef (*ExplanationSpec)(nil), // 13: google.cloud.aiplatform.v1beta1.ExplanationSpec (*EncryptionSpec)(nil), // 14: google.cloud.aiplatform.v1beta1.EncryptionSpec diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go index 98179077fda..4d7b0ec2b98 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto package aiplatformpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -314,7 +314,7 @@ type ModelDeploymentMonitoringJob struct { // this can be set as a replacement of // [ModelDeploymentMonitoringJob.predict_instance_schema_uri][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.predict_instance_schema_uri]. If not set, // we will generate predict schema from collected predict requests. - SamplePredictInstance *structpb.Value `protobuf:"bytes,19,opt,name=sample_predict_instance,json=samplePredictInstance,proto3" json:"sample_predict_instance,omitempty"` + SamplePredictInstance *_struct.Value `protobuf:"bytes,19,opt,name=sample_predict_instance,json=samplePredictInstance,proto3" json:"sample_predict_instance,omitempty"` // YAML schema file uri describing the format of a single instance that you // want Tensorflow Data Validation (TFDV) to analyze. // @@ -336,7 +336,7 @@ type ModelDeploymentMonitoringJob struct { // The TTL of BigQuery tables in user projects which stores logs. // A day is the basic unit of the TTL and we take the ceil of TTL/86400(a // day). e.g. { second: 3600} indicates ttl = 1 day. - LogTtl *durationpb.Duration `protobuf:"bytes,17,opt,name=log_ttl,json=logTtl,proto3" json:"log_ttl,omitempty"` + LogTtl *duration.Duration `protobuf:"bytes,17,opt,name=log_ttl,json=logTtl,proto3" json:"log_ttl,omitempty"` // The labels with user-defined metadata to organize your // ModelDeploymentMonitoringJob. // @@ -347,12 +347,12 @@ type ModelDeploymentMonitoringJob struct { // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp when this ModelDeploymentMonitoringJob was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Timestamp when this monitoring pipeline will be scheduled to run for the // next round. - NextScheduleTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=next_schedule_time,json=nextScheduleTime,proto3" json:"next_schedule_time,omitempty"` + NextScheduleTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=next_schedule_time,json=nextScheduleTime,proto3" json:"next_schedule_time,omitempty"` // Stats anomalies base folder path. StatsAnomaliesBaseDirectory *GcsDestination `protobuf:"bytes,20,opt,name=stats_anomalies_base_directory,json=statsAnomaliesBaseDirectory,proto3" json:"stats_anomalies_base_directory,omitempty"` // Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If @@ -478,7 +478,7 @@ func (x *ModelDeploymentMonitoringJob) GetPredictInstanceSchemaUri() string { return "" } -func (x *ModelDeploymentMonitoringJob) GetSamplePredictInstance() *structpb.Value { +func (x *ModelDeploymentMonitoringJob) GetSamplePredictInstance() *_struct.Value { if x != nil { return x.SamplePredictInstance } @@ -499,7 +499,7 @@ func (x *ModelDeploymentMonitoringJob) GetBigqueryTables() []*ModelDeploymentMon return nil } -func (x *ModelDeploymentMonitoringJob) GetLogTtl() *durationpb.Duration { +func (x *ModelDeploymentMonitoringJob) GetLogTtl() *duration.Duration { if x != nil { return x.LogTtl } @@ -513,21 +513,21 @@ func (x *ModelDeploymentMonitoringJob) GetLabels() map[string]string { return nil } -func (x *ModelDeploymentMonitoringJob) GetCreateTime() *timestamppb.Timestamp { +func (x *ModelDeploymentMonitoringJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ModelDeploymentMonitoringJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *ModelDeploymentMonitoringJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *ModelDeploymentMonitoringJob) GetNextScheduleTime() *timestamppb.Timestamp { +func (x *ModelDeploymentMonitoringJob) GetNextScheduleTime() *timestamp.Timestamp { if x != nil { return x.NextScheduleTime } @@ -699,7 +699,7 @@ type ModelDeploymentMonitoringScheduleConfig struct { // Required. The model monitoring job scheduling interval. It will be rounded up to next // full hour. This defines how often the monitoring jobs are triggered. - MonitorInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=monitor_interval,json=monitorInterval,proto3" json:"monitor_interval,omitempty"` + MonitorInterval *duration.Duration `protobuf:"bytes,1,opt,name=monitor_interval,json=monitorInterval,proto3" json:"monitor_interval,omitempty"` // The time window of the prediction data being included in each prediction // dataset. This window specifies how long the data should be collected from // historical model results for each run. If not set, @@ -708,7 +708,7 @@ type ModelDeploymentMonitoringScheduleConfig struct { // monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 // to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the // monitoring statistics. - MonitorWindow *durationpb.Duration `protobuf:"bytes,2,opt,name=monitor_window,json=monitorWindow,proto3" json:"monitor_window,omitempty"` + MonitorWindow *duration.Duration `protobuf:"bytes,2,opt,name=monitor_window,json=monitorWindow,proto3" json:"monitor_window,omitempty"` } func (x *ModelDeploymentMonitoringScheduleConfig) Reset() { @@ -743,14 +743,14 @@ func (*ModelDeploymentMonitoringScheduleConfig) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_model_deployment_monitoring_job_proto_rawDescGZIP(), []int{3} } -func (x *ModelDeploymentMonitoringScheduleConfig) GetMonitorInterval() *durationpb.Duration { +func (x *ModelDeploymentMonitoringScheduleConfig) GetMonitorInterval() *duration.Duration { if x != nil { return x.MonitorInterval } return nil } -func (x *ModelDeploymentMonitoringScheduleConfig) GetMonitorWindow() *durationpb.Duration { +func (x *ModelDeploymentMonitoringScheduleConfig) GetMonitorWindow() *duration.Duration { if x != nil { return x.MonitorWindow } @@ -841,7 +841,7 @@ type ModelDeploymentMonitoringJob_LatestMonitoringPipelineMetadata struct { // The time that most recent monitoring pipelines that is related to this // run. - RunTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` + RunTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` // The status of the most recent monitoring pipeline. Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } @@ -878,7 +878,7 @@ func (*ModelDeploymentMonitoringJob_LatestMonitoringPipelineMetadata) Descriptor return file_google_cloud_aiplatform_v1beta1_model_deployment_monitoring_job_proto_rawDescGZIP(), []int{0, 0} } -func (x *ModelDeploymentMonitoringJob_LatestMonitoringPipelineMetadata) GetRunTime() *timestamppb.Timestamp { +func (x *ModelDeploymentMonitoringJob_LatestMonitoringPipelineMetadata) GetRunTime() *timestamp.Timestamp { if x != nil { return x.RunTime } @@ -1329,9 +1329,9 @@ var file_google_cloud_aiplatform_v1beta1_model_deployment_monitoring_job_proto_g (JobState)(0), // 12: google.cloud.aiplatform.v1beta1.JobState (*SamplingStrategy)(nil), // 13: google.cloud.aiplatform.v1beta1.SamplingStrategy (*ModelMonitoringAlertConfig)(nil), // 14: google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig - (*structpb.Value)(nil), // 15: google.protobuf.Value - (*durationpb.Duration)(nil), // 16: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp + (*_struct.Value)(nil), // 15: google.protobuf.Value + (*duration.Duration)(nil), // 16: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 17: google.protobuf.Timestamp (*GcsDestination)(nil), // 18: google.cloud.aiplatform.v1beta1.GcsDestination (*EncryptionSpec)(nil), // 19: google.cloud.aiplatform.v1beta1.EncryptionSpec (*status.Status)(nil), // 20: google.rpc.Status diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go index 634af9a4d66..01ccb3d9ffe 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/model_evaluation.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -56,9 +56,9 @@ type ModelEvaluation struct { MetricsSchemaUri string `protobuf:"bytes,2,opt,name=metrics_schema_uri,json=metricsSchemaUri,proto3" json:"metrics_schema_uri,omitempty"` // Evaluation metrics of the Model. The schema of the metrics is stored in // [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri] - Metrics *structpb.Value `protobuf:"bytes,3,opt,name=metrics,proto3" json:"metrics,omitempty"` + Metrics *_struct.Value `protobuf:"bytes,3,opt,name=metrics,proto3" json:"metrics,omitempty"` // Output only. Timestamp when this ModelEvaluation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // All possible [dimensions][ModelEvaluationSlice.slice.dimension] of // ModelEvaluationSlices. The dimensions can be used as the filter of the // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of @@ -75,7 +75,7 @@ type ModelEvaluation struct { // For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a // structured value with keys of "pipeline_job_id", "evaluation_dataset_type", // "evaluation_dataset_path". - Metadata *structpb.Value `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Value `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *ModelEvaluation) Reset() { @@ -131,14 +131,14 @@ func (x *ModelEvaluation) GetMetricsSchemaUri() string { return "" } -func (x *ModelEvaluation) GetMetrics() *structpb.Value { +func (x *ModelEvaluation) GetMetrics() *_struct.Value { if x != nil { return x.Metrics } return nil } -func (x *ModelEvaluation) GetCreateTime() *timestamppb.Timestamp { +func (x *ModelEvaluation) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -166,7 +166,7 @@ func (x *ModelEvaluation) GetExplanationSpecs() []*ModelEvaluation_ModelEvaluati return nil } -func (x *ModelEvaluation) GetMetadata() *structpb.Value { +func (x *ModelEvaluation) GetMetadata() *_struct.Value { if x != nil { return x.Metadata } @@ -342,8 +342,8 @@ var file_google_cloud_aiplatform_v1beta1_model_evaluation_proto_msgTypes = make( var file_google_cloud_aiplatform_v1beta1_model_evaluation_proto_goTypes = []interface{}{ (*ModelEvaluation)(nil), // 0: google.cloud.aiplatform.v1beta1.ModelEvaluation (*ModelEvaluation_ModelEvaluationExplanationSpec)(nil), // 1: google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec - (*structpb.Value)(nil), // 2: google.protobuf.Value - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*_struct.Value)(nil), // 2: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp (*ModelExplanation)(nil), // 4: google.cloud.aiplatform.v1beta1.ModelExplanation (*ExplanationSpec)(nil), // 5: google.cloud.aiplatform.v1beta1.ExplanationSpec } diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go index 031f536187f..083c32b729e 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -56,9 +56,9 @@ type ModelEvaluationSlice struct { MetricsSchemaUri string `protobuf:"bytes,3,opt,name=metrics_schema_uri,json=metricsSchemaUri,proto3" json:"metrics_schema_uri,omitempty"` // Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored // in [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.metrics_schema_uri] - Metrics *structpb.Value `protobuf:"bytes,4,opt,name=metrics,proto3" json:"metrics,omitempty"` + Metrics *_struct.Value `protobuf:"bytes,4,opt,name=metrics,proto3" json:"metrics,omitempty"` // Output only. Timestamp when this ModelEvaluationSlice was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *ModelEvaluationSlice) Reset() { @@ -114,14 +114,14 @@ func (x *ModelEvaluationSlice) GetMetricsSchemaUri() string { return "" } -func (x *ModelEvaluationSlice) GetMetrics() *structpb.Value { +func (x *ModelEvaluationSlice) GetMetrics() *_struct.Value { if x != nil { return x.Metrics } return nil } -func (x *ModelEvaluationSlice) GetCreateTime() *timestamppb.Timestamp { +func (x *ModelEvaluationSlice) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -274,8 +274,8 @@ var file_google_cloud_aiplatform_v1beta1_model_evaluation_slice_proto_msgTypes = var file_google_cloud_aiplatform_v1beta1_model_evaluation_slice_proto_goTypes = []interface{}{ (*ModelEvaluationSlice)(nil), // 0: google.cloud.aiplatform.v1beta1.ModelEvaluationSlice (*ModelEvaluationSlice_Slice)(nil), // 1: google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice - (*structpb.Value)(nil), // 2: google.protobuf.Value - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*_struct.Value)(nil), // 2: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_model_evaluation_slice_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.slice:type_name -> google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go index 025384d3b2d..0a4bde4e370 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/model_monitoring.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go index 9f202d53351..d518b7e3df7 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/model_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -328,7 +328,7 @@ type ListModelsRequest struct { // [ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListModelsRequest) Reset() { @@ -391,7 +391,7 @@ func (x *ListModelsRequest) GetPageToken() string { return "" } -func (x *ListModelsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListModelsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -485,7 +485,7 @@ type ListModelVersionsRequest struct { // - `labels.myKey="myValue"` Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListModelVersionsRequest) Reset() { @@ -548,7 +548,7 @@ func (x *ListModelVersionsRequest) GetFilter() string { return "" } -func (x *ListModelVersionsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListModelVersionsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -643,7 +643,7 @@ type UpdateModelRequest struct { Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Required. The update mask applies to the resource. // For the `FieldMask` definition, see [google.protobuf.FieldMask][google.protobuf.FieldMask]. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateModelRequest) Reset() { @@ -685,7 +685,7 @@ func (x *UpdateModelRequest) GetModel() *Model { return nil } -func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateModelRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1410,7 +1410,7 @@ type ListModelEvaluationsRequest struct { // [ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListModelEvaluationsRequest) Reset() { @@ -1473,7 +1473,7 @@ func (x *ListModelEvaluationsRequest) GetPageToken() string { return "" } -func (x *ListModelEvaluationsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListModelEvaluationsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1612,7 +1612,7 @@ type ListModelEvaluationSlicesRequest struct { // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListModelEvaluationSlicesRequest) Reset() { @@ -1675,7 +1675,7 @@ func (x *ListModelEvaluationSlicesRequest) GetPageToken() string { return "" } -func (x *ListModelEvaluationSlicesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListModelEvaluationSlicesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -2511,7 +2511,7 @@ var file_google_cloud_aiplatform_v1beta1_model_service_proto_goTypes = []interfa (*ExportModelOperationMetadata_OutputInfo)(nil), // 28: google.cloud.aiplatform.v1beta1.ExportModelOperationMetadata.OutputInfo (*Model)(nil), // 29: google.cloud.aiplatform.v1beta1.Model (*GenericOperationMetadata)(nil), // 30: google.cloud.aiplatform.v1beta1.GenericOperationMetadata - (*fieldmaskpb.FieldMask)(nil), // 31: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 31: google.protobuf.FieldMask (*Examples)(nil), // 32: google.cloud.aiplatform.v1beta1.Examples (*ModelEvaluation)(nil), // 33: google.cloud.aiplatform.v1beta1.ModelEvaluation (*ModelEvaluationSlice)(nil), // 34: google.cloud.aiplatform.v1beta1.ModelEvaluationSlice diff --git a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go index 6ec9ce398ea..439dc6f022a 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/operation.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -50,11 +50,11 @@ type GenericOperationMetadata struct { // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,1,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Output only. Time when the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the operation was updated for the last time. // If the operation has finished (successfully or not), this is the finish // time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *GenericOperationMetadata) Reset() { @@ -96,14 +96,14 @@ func (x *GenericOperationMetadata) GetPartialFailures() []*status.Status { return nil } -func (x *GenericOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *GenericOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GenericOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *GenericOperationMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -230,7 +230,7 @@ var file_google_cloud_aiplatform_v1beta1_operation_proto_goTypes = []interface{} (*GenericOperationMetadata)(nil), // 0: google.cloud.aiplatform.v1beta1.GenericOperationMetadata (*DeleteOperationMetadata)(nil), // 1: google.cloud.aiplatform.v1beta1.DeleteOperationMetadata (*status.Status)(nil), // 2: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_operation_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.GenericOperationMetadata.partial_failures:type_name -> google.rpc.Status diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go index c5dfdc453d1..4f9c3a17c53 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go index ba482f0e926..ad31fcae0dc 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/pipeline_job.proto package aiplatformpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -135,15 +135,15 @@ type PipelineJob struct { // characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Pipeline creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Pipeline start time. - StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Pipeline end time. - EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Timestamp when this PipelineJob was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The spec of the pipeline. - PipelineSpec *structpb.Struct `protobuf:"bytes,7,opt,name=pipeline_spec,json=pipelineSpec,proto3" json:"pipeline_spec,omitempty"` + PipelineSpec *_struct.Struct `protobuf:"bytes,7,opt,name=pipeline_spec,json=pipelineSpec,proto3" json:"pipeline_spec,omitempty"` // Output only. The detailed state of the job. State PipelineState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.aiplatform.v1beta1.PipelineState" json:"state,omitempty"` // Output only. The details of pipeline run. Not available in the list view. @@ -242,35 +242,35 @@ func (x *PipelineJob) GetDisplayName() string { return "" } -func (x *PipelineJob) GetCreateTime() *timestamppb.Timestamp { +func (x *PipelineJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *PipelineJob) GetStartTime() *timestamppb.Timestamp { +func (x *PipelineJob) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *PipelineJob) GetEndTime() *timestamppb.Timestamp { +func (x *PipelineJob) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *PipelineJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *PipelineJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *PipelineJob) GetPipelineSpec() *structpb.Struct { +func (x *PipelineJob) GetPipelineSpec() *_struct.Struct { if x != nil { return x.PipelineSpec } @@ -485,11 +485,11 @@ type PipelineTaskDetail struct { // [PipelineJob.spec][]. TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` // Output only. Task create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Task start time. - StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Task end time. - EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The detailed execution info. ExecutorDetail *PipelineTaskExecutorDetail `protobuf:"bytes,6,opt,name=executor_detail,json=executorDetail,proto3" json:"executor_detail,omitempty"` // Output only. State of the task. @@ -561,21 +561,21 @@ func (x *PipelineTaskDetail) GetTaskName() string { return "" } -func (x *PipelineTaskDetail) GetCreateTime() *timestamppb.Timestamp { +func (x *PipelineTaskDetail) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *PipelineTaskDetail) GetStartTime() *timestamppb.Timestamp { +func (x *PipelineTaskDetail) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *PipelineTaskDetail) GetEndTime() *timestamppb.Timestamp { +func (x *PipelineTaskDetail) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -746,7 +746,7 @@ type PipelineJob_RuntimeConfig struct { // at runtime. This field is used by pipelines built using // `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built // using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. - ParameterValues map[string]*structpb.Value `protobuf:"bytes,3,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParameterValues map[string]*_struct.Value `protobuf:"bytes,3,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Represents the failure policy of a pipeline. Currently, the default of a // pipeline is that the pipeline will continue to run until no more tasks // can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. @@ -806,7 +806,7 @@ func (x *PipelineJob_RuntimeConfig) GetGcsOutputDirectory() string { return "" } -func (x *PipelineJob_RuntimeConfig) GetParameterValues() map[string]*structpb.Value { +func (x *PipelineJob_RuntimeConfig) GetParameterValues() map[string]*_struct.Value { if x != nil { return x.ParameterValues } @@ -908,7 +908,7 @@ type PipelineTaskDetail_PipelineTaskStatus struct { unknownFields protoimpl.UnknownFields // Output only. Update time of this status. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The state of the task. State PipelineTaskDetail_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.aiplatform.v1beta1.PipelineTaskDetail_State" json:"state,omitempty"` // Output only. The error that occurred during the state. May be set when the state is @@ -952,7 +952,7 @@ func (*PipelineTaskDetail_PipelineTaskStatus) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_pipeline_job_proto_rawDescGZIP(), []int{3, 0} } -func (x *PipelineTaskDetail_PipelineTaskStatus) GetUpdateTime() *timestamppb.Timestamp { +func (x *PipelineTaskDetail_PipelineTaskStatus) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1533,8 +1533,8 @@ var file_google_cloud_aiplatform_v1beta1_pipeline_job_proto_goTypes = []interfac nil, // 15: google.cloud.aiplatform.v1beta1.PipelineTaskDetail.OutputsEntry (*PipelineTaskExecutorDetail_ContainerDetail)(nil), // 16: google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.ContainerDetail (*PipelineTaskExecutorDetail_CustomJobDetail)(nil), // 17: google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 19: google.protobuf.Struct + (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 19: google.protobuf.Struct (PipelineState)(0), // 20: google.cloud.aiplatform.v1beta1.PipelineState (*status.Status)(nil), // 21: google.rpc.Status (*EncryptionSpec)(nil), // 22: google.cloud.aiplatform.v1beta1.EncryptionSpec @@ -1542,7 +1542,7 @@ var file_google_cloud_aiplatform_v1beta1_pipeline_job_proto_goTypes = []interfac (*Execution)(nil), // 24: google.cloud.aiplatform.v1beta1.Execution (PipelineFailurePolicy)(0), // 25: google.cloud.aiplatform.v1beta1.PipelineFailurePolicy (*Value)(nil), // 26: google.cloud.aiplatform.v1beta1.Value - (*structpb.Value)(nil), // 27: google.protobuf.Value + (*_struct.Value)(nil), // 27: google.protobuf.Value (*Artifact)(nil), // 28: google.cloud.aiplatform.v1beta1.Artifact } var file_google_cloud_aiplatform_v1beta1_pipeline_job_proto_depIdxs = []int32{ diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go index d32b2b3e3c1..1e394cb6365 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/pipeline_service.proto package aiplatformpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -191,7 +191,7 @@ type ListTrainingPipelinesRequest struct { // [PipelineService.ListTrainingPipelines][google.cloud.aiplatform.v1beta1.PipelineService.ListTrainingPipelines] call. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListTrainingPipelinesRequest) Reset() { @@ -254,7 +254,7 @@ func (x *ListTrainingPipelinesRequest) GetPageToken() string { return "" } -func (x *ListTrainingPipelinesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListTrainingPipelinesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -612,7 +612,7 @@ type ListPipelineJobsRequest struct { // - `start_time` OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListPipelineJobsRequest) Reset() { @@ -682,7 +682,7 @@ func (x *ListPipelineJobsRequest) GetOrderBy() string { return "" } -func (x *ListPipelineJobsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListPipelineJobsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1183,10 +1183,10 @@ var file_google_cloud_aiplatform_v1beta1_pipeline_service_proto_goTypes = []inte (*DeletePipelineJobRequest)(nil), // 10: google.cloud.aiplatform.v1beta1.DeletePipelineJobRequest (*CancelPipelineJobRequest)(nil), // 11: google.cloud.aiplatform.v1beta1.CancelPipelineJobRequest (*TrainingPipeline)(nil), // 12: google.cloud.aiplatform.v1beta1.TrainingPipeline - (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 13: google.protobuf.FieldMask (*PipelineJob)(nil), // 14: google.cloud.aiplatform.v1beta1.PipelineJob (*longrunning.Operation)(nil), // 15: google.longrunning.Operation - (*emptypb.Empty)(nil), // 16: google.protobuf.Empty + (*empty.Empty)(nil), // 16: google.protobuf.Empty } var file_google_cloud_aiplatform_v1beta1_pipeline_service_proto_depIdxs = []int32{ 12, // 0: google.cloud.aiplatform.v1beta1.CreateTrainingPipelineRequest.training_pipeline:type_name -> google.cloud.aiplatform.v1beta1.TrainingPipeline @@ -1426,7 +1426,7 @@ type PipelineServiceClient interface { // a [TrainingPipeline.error][google.cloud.aiplatform.v1beta1.TrainingPipeline.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`, and [TrainingPipeline.state][google.cloud.aiplatform.v1beta1.TrainingPipeline.state] is set to // `CANCELLED`. - CancelTrainingPipeline(ctx context.Context, in *CancelTrainingPipelineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelTrainingPipeline(ctx context.Context, in *CancelTrainingPipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a PipelineJob. A PipelineJob will run immediately when created. CreatePipelineJob(ctx context.Context, in *CreatePipelineJobRequest, opts ...grpc.CallOption) (*PipelineJob, error) // Gets a PipelineJob. @@ -1445,7 +1445,7 @@ type PipelineServiceClient interface { // a [PipelineJob.error][google.cloud.aiplatform.v1beta1.PipelineJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`, and [PipelineJob.state][google.cloud.aiplatform.v1beta1.PipelineJob.state] is set to // `CANCELLED`. - CancelPipelineJob(ctx context.Context, in *CancelPipelineJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelPipelineJob(ctx context.Context, in *CancelPipelineJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type pipelineServiceClient struct { @@ -1492,8 +1492,8 @@ func (c *pipelineServiceClient) DeleteTrainingPipeline(ctx context.Context, in * return out, nil } -func (c *pipelineServiceClient) CancelTrainingPipeline(ctx context.Context, in *CancelTrainingPipelineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *pipelineServiceClient) CancelTrainingPipeline(ctx context.Context, in *CancelTrainingPipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.PipelineService/CancelTrainingPipeline", in, out, opts...) if err != nil { return nil, err @@ -1537,8 +1537,8 @@ func (c *pipelineServiceClient) DeletePipelineJob(ctx context.Context, in *Delet return out, nil } -func (c *pipelineServiceClient) CancelPipelineJob(ctx context.Context, in *CancelPipelineJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *pipelineServiceClient) CancelPipelineJob(ctx context.Context, in *CancelPipelineJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.PipelineService/CancelPipelineJob", in, out, opts...) if err != nil { return nil, err @@ -1567,7 +1567,7 @@ type PipelineServiceServer interface { // a [TrainingPipeline.error][google.cloud.aiplatform.v1beta1.TrainingPipeline.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`, and [TrainingPipeline.state][google.cloud.aiplatform.v1beta1.TrainingPipeline.state] is set to // `CANCELLED`. - CancelTrainingPipeline(context.Context, *CancelTrainingPipelineRequest) (*emptypb.Empty, error) + CancelTrainingPipeline(context.Context, *CancelTrainingPipelineRequest) (*empty.Empty, error) // Creates a PipelineJob. A PipelineJob will run immediately when created. CreatePipelineJob(context.Context, *CreatePipelineJobRequest) (*PipelineJob, error) // Gets a PipelineJob. @@ -1586,7 +1586,7 @@ type PipelineServiceServer interface { // a [PipelineJob.error][google.cloud.aiplatform.v1beta1.PipelineJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`, and [PipelineJob.state][google.cloud.aiplatform.v1beta1.PipelineJob.state] is set to // `CANCELLED`. - CancelPipelineJob(context.Context, *CancelPipelineJobRequest) (*emptypb.Empty, error) + CancelPipelineJob(context.Context, *CancelPipelineJobRequest) (*empty.Empty, error) } // UnimplementedPipelineServiceServer can be embedded to have forward compatible implementations. @@ -1605,7 +1605,7 @@ func (*UnimplementedPipelineServiceServer) ListTrainingPipelines(context.Context func (*UnimplementedPipelineServiceServer) DeleteTrainingPipeline(context.Context, *DeleteTrainingPipelineRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTrainingPipeline not implemented") } -func (*UnimplementedPipelineServiceServer) CancelTrainingPipeline(context.Context, *CancelTrainingPipelineRequest) (*emptypb.Empty, error) { +func (*UnimplementedPipelineServiceServer) CancelTrainingPipeline(context.Context, *CancelTrainingPipelineRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelTrainingPipeline not implemented") } func (*UnimplementedPipelineServiceServer) CreatePipelineJob(context.Context, *CreatePipelineJobRequest) (*PipelineJob, error) { @@ -1620,7 +1620,7 @@ func (*UnimplementedPipelineServiceServer) ListPipelineJobs(context.Context, *Li func (*UnimplementedPipelineServiceServer) DeletePipelineJob(context.Context, *DeletePipelineJobRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePipelineJob not implemented") } -func (*UnimplementedPipelineServiceServer) CancelPipelineJob(context.Context, *CancelPipelineJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedPipelineServiceServer) CancelPipelineJob(context.Context, *CancelPipelineJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelPipelineJob not implemented") } diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go index 01c80027c17..656b4e495e6 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/pipeline_state.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go index 12ca166ab93..aabbb2514cd 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/prediction_service.proto package aiplatformpb @@ -25,6 +25,7 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -32,7 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -61,12 +61,12 @@ type PredictRequest struct { // DeployedModels' [Model's][google.cloud.aiplatform.v1beta1.DeployedModel.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri]. - Instances []*structpb.Value `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` + Instances []*_struct.Value `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` // The parameters that govern the prediction. The schema of the parameters may // be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri]. - Parameters *structpb.Value `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *_struct.Value `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` } func (x *PredictRequest) Reset() { @@ -108,14 +108,14 @@ func (x *PredictRequest) GetEndpoint() string { return "" } -func (x *PredictRequest) GetInstances() []*structpb.Value { +func (x *PredictRequest) GetInstances() []*_struct.Value { if x != nil { return x.Instances } return nil } -func (x *PredictRequest) GetParameters() *structpb.Value { +func (x *PredictRequest) GetParameters() *_struct.Value { if x != nil { return x.Parameters } @@ -133,7 +133,7 @@ type PredictResponse struct { // DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri]. - Predictions []*structpb.Value `protobuf:"bytes,1,rep,name=predictions,proto3" json:"predictions,omitempty"` + Predictions []*_struct.Value `protobuf:"bytes,1,rep,name=predictions,proto3" json:"predictions,omitempty"` // ID of the Endpoint's DeployedModel that served this prediction. DeployedModelId string `protobuf:"bytes,2,opt,name=deployed_model_id,json=deployedModelId,proto3" json:"deployed_model_id,omitempty"` // Output only. The resource name of the Model which is deployed as the DeployedModel that @@ -179,7 +179,7 @@ func (*PredictResponse) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_prediction_service_proto_rawDescGZIP(), []int{1} } -func (x *PredictResponse) GetPredictions() []*structpb.Value { +func (x *PredictResponse) GetPredictions() []*_struct.Value { if x != nil { return x.Predictions } @@ -305,12 +305,12 @@ type ExplainRequest struct { // DeployedModels' [Model's][google.cloud.aiplatform.v1beta1.DeployedModel.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri]. - Instances []*structpb.Value `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` + Instances []*_struct.Value `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` // The parameters that govern the prediction. The schema of the parameters may // be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri]. - Parameters *structpb.Value `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *_struct.Value `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` // If specified, overrides the // [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] of the DeployedModel. // Can be used for explaining prediction results with different @@ -364,14 +364,14 @@ func (x *ExplainRequest) GetEndpoint() string { return "" } -func (x *ExplainRequest) GetInstances() []*structpb.Value { +func (x *ExplainRequest) GetInstances() []*_struct.Value { if x != nil { return x.Instances } return nil } -func (x *ExplainRequest) GetParameters() *structpb.Value { +func (x *ExplainRequest) GetParameters() *_struct.Value { if x != nil { return x.Parameters } @@ -407,7 +407,7 @@ type ExplainResponse struct { DeployedModelId string `protobuf:"bytes,2,opt,name=deployed_model_id,json=deployedModelId,proto3" json:"deployed_model_id,omitempty"` // The predictions that are the output of the predictions call. // Same as [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. - Predictions []*structpb.Value `protobuf:"bytes,3,rep,name=predictions,proto3" json:"predictions,omitempty"` + Predictions []*_struct.Value `protobuf:"bytes,3,rep,name=predictions,proto3" json:"predictions,omitempty"` } func (x *ExplainResponse) Reset() { @@ -456,7 +456,7 @@ func (x *ExplainResponse) GetDeployedModelId() string { return "" } -func (x *ExplainResponse) GetPredictions() []*structpb.Value { +func (x *ExplainResponse) GetPredictions() []*_struct.Value { if x != nil { return x.Predictions } @@ -645,7 +645,7 @@ var file_google_cloud_aiplatform_v1beta1_prediction_service_proto_goTypes = []in (*RawPredictRequest)(nil), // 2: google.cloud.aiplatform.v1beta1.RawPredictRequest (*ExplainRequest)(nil), // 3: google.cloud.aiplatform.v1beta1.ExplainRequest (*ExplainResponse)(nil), // 4: google.cloud.aiplatform.v1beta1.ExplainResponse - (*structpb.Value)(nil), // 5: google.protobuf.Value + (*_struct.Value)(nil), // 5: google.protobuf.Value (*httpbody.HttpBody)(nil), // 6: google.api.HttpBody (*ExplanationSpecOverride)(nil), // 7: google.cloud.aiplatform.v1beta1.ExplanationSpecOverride (*Explanation)(nil), // 8: google.cloud.aiplatform.v1beta1.Explanation diff --git a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go index 47c763887dd..30aed42d3ec 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/saved_query.proto package aiplatformpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -52,11 +52,11 @@ type SavedQuery struct { // characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Some additional information about the SavedQuery. - Metadata *structpb.Value `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Value `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` // Output only. Timestamp when this SavedQuery was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when SavedQuery was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Filters on the Annotations in the dataset. AnnotationFilter string `protobuf:"bytes,5,opt,name=annotation_filter,json=annotationFilter,proto3" json:"annotation_filter,omitempty"` // Required. Problem type of the SavedQuery. @@ -129,21 +129,21 @@ func (x *SavedQuery) GetDisplayName() string { return "" } -func (x *SavedQuery) GetMetadata() *structpb.Value { +func (x *SavedQuery) GetMetadata() *_struct.Value { if x != nil { return x.Metadata } return nil } -func (x *SavedQuery) GetCreateTime() *timestamppb.Timestamp { +func (x *SavedQuery) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *SavedQuery) GetUpdateTime() *timestamppb.Timestamp { +func (x *SavedQuery) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -272,9 +272,9 @@ func file_google_cloud_aiplatform_v1beta1_saved_query_proto_rawDescGZIP() []byte var file_google_cloud_aiplatform_v1beta1_saved_query_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_aiplatform_v1beta1_saved_query_proto_goTypes = []interface{}{ - (*SavedQuery)(nil), // 0: google.cloud.aiplatform.v1beta1.SavedQuery - (*structpb.Value)(nil), // 1: google.protobuf.Value - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*SavedQuery)(nil), // 0: google.cloud.aiplatform.v1beta1.SavedQuery + (*_struct.Value)(nil), // 1: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_saved_query_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.SavedQuery.metadata:type_name -> google.protobuf.Value diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go index 563d266d2ff..6bc0f4f97f0 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/specialist_pool.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go index beb9d119e67..0efd36ccfba 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/specialist_pool_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -219,7 +219,7 @@ type ListSpecialistPoolsRequest struct { // first page if empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Mask specifying which fields to read. FieldMask represents a set of - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListSpecialistPoolsRequest) Reset() { @@ -275,7 +275,7 @@ func (x *ListSpecialistPoolsRequest) GetPageToken() string { return "" } -func (x *ListSpecialistPoolsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListSpecialistPoolsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -410,7 +410,7 @@ type UpdateSpecialistPoolRequest struct { // Required. The SpecialistPool which replaces the resource on the server. SpecialistPool *SpecialistPool `protobuf:"bytes,1,opt,name=specialist_pool,json=specialistPool,proto3" json:"specialist_pool,omitempty"` // Required. The update mask applies to the resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSpecialistPoolRequest) Reset() { @@ -452,7 +452,7 @@ func (x *UpdateSpecialistPoolRequest) GetSpecialistPool() *SpecialistPool { return nil } -func (x *UpdateSpecialistPoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSpecialistPoolRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -760,7 +760,7 @@ var file_google_cloud_aiplatform_v1beta1_specialist_pool_service_proto_goTypes = (*UpdateSpecialistPoolOperationMetadata)(nil), // 7: google.cloud.aiplatform.v1beta1.UpdateSpecialistPoolOperationMetadata (*SpecialistPool)(nil), // 8: google.cloud.aiplatform.v1beta1.SpecialistPool (*GenericOperationMetadata)(nil), // 9: google.cloud.aiplatform.v1beta1.GenericOperationMetadata - (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 10: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 11: google.longrunning.Operation } var file_google_cloud_aiplatform_v1beta1_specialist_pool_service_proto_depIdxs = []int32{ diff --git a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go index a4109ecc198..dd03e5801a7 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/study.proto package aiplatformpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -476,7 +476,7 @@ type Study struct { // Output only. The detailed state of a Study. State Study_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.aiplatform.v1beta1.Study_State" json:"state,omitempty"` // Output only. Time at which the study was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. A human readable reason why the Study is inactive. // This should be empty if a study is ACTIVE or COMPLETED. InactiveReason string `protobuf:"bytes,6,opt,name=inactive_reason,json=inactiveReason,proto3" json:"inactive_reason,omitempty"` @@ -542,7 +542,7 @@ func (x *Study) GetState() Study_State { return Study_STATE_UNSPECIFIED } -func (x *Study) GetCreateTime() *timestamppb.Timestamp { +func (x *Study) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -579,9 +579,9 @@ type Trial struct { // These are used for early stopping computations. Measurements []*Measurement `protobuf:"bytes,6,rep,name=measurements,proto3" json:"measurements,omitempty"` // Output only. Time when the Trial was started. - StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`. - EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The identifier of the client that originally requested this Trial. // Each client is identified by a unique client_id. When a client // asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client @@ -687,14 +687,14 @@ func (x *Trial) GetMeasurements() []*Measurement { return nil } -func (x *Trial) GetStartTime() *timestamppb.Timestamp { +func (x *Trial) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Trial) GetEndTime() *timestamppb.Timestamp { +func (x *Trial) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -913,7 +913,7 @@ type Measurement struct { unknownFields protoimpl.UnknownFields // Output only. Time that the Trial has been running at the point of this Measurement. - ElapsedDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=elapsed_duration,json=elapsedDuration,proto3" json:"elapsed_duration,omitempty"` + ElapsedDuration *duration.Duration `protobuf:"bytes,1,opt,name=elapsed_duration,json=elapsedDuration,proto3" json:"elapsed_duration,omitempty"` // Output only. The number of steps the machine learning model has been trained for. // Must be non-negative. StepCount int64 `protobuf:"varint,2,opt,name=step_count,json=stepCount,proto3" json:"step_count,omitempty"` @@ -954,7 +954,7 @@ func (*Measurement) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_study_proto_rawDescGZIP(), []int{3} } -func (x *Measurement) GetElapsedDuration() *durationpb.Duration { +func (x *Measurement) GetElapsedDuration() *duration.Duration { if x != nil { return x.ElapsedDuration } @@ -989,7 +989,7 @@ type Trial_Parameter struct { // in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. // `string_value` will be set if a parameter defined in StudySpec is // in type 'CATEGORICAL'. - Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value *_struct.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *Trial_Parameter) Reset() { @@ -1031,7 +1031,7 @@ func (x *Trial_Parameter) GetParameterId() string { return "" } -func (x *Trial_Parameter) GetValue() *structpb.Value { +func (x *Trial_Parameter) GetValue() *_struct.Value { if x != nil { return x.Value } @@ -2741,10 +2741,10 @@ var file_google_cloud_aiplatform_v1beta1_study_proto_goTypes = []interface{}{ (*StudySpec_ParameterSpec_ConditionalParameterSpec_DiscreteValueCondition)(nil), // 25: google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition (*StudySpec_ParameterSpec_ConditionalParameterSpec_IntValueCondition)(nil), // 26: google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition (*StudySpec_ParameterSpec_ConditionalParameterSpec_CategoricalValueCondition)(nil), // 27: google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition - (*Measurement_Metric)(nil), // 28: google.cloud.aiplatform.v1beta1.Measurement.Metric - (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 30: google.protobuf.Duration - (*structpb.Value)(nil), // 31: google.protobuf.Value + (*Measurement_Metric)(nil), // 28: google.cloud.aiplatform.v1beta1.Measurement.Metric + (*timestamp.Timestamp)(nil), // 29: google.protobuf.Timestamp + (*duration.Duration)(nil), // 30: google.protobuf.Duration + (*_struct.Value)(nil), // 31: google.protobuf.Value } var file_google_cloud_aiplatform_v1beta1_study_proto_depIdxs = []int32{ 9, // 0: google.cloud.aiplatform.v1beta1.Study.study_spec:type_name -> google.cloud.aiplatform.v1beta1.StudySpec diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go index 12c0644b202..adb5f7871e5 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/tensorboard.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -63,9 +63,9 @@ type Tensorboard struct { // Output only. The number of Runs stored in this Tensorboard. RunCount int32 `protobuf:"varint,5,opt,name=run_count,json=runCount,proto3" json:"run_count,omitempty"` // Output only. Timestamp when this Tensorboard was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Tensorboard was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels with user-defined metadata to organize your Tensorboards. // // Label keys and values can be no longer than 64 characters @@ -157,14 +157,14 @@ func (x *Tensorboard) GetRunCount() int32 { return 0 } -func (x *Tensorboard) GetCreateTime() *timestamppb.Timestamp { +func (x *Tensorboard) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Tensorboard) GetUpdateTime() *timestamppb.Timestamp { +func (x *Tensorboard) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -279,10 +279,10 @@ func file_google_cloud_aiplatform_v1beta1_tensorboard_proto_rawDescGZIP() []byte var file_google_cloud_aiplatform_v1beta1_tensorboard_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_tensorboard_proto_goTypes = []interface{}{ - (*Tensorboard)(nil), // 0: google.cloud.aiplatform.v1beta1.Tensorboard - nil, // 1: google.cloud.aiplatform.v1beta1.Tensorboard.LabelsEntry - (*EncryptionSpec)(nil), // 2: google.cloud.aiplatform.v1beta1.EncryptionSpec - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*Tensorboard)(nil), // 0: google.cloud.aiplatform.v1beta1.Tensorboard + nil, // 1: google.cloud.aiplatform.v1beta1.Tensorboard.LabelsEntry + (*EncryptionSpec)(nil), // 2: google.cloud.aiplatform.v1beta1.EncryptionSpec + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_tensorboard_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.Tensorboard.encryption_spec:type_name -> google.cloud.aiplatform.v1beta1.EncryptionSpec diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go index b89c05bbd18..2a2ecd0f4ea 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/tensorboard_data.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -121,7 +121,7 @@ type TimeSeriesDataPoint struct { // *TimeSeriesDataPoint_Blobs Value isTimeSeriesDataPoint_Value `protobuf_oneof:"value"` // Wall clock timestamp when this data point is generated by the end user. - WallTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"` + WallTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"` // Step index of this data point within the run. Step int64 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"` } @@ -186,7 +186,7 @@ func (x *TimeSeriesDataPoint) GetBlobs() *TensorboardBlobSequence { return nil } -func (x *TimeSeriesDataPoint) GetWallTime() *timestamppb.Timestamp { +func (x *TimeSeriesDataPoint) GetWallTime() *timestamp.Timestamp { if x != nil { return x.WallTime } @@ -555,7 +555,7 @@ var file_google_cloud_aiplatform_v1beta1_tensorboard_data_proto_goTypes = []inte (*TensorboardBlobSequence)(nil), // 4: google.cloud.aiplatform.v1beta1.TensorboardBlobSequence (*TensorboardBlob)(nil), // 5: google.cloud.aiplatform.v1beta1.TensorboardBlob (TensorboardTimeSeries_ValueType)(0), // 6: google.cloud.aiplatform.v1beta1.TensorboardTimeSeries.ValueType - (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 7: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_tensorboard_data_proto_depIdxs = []int32{ 6, // 0: google.cloud.aiplatform.v1beta1.TimeSeriesData.value_type:type_name -> google.cloud.aiplatform.v1beta1.TensorboardTimeSeries.ValueType diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go index 7d2db70e361..58d79a7475c 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -53,9 +53,9 @@ type TensorboardExperiment struct { // Description of this TensorboardExperiment. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. Timestamp when this TensorboardExperiment was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this TensorboardExperiment was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels with user-defined metadata to organize your Datasets. // // Label keys and values can be no longer than 64 characters @@ -131,14 +131,14 @@ func (x *TensorboardExperiment) GetDescription() string { return "" } -func (x *TensorboardExperiment) GetCreateTime() *timestamppb.Timestamp { +func (x *TensorboardExperiment) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *TensorboardExperiment) GetUpdateTime() *timestamppb.Timestamp { +func (x *TensorboardExperiment) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -253,7 +253,7 @@ var file_google_cloud_aiplatform_v1beta1_tensorboard_experiment_proto_msgTypes = var file_google_cloud_aiplatform_v1beta1_tensorboard_experiment_proto_goTypes = []interface{}{ (*TensorboardExperiment)(nil), // 0: google.cloud.aiplatform.v1beta1.TensorboardExperiment nil, // 1: google.cloud.aiplatform.v1beta1.TensorboardExperiment.LabelsEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_tensorboard_experiment_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.TensorboardExperiment.create_time:type_name -> google.protobuf.Timestamp diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go index 104f105c4d2..903c6288e4e 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/tensorboard_run.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -55,9 +55,9 @@ type TensorboardRun struct { // Description of this TensorboardRun. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. Timestamp when this TensorboardRun was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this TensorboardRun was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels with user-defined metadata to organize your TensorboardRuns. // // This field will be used to filter and visualize Runs in the Tensorboard UI. @@ -135,14 +135,14 @@ func (x *TensorboardRun) GetDescription() string { return "" } -func (x *TensorboardRun) GetCreateTime() *timestamppb.Timestamp { +func (x *TensorboardRun) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *TensorboardRun) GetUpdateTime() *timestamppb.Timestamp { +func (x *TensorboardRun) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -245,9 +245,9 @@ func file_google_cloud_aiplatform_v1beta1_tensorboard_run_proto_rawDescGZIP() [] var file_google_cloud_aiplatform_v1beta1_tensorboard_run_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_aiplatform_v1beta1_tensorboard_run_proto_goTypes = []interface{}{ - (*TensorboardRun)(nil), // 0: google.cloud.aiplatform.v1beta1.TensorboardRun - nil, // 1: google.cloud.aiplatform.v1beta1.TensorboardRun.LabelsEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*TensorboardRun)(nil), // 0: google.cloud.aiplatform.v1beta1.TensorboardRun + nil, // 1: google.cloud.aiplatform.v1beta1.TensorboardRun.LabelsEntry + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_tensorboard_run_proto_depIdxs = []int32{ 2, // 0: google.cloud.aiplatform.v1beta1.TensorboardRun.create_time:type_name -> google.protobuf.Timestamp diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go index 19a61c28453..458ab20207c 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/tensorboard_service.proto package aiplatformpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -180,7 +180,7 @@ type ListTensorboardsRequest struct { // Field to use to sort the list. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListTensorboardsRequest) Reset() { @@ -250,7 +250,7 @@ func (x *ListTensorboardsRequest) GetOrderBy() string { return "" } -func (x *ListTensorboardsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListTensorboardsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -329,7 +329,7 @@ type UpdateTensorboardRequest struct { // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten if new // values are specified. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The Tensorboard's `name` field is used to identify the // Tensorboard to be updated. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` @@ -368,7 +368,7 @@ func (*UpdateTensorboardRequest) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_tensorboard_service_proto_rawDescGZIP(), []int{4} } -func (x *UpdateTensorboardRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTensorboardRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -585,7 +585,7 @@ type ListTensorboardExperimentsRequest struct { // Field to use to sort the list. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListTensorboardExperimentsRequest) Reset() { @@ -655,7 +655,7 @@ func (x *ListTensorboardExperimentsRequest) GetOrderBy() string { return "" } -func (x *ListTensorboardExperimentsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListTensorboardExperimentsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -734,7 +734,7 @@ type UpdateTensorboardExperimentRequest struct { // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten if new // values are specified. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The TensorboardExperiment's `name` field is used to identify the // TensorboardExperiment to be updated. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` @@ -773,7 +773,7 @@ func (*UpdateTensorboardExperimentRequest) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_tensorboard_service_proto_rawDescGZIP(), []int{10} } -func (x *UpdateTensorboardExperimentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTensorboardExperimentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1211,7 +1211,7 @@ type ListTensorboardRunsRequest struct { // Field to use to sort the list. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListTensorboardRunsRequest) Reset() { @@ -1281,7 +1281,7 @@ func (x *ListTensorboardRunsRequest) GetOrderBy() string { return "" } -func (x *ListTensorboardRunsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListTensorboardRunsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1360,7 +1360,7 @@ type UpdateTensorboardRunRequest struct { // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten if new // values are specified. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The TensorboardRun's `name` field is used to identify the TensorboardRun to // be updated. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` @@ -1399,7 +1399,7 @@ func (*UpdateTensorboardRunRequest) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_tensorboard_service_proto_rawDescGZIP(), []int{20} } -func (x *UpdateTensorboardRunRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTensorboardRunRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1730,7 +1730,7 @@ type ListTensorboardTimeSeriesRequest struct { // Field to use to sort the list. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Mask specifying which fields to read. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListTensorboardTimeSeriesRequest) Reset() { @@ -1800,7 +1800,7 @@ func (x *ListTensorboardTimeSeriesRequest) GetOrderBy() string { return "" } -func (x *ListTensorboardTimeSeriesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListTensorboardTimeSeriesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -1879,7 +1879,7 @@ type UpdateTensorboardTimeSeriesRequest struct { // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten if new // values are specified. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The TensorboardTimeSeries' `name` field is used to identify the // TensorboardTimeSeries to be updated. // Format: @@ -1919,7 +1919,7 @@ func (*UpdateTensorboardTimeSeriesRequest) Descriptor() ([]byte, []int) { return file_google_cloud_aiplatform_v1beta1_tensorboard_service_proto_rawDescGZIP(), []int{28} } -func (x *UpdateTensorboardTimeSeriesRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTensorboardTimeSeriesRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3760,7 +3760,7 @@ var file_google_cloud_aiplatform_v1beta1_tensorboard_service_proto_goTypes = []i (*CreateTensorboardOperationMetadata)(nil), // 40: google.cloud.aiplatform.v1beta1.CreateTensorboardOperationMetadata (*UpdateTensorboardOperationMetadata)(nil), // 41: google.cloud.aiplatform.v1beta1.UpdateTensorboardOperationMetadata (*Tensorboard)(nil), // 42: google.cloud.aiplatform.v1beta1.Tensorboard - (*fieldmaskpb.FieldMask)(nil), // 43: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 43: google.protobuf.FieldMask (*TensorboardExperiment)(nil), // 44: google.cloud.aiplatform.v1beta1.TensorboardExperiment (*TensorboardRun)(nil), // 45: google.cloud.aiplatform.v1beta1.TensorboardRun (*TensorboardBlob)(nil), // 46: google.cloud.aiplatform.v1beta1.TensorboardBlob diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go index 2de8c0d4939..921493ec49d 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto package aiplatformpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -114,9 +114,9 @@ type TensorboardTimeSeries struct { // Required. Immutable. Type of TensorboardTimeSeries value. ValueType TensorboardTimeSeries_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=google.cloud.aiplatform.v1beta1.TensorboardTimeSeries_ValueType" json:"value_type,omitempty"` // Output only. Timestamp when this TensorboardTimeSeries was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this TensorboardTimeSeries was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"` @@ -189,14 +189,14 @@ func (x *TensorboardTimeSeries) GetValueType() TensorboardTimeSeries_ValueType { return TensorboardTimeSeries_VALUE_TYPE_UNSPECIFIED } -func (x *TensorboardTimeSeries) GetCreateTime() *timestamppb.Timestamp { +func (x *TensorboardTimeSeries) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *TensorboardTimeSeries) GetUpdateTime() *timestamppb.Timestamp { +func (x *TensorboardTimeSeries) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -241,7 +241,7 @@ type TensorboardTimeSeries_Metadata struct { MaxStep int64 `protobuf:"varint,1,opt,name=max_step,json=maxStep,proto3" json:"max_step,omitempty"` // Output only. Max wall clock timestamp of all data points within a // TensorboardTimeSeries. - MaxWallTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=max_wall_time,json=maxWallTime,proto3" json:"max_wall_time,omitempty"` + MaxWallTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=max_wall_time,json=maxWallTime,proto3" json:"max_wall_time,omitempty"` // Output only. The largest blob sequence length (number of blobs) of all data points in // this time series, if its ValueType is BLOB_SEQUENCE. MaxBlobSequenceLength int64 `protobuf:"varint,3,opt,name=max_blob_sequence_length,json=maxBlobSequenceLength,proto3" json:"max_blob_sequence_length,omitempty"` @@ -286,7 +286,7 @@ func (x *TensorboardTimeSeries_Metadata) GetMaxStep() int64 { return 0 } -func (x *TensorboardTimeSeries_Metadata) GetMaxWallTime() *timestamppb.Timestamp { +func (x *TensorboardTimeSeries_Metadata) GetMaxWallTime() *timestamp.Timestamp { if x != nil { return x.MaxWallTime } @@ -414,7 +414,7 @@ var file_google_cloud_aiplatform_v1beta1_tensorboard_time_series_proto_goTypes = (TensorboardTimeSeries_ValueType)(0), // 0: google.cloud.aiplatform.v1beta1.TensorboardTimeSeries.ValueType (*TensorboardTimeSeries)(nil), // 1: google.cloud.aiplatform.v1beta1.TensorboardTimeSeries (*TensorboardTimeSeries_Metadata)(nil), // 2: google.cloud.aiplatform.v1beta1.TensorboardTimeSeries.Metadata - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_aiplatform_v1beta1_tensorboard_time_series_proto_depIdxs = []int32{ 0, // 0: google.cloud.aiplatform.v1beta1.TensorboardTimeSeries.value_type:type_name -> google.cloud.aiplatform.v1beta1.TensorboardTimeSeries.ValueType diff --git a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go index 3b5406c4e2b..c70e6e5470f 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/training_pipeline.proto package aiplatformpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -71,13 +71,13 @@ type TrainingPipeline struct { TrainingTaskDefinition string `protobuf:"bytes,4,opt,name=training_task_definition,json=trainingTaskDefinition,proto3" json:"training_task_definition,omitempty"` // Required. The training task's parameter(s), as specified in the // [training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition]'s `inputs`. - TrainingTaskInputs *structpb.Value `protobuf:"bytes,5,opt,name=training_task_inputs,json=trainingTaskInputs,proto3" json:"training_task_inputs,omitempty"` + TrainingTaskInputs *_struct.Value `protobuf:"bytes,5,opt,name=training_task_inputs,json=trainingTaskInputs,proto3" json:"training_task_inputs,omitempty"` // Output only. The metadata information as specified in the [training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition]'s // `metadata`. This metadata is an auxiliary runtime and final information // about the training task. While the pipeline is running this information is // populated only at a best effort basis. Only present if the // pipeline's [training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition] contains `metadata` object. - TrainingTaskMetadata *structpb.Value `protobuf:"bytes,6,opt,name=training_task_metadata,json=trainingTaskMetadata,proto3" json:"training_task_metadata,omitempty"` + TrainingTaskMetadata *_struct.Value `protobuf:"bytes,6,opt,name=training_task_metadata,json=trainingTaskMetadata,proto3" json:"training_task_metadata,omitempty"` // Describes the Model that may be uploaded (via [ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel]) // by this TrainingPipeline. The TrainingPipeline's // [training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition] should make clear whether this Model @@ -108,16 +108,16 @@ type TrainingPipeline struct { // `PIPELINE_STATE_CANCELLED`. Error *status.Status `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` // Output only. Time when the TrainingPipeline was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the TrainingPipeline for the first time entered the // `PIPELINE_STATE_RUNNING` state. - StartTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Time when the TrainingPipeline entered any of the following states: // `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, // `PIPELINE_STATE_CANCELLED`. - EndTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Time when the TrainingPipeline was most recently updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels with user-defined metadata to organize TrainingPipelines. // // Label keys and values can be no longer than 64 characters @@ -194,14 +194,14 @@ func (x *TrainingPipeline) GetTrainingTaskDefinition() string { return "" } -func (x *TrainingPipeline) GetTrainingTaskInputs() *structpb.Value { +func (x *TrainingPipeline) GetTrainingTaskInputs() *_struct.Value { if x != nil { return x.TrainingTaskInputs } return nil } -func (x *TrainingPipeline) GetTrainingTaskMetadata() *structpb.Value { +func (x *TrainingPipeline) GetTrainingTaskMetadata() *_struct.Value { if x != nil { return x.TrainingTaskMetadata } @@ -243,28 +243,28 @@ func (x *TrainingPipeline) GetError() *status.Status { return nil } -func (x *TrainingPipeline) GetCreateTime() *timestamppb.Timestamp { +func (x *TrainingPipeline) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *TrainingPipeline) GetStartTime() *timestamppb.Timestamp { +func (x *TrainingPipeline) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *TrainingPipeline) GetEndTime() *timestamppb.Timestamp { +func (x *TrainingPipeline) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *TrainingPipeline) GetUpdateTime() *timestamppb.Timestamp { +func (x *TrainingPipeline) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1237,22 +1237,22 @@ func file_google_cloud_aiplatform_v1beta1_training_pipeline_proto_rawDescGZIP() var file_google_cloud_aiplatform_v1beta1_training_pipeline_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_google_cloud_aiplatform_v1beta1_training_pipeline_proto_goTypes = []interface{}{ - (*TrainingPipeline)(nil), // 0: google.cloud.aiplatform.v1beta1.TrainingPipeline - (*InputDataConfig)(nil), // 1: google.cloud.aiplatform.v1beta1.InputDataConfig - (*FractionSplit)(nil), // 2: google.cloud.aiplatform.v1beta1.FractionSplit - (*FilterSplit)(nil), // 3: google.cloud.aiplatform.v1beta1.FilterSplit - (*PredefinedSplit)(nil), // 4: google.cloud.aiplatform.v1beta1.PredefinedSplit - (*TimestampSplit)(nil), // 5: google.cloud.aiplatform.v1beta1.TimestampSplit - (*StratifiedSplit)(nil), // 6: google.cloud.aiplatform.v1beta1.StratifiedSplit - nil, // 7: google.cloud.aiplatform.v1beta1.TrainingPipeline.LabelsEntry - (*structpb.Value)(nil), // 8: google.protobuf.Value - (*Model)(nil), // 9: google.cloud.aiplatform.v1beta1.Model - (PipelineState)(0), // 10: google.cloud.aiplatform.v1beta1.PipelineState - (*status.Status)(nil), // 11: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp - (*EncryptionSpec)(nil), // 13: google.cloud.aiplatform.v1beta1.EncryptionSpec - (*GcsDestination)(nil), // 14: google.cloud.aiplatform.v1beta1.GcsDestination - (*BigQueryDestination)(nil), // 15: google.cloud.aiplatform.v1beta1.BigQueryDestination + (*TrainingPipeline)(nil), // 0: google.cloud.aiplatform.v1beta1.TrainingPipeline + (*InputDataConfig)(nil), // 1: google.cloud.aiplatform.v1beta1.InputDataConfig + (*FractionSplit)(nil), // 2: google.cloud.aiplatform.v1beta1.FractionSplit + (*FilterSplit)(nil), // 3: google.cloud.aiplatform.v1beta1.FilterSplit + (*PredefinedSplit)(nil), // 4: google.cloud.aiplatform.v1beta1.PredefinedSplit + (*TimestampSplit)(nil), // 5: google.cloud.aiplatform.v1beta1.TimestampSplit + (*StratifiedSplit)(nil), // 6: google.cloud.aiplatform.v1beta1.StratifiedSplit + nil, // 7: google.cloud.aiplatform.v1beta1.TrainingPipeline.LabelsEntry + (*_struct.Value)(nil), // 8: google.protobuf.Value + (*Model)(nil), // 9: google.cloud.aiplatform.v1beta1.Model + (PipelineState)(0), // 10: google.cloud.aiplatform.v1beta1.PipelineState + (*status.Status)(nil), // 11: google.rpc.Status + (*timestamp.Timestamp)(nil), // 12: google.protobuf.Timestamp + (*EncryptionSpec)(nil), // 13: google.cloud.aiplatform.v1beta1.EncryptionSpec + (*GcsDestination)(nil), // 14: google.cloud.aiplatform.v1beta1.GcsDestination + (*BigQueryDestination)(nil), // 15: google.cloud.aiplatform.v1beta1.BigQueryDestination } var file_google_cloud_aiplatform_v1beta1_training_pipeline_proto_depIdxs = []int32{ 1, // 0: google.cloud.aiplatform.v1beta1.TrainingPipeline.input_data_config:type_name -> google.cloud.aiplatform.v1beta1.InputDataConfig diff --git a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go index b3afd0deb7a..0edd681efb3 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/types.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go index 36f3ed8723d..8229e86c2ef 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go index 21b6a00e1a2..4c02d4b4b7f 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/user_action_reference.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go index ed19b1930a5..7f4efe7456d 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/value.proto package aiplatformpb diff --git a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go index 1467b635a4b..c5812bf63c7 100644 --- a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/aiplatform/v1beta1/vizier_service.proto package aiplatformpb @@ -25,6 +25,8 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" grpc "google.golang.org/grpc" @@ -32,8 +34,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -474,9 +474,9 @@ type SuggestTrialsResponse struct { // The state of the Study. StudyState Study_State `protobuf:"varint,2,opt,name=study_state,json=studyState,proto3,enum=google.cloud.aiplatform.v1beta1.Study_State" json:"study_state,omitempty"` // The time at which the operation was started. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time at which operation processing completed. - EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *SuggestTrialsResponse) Reset() { @@ -525,14 +525,14 @@ func (x *SuggestTrialsResponse) GetStudyState() Study_State { return Study_STATE_UNSPECIFIED } -func (x *SuggestTrialsResponse) GetStartTime() *timestamppb.Timestamp { +func (x *SuggestTrialsResponse) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *SuggestTrialsResponse) GetEndTime() *timestamppb.Timestamp { +func (x *SuggestTrialsResponse) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1826,10 +1826,10 @@ var file_google_cloud_aiplatform_v1beta1_vizier_service_proto_goTypes = []interf (*Study)(nil), // 22: google.cloud.aiplatform.v1beta1.Study (*Trial)(nil), // 23: google.cloud.aiplatform.v1beta1.Trial (Study_State)(0), // 24: google.cloud.aiplatform.v1beta1.Study.State - (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 25: google.protobuf.Timestamp (*GenericOperationMetadata)(nil), // 26: google.cloud.aiplatform.v1beta1.GenericOperationMetadata (*Measurement)(nil), // 27: google.cloud.aiplatform.v1beta1.Measurement - (*emptypb.Empty)(nil), // 28: google.protobuf.Empty + (*empty.Empty)(nil), // 28: google.protobuf.Empty (*longrunning.Operation)(nil), // 29: google.longrunning.Operation } var file_google_cloud_aiplatform_v1beta1_vizier_service_proto_depIdxs = []int32{ @@ -2196,7 +2196,7 @@ type VizierServiceClient interface { // Lists all the studies in a region for an associated project. ListStudies(ctx context.Context, in *ListStudiesRequest, opts ...grpc.CallOption) (*ListStudiesResponse, error) // Deletes a Study. - DeleteStudy(ctx context.Context, in *DeleteStudyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteStudy(ctx context.Context, in *DeleteStudyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Looks a study up using the user-defined display_name field instead of the // fully qualified resource name. LookupStudy(ctx context.Context, in *LookupStudyRequest, opts ...grpc.CallOption) (*Study, error) @@ -2218,7 +2218,7 @@ type VizierServiceClient interface { // Marks a Trial as complete. CompleteTrial(ctx context.Context, in *CompleteTrialRequest, opts ...grpc.CallOption) (*Trial, error) // Deletes a Trial. - DeleteTrial(ctx context.Context, in *DeleteTrialRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTrial(ctx context.Context, in *DeleteTrialRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Checks whether a Trial should stop or not. Returns a // long-running operation. When the operation is successful, // it will contain a @@ -2268,8 +2268,8 @@ func (c *vizierServiceClient) ListStudies(ctx context.Context, in *ListStudiesRe return out, nil } -func (c *vizierServiceClient) DeleteStudy(ctx context.Context, in *DeleteStudyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *vizierServiceClient) DeleteStudy(ctx context.Context, in *DeleteStudyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.VizierService/DeleteStudy", in, out, opts...) if err != nil { return nil, err @@ -2340,8 +2340,8 @@ func (c *vizierServiceClient) CompleteTrial(ctx context.Context, in *CompleteTri return out, nil } -func (c *vizierServiceClient) DeleteTrial(ctx context.Context, in *DeleteTrialRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *vizierServiceClient) DeleteTrial(ctx context.Context, in *DeleteTrialRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.VizierService/DeleteTrial", in, out, opts...) if err != nil { return nil, err @@ -2386,7 +2386,7 @@ type VizierServiceServer interface { // Lists all the studies in a region for an associated project. ListStudies(context.Context, *ListStudiesRequest) (*ListStudiesResponse, error) // Deletes a Study. - DeleteStudy(context.Context, *DeleteStudyRequest) (*emptypb.Empty, error) + DeleteStudy(context.Context, *DeleteStudyRequest) (*empty.Empty, error) // Looks a study up using the user-defined display_name field instead of the // fully qualified resource name. LookupStudy(context.Context, *LookupStudyRequest) (*Study, error) @@ -2408,7 +2408,7 @@ type VizierServiceServer interface { // Marks a Trial as complete. CompleteTrial(context.Context, *CompleteTrialRequest) (*Trial, error) // Deletes a Trial. - DeleteTrial(context.Context, *DeleteTrialRequest) (*emptypb.Empty, error) + DeleteTrial(context.Context, *DeleteTrialRequest) (*empty.Empty, error) // Checks whether a Trial should stop or not. Returns a // long-running operation. When the operation is successful, // it will contain a @@ -2436,7 +2436,7 @@ func (*UnimplementedVizierServiceServer) GetStudy(context.Context, *GetStudyRequ func (*UnimplementedVizierServiceServer) ListStudies(context.Context, *ListStudiesRequest) (*ListStudiesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListStudies not implemented") } -func (*UnimplementedVizierServiceServer) DeleteStudy(context.Context, *DeleteStudyRequest) (*emptypb.Empty, error) { +func (*UnimplementedVizierServiceServer) DeleteStudy(context.Context, *DeleteStudyRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteStudy not implemented") } func (*UnimplementedVizierServiceServer) LookupStudy(context.Context, *LookupStudyRequest) (*Study, error) { @@ -2460,7 +2460,7 @@ func (*UnimplementedVizierServiceServer) AddTrialMeasurement(context.Context, *A func (*UnimplementedVizierServiceServer) CompleteTrial(context.Context, *CompleteTrialRequest) (*Trial, error) { return nil, status.Errorf(codes.Unimplemented, "method CompleteTrial not implemented") } -func (*UnimplementedVizierServiceServer) DeleteTrial(context.Context, *DeleteTrialRequest) (*emptypb.Empty, error) { +func (*UnimplementedVizierServiceServer) DeleteTrial(context.Context, *DeleteTrialRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTrial not implemented") } func (*UnimplementedVizierServiceServer) CheckTrialEarlyStoppingState(context.Context, *CheckTrialEarlyStoppingStateRequest) (*longrunning.Operation, error) { diff --git a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go index 32e6fe43d43..25bc2557ce4 100644 --- a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/analytics/admin/v1alpha/access_report.proto package adminpb diff --git a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go index ef275166d59..e7ae49a5c1d 100644 --- a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/analytics/admin/v1alpha/analytics_admin.proto package adminpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -564,7 +564,7 @@ type UpdateAccountRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateAccountRequest) Reset() { @@ -606,7 +606,7 @@ func (x *UpdateAccountRequest) GetAccount() *Account { return nil } -func (x *UpdateAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAccountRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -943,7 +943,7 @@ type UpdatePropertyRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdatePropertyRequest) Reset() { @@ -985,7 +985,7 @@ func (x *UpdatePropertyRequest) GetProperty() *Property { return nil } -func (x *UpdatePropertyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdatePropertyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2352,7 +2352,7 @@ type UpdateGoogleAdsLinkRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateGoogleAdsLinkRequest) Reset() { @@ -2394,7 +2394,7 @@ func (x *UpdateGoogleAdsLinkRequest) GetGoogleAdsLink() *GoogleAdsLink { return nil } -func (x *UpdateGoogleAdsLinkRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateGoogleAdsLinkRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2880,9 +2880,9 @@ type SearchChangeHistoryEventsRequest struct { // Optional. If set, only return changes if they are made by a user in this list. ActorEmail []string `protobuf:"bytes,5,rep,name=actor_email,json=actorEmail,proto3" json:"actor_email,omitempty"` // Optional. If set, only return changes made after this time (inclusive). - EarliestChangeTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=earliest_change_time,json=earliestChangeTime,proto3" json:"earliest_change_time,omitempty"` + EarliestChangeTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=earliest_change_time,json=earliestChangeTime,proto3" json:"earliest_change_time,omitempty"` // Optional. If set, only return changes made before this time (inclusive). - LatestChangeTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=latest_change_time,json=latestChangeTime,proto3" json:"latest_change_time,omitempty"` + LatestChangeTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=latest_change_time,json=latestChangeTime,proto3" json:"latest_change_time,omitempty"` // Optional. The maximum number of ChangeHistoryEvent items to return. // The service may return fewer than this value, even if there are additional // pages. If unspecified, at most 50 items will be returned. @@ -2962,14 +2962,14 @@ func (x *SearchChangeHistoryEventsRequest) GetActorEmail() []string { return nil } -func (x *SearchChangeHistoryEventsRequest) GetEarliestChangeTime() *timestamppb.Timestamp { +func (x *SearchChangeHistoryEventsRequest) GetEarliestChangeTime() *timestamp.Timestamp { if x != nil { return x.EarliestChangeTime } return nil } -func (x *SearchChangeHistoryEventsRequest) GetLatestChangeTime() *timestamppb.Timestamp { +func (x *SearchChangeHistoryEventsRequest) GetLatestChangeTime() *timestamp.Timestamp { if x != nil { return x.LatestChangeTime } @@ -3219,7 +3219,7 @@ type UpdateMeasurementProtocolSecretRequest struct { // Required. The measurement protocol secret to update. MeasurementProtocolSecret *MeasurementProtocolSecret `protobuf:"bytes,1,opt,name=measurement_protocol_secret,json=measurementProtocolSecret,proto3" json:"measurement_protocol_secret,omitempty"` // The list of fields to be updated. Omitted fields will not be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateMeasurementProtocolSecretRequest) Reset() { @@ -3261,7 +3261,7 @@ func (x *UpdateMeasurementProtocolSecretRequest) GetMeasurementProtocolSecret() return nil } -func (x *UpdateMeasurementProtocolSecretRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateMeasurementProtocolSecretRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3463,7 +3463,7 @@ type UpdateGoogleSignalsSettingsRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateGoogleSignalsSettingsRequest) Reset() { @@ -3505,7 +3505,7 @@ func (x *UpdateGoogleSignalsSettingsRequest) GetGoogleSignalsSettings() *GoogleS return nil } -func (x *UpdateGoogleSignalsSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateGoogleSignalsSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -4107,7 +4107,7 @@ type UpdateDisplayVideo360AdvertiserLinkRequest struct { // Required. The list of fields to be updated. Omitted fields will not be updated. // To replace the entire entity, use one path with the string "*" to match // all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateDisplayVideo360AdvertiserLinkRequest) Reset() { @@ -4149,7 +4149,7 @@ func (x *UpdateDisplayVideo360AdvertiserLinkRequest) GetDisplayVideo_360Advertis return nil } -func (x *UpdateDisplayVideo360AdvertiserLinkRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDisplayVideo360AdvertiserLinkRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -4667,7 +4667,7 @@ type UpdateCustomDimensionRequest struct { // Required. The list of fields to be updated. Omitted fields will not be updated. // To replace the entire entity, use one path with the string "*" to match // all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCustomDimensionRequest) Reset() { @@ -4709,7 +4709,7 @@ func (x *UpdateCustomDimensionRequest) GetCustomDimension() *CustomDimension { return nil } -func (x *UpdateCustomDimensionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCustomDimensionRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -5017,7 +5017,7 @@ type UpdateCustomMetricRequest struct { // Required. The list of fields to be updated. Omitted fields will not be updated. // To replace the entire entity, use one path with the string "*" to match // all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCustomMetricRequest) Reset() { @@ -5059,7 +5059,7 @@ func (x *UpdateCustomMetricRequest) GetCustomMetric() *CustomMetric { return nil } -func (x *UpdateCustomMetricRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCustomMetricRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -5362,7 +5362,7 @@ type UpdateDataRetentionSettingsRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateDataRetentionSettingsRequest) Reset() { @@ -5404,7 +5404,7 @@ func (x *UpdateDataRetentionSettingsRequest) GetDataRetentionSettings() *DataRet return nil } -func (x *UpdateDataRetentionSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDataRetentionSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -5530,7 +5530,7 @@ type UpdateDataStreamRequest struct { // Required. The list of fields to be updated. Omitted fields will not be updated. // To replace the entire entity, use one path with the string "*" to match // all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateDataStreamRequest) Reset() { @@ -5572,7 +5572,7 @@ func (x *UpdateDataStreamRequest) GetDataStream() *DataStream { return nil } -func (x *UpdateDataStreamRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDataStreamRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -6013,7 +6013,7 @@ type UpdateAudienceRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateAudienceRequest) Reset() { @@ -6055,7 +6055,7 @@ func (x *UpdateAudienceRequest) GetAudience() *Audience { return nil } -func (x *UpdateAudienceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAudienceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -6173,7 +6173,7 @@ type UpdateAttributionSettingsRequest struct { // Required. The list of fields to be updated. Field names must be in snake case // (e.g., "field_to_update"). Omitted fields will not be updated. To replace // the entire entity, use one path with the string "*" to match all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateAttributionSettingsRequest) Reset() { @@ -6215,7 +6215,7 @@ func (x *UpdateAttributionSettingsRequest) GetAttributionSettings() *Attribution return nil } -func (x *UpdateAttributionSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAttributionSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -8580,7 +8580,7 @@ var file_google_analytics_admin_v1alpha_analytics_admin_proto_goTypes = []interf (*AccessRow)(nil), // 109: google.analytics.admin.v1alpha.AccessRow (*AccessQuota)(nil), // 110: google.analytics.admin.v1alpha.AccessQuota (*Account)(nil), // 111: google.analytics.admin.v1alpha.Account - (*fieldmaskpb.FieldMask)(nil), // 112: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 112: google.protobuf.FieldMask (*Property)(nil), // 113: google.analytics.admin.v1alpha.Property (*UserLink)(nil), // 114: google.analytics.admin.v1alpha.UserLink (*AuditUserLink)(nil), // 115: google.analytics.admin.v1alpha.AuditUserLink @@ -8589,7 +8589,7 @@ var file_google_analytics_admin_v1alpha_analytics_admin_proto_goTypes = []interf (*AccountSummary)(nil), // 118: google.analytics.admin.v1alpha.AccountSummary (ChangeHistoryResourceType)(0), // 119: google.analytics.admin.v1alpha.ChangeHistoryResourceType (ActionType)(0), // 120: google.analytics.admin.v1alpha.ActionType - (*timestamppb.Timestamp)(nil), // 121: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 121: google.protobuf.Timestamp (*ChangeHistoryEvent)(nil), // 122: google.analytics.admin.v1alpha.ChangeHistoryEvent (*MeasurementProtocolSecret)(nil), // 123: google.analytics.admin.v1alpha.MeasurementProtocolSecret (*GoogleSignalsSettings)(nil), // 124: google.analytics.admin.v1alpha.GoogleSignalsSettings @@ -8602,7 +8602,7 @@ var file_google_analytics_admin_v1alpha_analytics_admin_proto_goTypes = []interf (*DataStream)(nil), // 131: google.analytics.admin.v1alpha.DataStream (*Audience)(nil), // 132: google.analytics.admin.v1alpha.Audience (*AttributionSettings)(nil), // 133: google.analytics.admin.v1alpha.AttributionSettings - (*emptypb.Empty)(nil), // 134: google.protobuf.Empty + (*empty.Empty)(nil), // 134: google.protobuf.Empty (*GlobalSiteTag)(nil), // 135: google.analytics.admin.v1alpha.GlobalSiteTag (*DataSharingSettings)(nil), // 136: google.analytics.admin.v1alpha.DataSharingSettings } @@ -10132,7 +10132,7 @@ type AnalyticsAdminServiceClient interface { // https://support.google.com/analytics/answer/6154772 // // Returns an error if the target is not found. - DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates an account. UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*Account, error) // Requests a ticket for creating an account. @@ -10196,15 +10196,15 @@ type AnalyticsAdminServiceClient interface { // Updates information about multiple users' links to an account or property. BatchUpdateUserLinks(ctx context.Context, in *BatchUpdateUserLinksRequest, opts ...grpc.CallOption) (*BatchUpdateUserLinksResponse, error) // Deletes a user link on an account or property. - DeleteUserLink(ctx context.Context, in *DeleteUserLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteUserLink(ctx context.Context, in *DeleteUserLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Deletes information about multiple users' links to an account or property. - BatchDeleteUserLinks(ctx context.Context, in *BatchDeleteUserLinksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + BatchDeleteUserLinks(ctx context.Context, in *BatchDeleteUserLinksRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a FirebaseLink. // // Properties can have at most one FirebaseLink. CreateFirebaseLink(ctx context.Context, in *CreateFirebaseLinkRequest, opts ...grpc.CallOption) (*FirebaseLink, error) // Deletes a FirebaseLink on a property - DeleteFirebaseLink(ctx context.Context, in *DeleteFirebaseLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteFirebaseLink(ctx context.Context, in *DeleteFirebaseLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists FirebaseLinks on a property. // Properties can have at most one FirebaseLink. ListFirebaseLinks(ctx context.Context, in *ListFirebaseLinksRequest, opts ...grpc.CallOption) (*ListFirebaseLinksResponse, error) @@ -10216,7 +10216,7 @@ type AnalyticsAdminServiceClient interface { // Updates a GoogleAdsLink on a property UpdateGoogleAdsLink(ctx context.Context, in *UpdateGoogleAdsLinkRequest, opts ...grpc.CallOption) (*GoogleAdsLink, error) // Deletes a GoogleAdsLink on a property - DeleteGoogleAdsLink(ctx context.Context, in *DeleteGoogleAdsLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteGoogleAdsLink(ctx context.Context, in *DeleteGoogleAdsLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists GoogleAdsLinks on a property. ListGoogleAdsLinks(ctx context.Context, in *ListGoogleAdsLinksRequest, opts ...grpc.CallOption) (*ListGoogleAdsLinksResponse, error) // Get data sharing settings on an account. @@ -10230,7 +10230,7 @@ type AnalyticsAdminServiceClient interface { // Creates a measurement protocol secret. CreateMeasurementProtocolSecret(ctx context.Context, in *CreateMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*MeasurementProtocolSecret, error) // Deletes target MeasurementProtocolSecret. - DeleteMeasurementProtocolSecret(ctx context.Context, in *DeleteMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteMeasurementProtocolSecret(ctx context.Context, in *DeleteMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a measurement protocol secret. UpdateMeasurementProtocolSecret(ctx context.Context, in *UpdateMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*MeasurementProtocolSecret, error) // Acknowledges the terms of user data collection for the specified property. @@ -10250,7 +10250,7 @@ type AnalyticsAdminServiceClient interface { // Retrieve a single conversion event. GetConversionEvent(ctx context.Context, in *GetConversionEventRequest, opts ...grpc.CallOption) (*ConversionEvent, error) // Deletes a conversion event in a property. - DeleteConversionEvent(ctx context.Context, in *DeleteConversionEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteConversionEvent(ctx context.Context, in *DeleteConversionEventRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns a list of conversion events in the specified parent property. // // Returns an empty list if no conversion events are found. @@ -10266,7 +10266,7 @@ type AnalyticsAdminServiceClient interface { // instead seek to create a DisplayVideo360LinkProposal. CreateDisplayVideo360AdvertiserLink(ctx context.Context, in *CreateDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLink, error) // Deletes a DisplayVideo360AdvertiserLink on a property. - DeleteDisplayVideo360AdvertiserLink(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteDisplayVideo360AdvertiserLink(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a DisplayVideo360AdvertiserLink on a property. UpdateDisplayVideo360AdvertiserLink(ctx context.Context, in *UpdateDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLink, error) // Lookup for a single DisplayVideo360AdvertiserLinkProposal. @@ -10277,7 +10277,7 @@ type AnalyticsAdminServiceClient interface { CreateDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *CreateDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLinkProposal, error) // Deletes a DisplayVideo360AdvertiserLinkProposal on a property. // This can only be used on cancelled proposals. - DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Approves a DisplayVideo360AdvertiserLinkProposal. // The DisplayVideo360AdvertiserLinkProposal will be deleted and a new // DisplayVideo360AdvertiserLink will be created. @@ -10295,7 +10295,7 @@ type AnalyticsAdminServiceClient interface { // Lists CustomDimensions on a property. ListCustomDimensions(ctx context.Context, in *ListCustomDimensionsRequest, opts ...grpc.CallOption) (*ListCustomDimensionsResponse, error) // Archives a CustomDimension on a property. - ArchiveCustomDimension(ctx context.Context, in *ArchiveCustomDimensionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ArchiveCustomDimension(ctx context.Context, in *ArchiveCustomDimensionRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lookup for a single CustomDimension. GetCustomDimension(ctx context.Context, in *GetCustomDimensionRequest, opts ...grpc.CallOption) (*CustomDimension, error) // Creates a CustomMetric. @@ -10305,7 +10305,7 @@ type AnalyticsAdminServiceClient interface { // Lists CustomMetrics on a property. ListCustomMetrics(ctx context.Context, in *ListCustomMetricsRequest, opts ...grpc.CallOption) (*ListCustomMetricsResponse, error) // Archives a CustomMetric on a property. - ArchiveCustomMetric(ctx context.Context, in *ArchiveCustomMetricRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ArchiveCustomMetric(ctx context.Context, in *ArchiveCustomMetricRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lookup for a single CustomMetric. GetCustomMetric(ctx context.Context, in *GetCustomMetricRequest, opts ...grpc.CallOption) (*CustomMetric, error) // Returns the singleton data retention settings for this property. @@ -10315,7 +10315,7 @@ type AnalyticsAdminServiceClient interface { // Creates a DataStream. CreateDataStream(ctx context.Context, in *CreateDataStreamRequest, opts ...grpc.CallOption) (*DataStream, error) // Deletes a DataStream on a property. - DeleteDataStream(ctx context.Context, in *DeleteDataStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteDataStream(ctx context.Context, in *DeleteDataStreamRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a DataStream on a property. UpdateDataStream(ctx context.Context, in *UpdateDataStreamRequest, opts ...grpc.CallOption) (*DataStream, error) // Lists DataStreams on a property. @@ -10333,7 +10333,7 @@ type AnalyticsAdminServiceClient interface { // Updates an Audience on a property. UpdateAudience(ctx context.Context, in *UpdateAudienceRequest, opts ...grpc.CallOption) (*Audience, error) // Archives an Audience on a property. - ArchiveAudience(ctx context.Context, in *ArchiveAudienceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ArchiveAudience(ctx context.Context, in *ArchiveAudienceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lookup for a AttributionSettings singleton. GetAttributionSettings(ctx context.Context, in *GetAttributionSettingsRequest, opts ...grpc.CallOption) (*AttributionSettings, error) // Updates attribution settings on a property. @@ -10380,8 +10380,8 @@ func (c *analyticsAdminServiceClient) ListAccounts(ctx context.Context, in *List return out, nil } -func (c *analyticsAdminServiceClient) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccount", in, out, opts...) if err != nil { return nil, err @@ -10533,8 +10533,8 @@ func (c *analyticsAdminServiceClient) BatchUpdateUserLinks(ctx context.Context, return out, nil } -func (c *analyticsAdminServiceClient) DeleteUserLink(ctx context.Context, in *DeleteUserLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteUserLink(ctx context.Context, in *DeleteUserLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteUserLink", in, out, opts...) if err != nil { return nil, err @@ -10542,8 +10542,8 @@ func (c *analyticsAdminServiceClient) DeleteUserLink(ctx context.Context, in *De return out, nil } -func (c *analyticsAdminServiceClient) BatchDeleteUserLinks(ctx context.Context, in *BatchDeleteUserLinksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) BatchDeleteUserLinks(ctx context.Context, in *BatchDeleteUserLinksRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchDeleteUserLinks", in, out, opts...) if err != nil { return nil, err @@ -10560,8 +10560,8 @@ func (c *analyticsAdminServiceClient) CreateFirebaseLink(ctx context.Context, in return out, nil } -func (c *analyticsAdminServiceClient) DeleteFirebaseLink(ctx context.Context, in *DeleteFirebaseLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteFirebaseLink(ctx context.Context, in *DeleteFirebaseLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteFirebaseLink", in, out, opts...) if err != nil { return nil, err @@ -10605,8 +10605,8 @@ func (c *analyticsAdminServiceClient) UpdateGoogleAdsLink(ctx context.Context, i return out, nil } -func (c *analyticsAdminServiceClient) DeleteGoogleAdsLink(ctx context.Context, in *DeleteGoogleAdsLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteGoogleAdsLink(ctx context.Context, in *DeleteGoogleAdsLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteGoogleAdsLink", in, out, opts...) if err != nil { return nil, err @@ -10659,8 +10659,8 @@ func (c *analyticsAdminServiceClient) CreateMeasurementProtocolSecret(ctx contex return out, nil } -func (c *analyticsAdminServiceClient) DeleteMeasurementProtocolSecret(ctx context.Context, in *DeleteMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteMeasurementProtocolSecret(ctx context.Context, in *DeleteMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteMeasurementProtocolSecret", in, out, opts...) if err != nil { return nil, err @@ -10731,8 +10731,8 @@ func (c *analyticsAdminServiceClient) GetConversionEvent(ctx context.Context, in return out, nil } -func (c *analyticsAdminServiceClient) DeleteConversionEvent(ctx context.Context, in *DeleteConversionEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteConversionEvent(ctx context.Context, in *DeleteConversionEventRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteConversionEvent", in, out, opts...) if err != nil { return nil, err @@ -10776,8 +10776,8 @@ func (c *analyticsAdminServiceClient) CreateDisplayVideo360AdvertiserLink(ctx co return out, nil } -func (c *analyticsAdminServiceClient) DeleteDisplayVideo360AdvertiserLink(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteDisplayVideo360AdvertiserLink(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLink", in, out, opts...) if err != nil { return nil, err @@ -10821,8 +10821,8 @@ func (c *analyticsAdminServiceClient) CreateDisplayVideo360AdvertiserLinkProposa return out, nil } -func (c *analyticsAdminServiceClient) DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLinkProposal", in, out, opts...) if err != nil { return nil, err @@ -10875,8 +10875,8 @@ func (c *analyticsAdminServiceClient) ListCustomDimensions(ctx context.Context, return out, nil } -func (c *analyticsAdminServiceClient) ArchiveCustomDimension(ctx context.Context, in *ArchiveCustomDimensionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) ArchiveCustomDimension(ctx context.Context, in *ArchiveCustomDimensionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomDimension", in, out, opts...) if err != nil { return nil, err @@ -10920,8 +10920,8 @@ func (c *analyticsAdminServiceClient) ListCustomMetrics(ctx context.Context, in return out, nil } -func (c *analyticsAdminServiceClient) ArchiveCustomMetric(ctx context.Context, in *ArchiveCustomMetricRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) ArchiveCustomMetric(ctx context.Context, in *ArchiveCustomMetricRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomMetric", in, out, opts...) if err != nil { return nil, err @@ -10965,8 +10965,8 @@ func (c *analyticsAdminServiceClient) CreateDataStream(ctx context.Context, in * return out, nil } -func (c *analyticsAdminServiceClient) DeleteDataStream(ctx context.Context, in *DeleteDataStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) DeleteDataStream(ctx context.Context, in *DeleteDataStreamRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDataStream", in, out, opts...) if err != nil { return nil, err @@ -11037,8 +11037,8 @@ func (c *analyticsAdminServiceClient) UpdateAudience(ctx context.Context, in *Up return out, nil } -func (c *analyticsAdminServiceClient) ArchiveAudience(ctx context.Context, in *ArchiveAudienceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsAdminServiceClient) ArchiveAudience(ctx context.Context, in *ArchiveAudienceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveAudience", in, out, opts...) if err != nil { return nil, err @@ -11094,7 +11094,7 @@ type AnalyticsAdminServiceServer interface { // https://support.google.com/analytics/answer/6154772 // // Returns an error if the target is not found. - DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error) + DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error) // Updates an account. UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error) // Requests a ticket for creating an account. @@ -11158,15 +11158,15 @@ type AnalyticsAdminServiceServer interface { // Updates information about multiple users' links to an account or property. BatchUpdateUserLinks(context.Context, *BatchUpdateUserLinksRequest) (*BatchUpdateUserLinksResponse, error) // Deletes a user link on an account or property. - DeleteUserLink(context.Context, *DeleteUserLinkRequest) (*emptypb.Empty, error) + DeleteUserLink(context.Context, *DeleteUserLinkRequest) (*empty.Empty, error) // Deletes information about multiple users' links to an account or property. - BatchDeleteUserLinks(context.Context, *BatchDeleteUserLinksRequest) (*emptypb.Empty, error) + BatchDeleteUserLinks(context.Context, *BatchDeleteUserLinksRequest) (*empty.Empty, error) // Creates a FirebaseLink. // // Properties can have at most one FirebaseLink. CreateFirebaseLink(context.Context, *CreateFirebaseLinkRequest) (*FirebaseLink, error) // Deletes a FirebaseLink on a property - DeleteFirebaseLink(context.Context, *DeleteFirebaseLinkRequest) (*emptypb.Empty, error) + DeleteFirebaseLink(context.Context, *DeleteFirebaseLinkRequest) (*empty.Empty, error) // Lists FirebaseLinks on a property. // Properties can have at most one FirebaseLink. ListFirebaseLinks(context.Context, *ListFirebaseLinksRequest) (*ListFirebaseLinksResponse, error) @@ -11178,7 +11178,7 @@ type AnalyticsAdminServiceServer interface { // Updates a GoogleAdsLink on a property UpdateGoogleAdsLink(context.Context, *UpdateGoogleAdsLinkRequest) (*GoogleAdsLink, error) // Deletes a GoogleAdsLink on a property - DeleteGoogleAdsLink(context.Context, *DeleteGoogleAdsLinkRequest) (*emptypb.Empty, error) + DeleteGoogleAdsLink(context.Context, *DeleteGoogleAdsLinkRequest) (*empty.Empty, error) // Lists GoogleAdsLinks on a property. ListGoogleAdsLinks(context.Context, *ListGoogleAdsLinksRequest) (*ListGoogleAdsLinksResponse, error) // Get data sharing settings on an account. @@ -11192,7 +11192,7 @@ type AnalyticsAdminServiceServer interface { // Creates a measurement protocol secret. CreateMeasurementProtocolSecret(context.Context, *CreateMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error) // Deletes target MeasurementProtocolSecret. - DeleteMeasurementProtocolSecret(context.Context, *DeleteMeasurementProtocolSecretRequest) (*emptypb.Empty, error) + DeleteMeasurementProtocolSecret(context.Context, *DeleteMeasurementProtocolSecretRequest) (*empty.Empty, error) // Updates a measurement protocol secret. UpdateMeasurementProtocolSecret(context.Context, *UpdateMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error) // Acknowledges the terms of user data collection for the specified property. @@ -11212,7 +11212,7 @@ type AnalyticsAdminServiceServer interface { // Retrieve a single conversion event. GetConversionEvent(context.Context, *GetConversionEventRequest) (*ConversionEvent, error) // Deletes a conversion event in a property. - DeleteConversionEvent(context.Context, *DeleteConversionEventRequest) (*emptypb.Empty, error) + DeleteConversionEvent(context.Context, *DeleteConversionEventRequest) (*empty.Empty, error) // Returns a list of conversion events in the specified parent property. // // Returns an empty list if no conversion events are found. @@ -11228,7 +11228,7 @@ type AnalyticsAdminServiceServer interface { // instead seek to create a DisplayVideo360LinkProposal. CreateDisplayVideo360AdvertiserLink(context.Context, *CreateDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error) // Deletes a DisplayVideo360AdvertiserLink on a property. - DeleteDisplayVideo360AdvertiserLink(context.Context, *DeleteDisplayVideo360AdvertiserLinkRequest) (*emptypb.Empty, error) + DeleteDisplayVideo360AdvertiserLink(context.Context, *DeleteDisplayVideo360AdvertiserLinkRequest) (*empty.Empty, error) // Updates a DisplayVideo360AdvertiserLink on a property. UpdateDisplayVideo360AdvertiserLink(context.Context, *UpdateDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error) // Lookup for a single DisplayVideo360AdvertiserLinkProposal. @@ -11239,7 +11239,7 @@ type AnalyticsAdminServiceServer interface { CreateDisplayVideo360AdvertiserLinkProposal(context.Context, *CreateDisplayVideo360AdvertiserLinkProposalRequest) (*DisplayVideo360AdvertiserLinkProposal, error) // Deletes a DisplayVideo360AdvertiserLinkProposal on a property. // This can only be used on cancelled proposals. - DeleteDisplayVideo360AdvertiserLinkProposal(context.Context, *DeleteDisplayVideo360AdvertiserLinkProposalRequest) (*emptypb.Empty, error) + DeleteDisplayVideo360AdvertiserLinkProposal(context.Context, *DeleteDisplayVideo360AdvertiserLinkProposalRequest) (*empty.Empty, error) // Approves a DisplayVideo360AdvertiserLinkProposal. // The DisplayVideo360AdvertiserLinkProposal will be deleted and a new // DisplayVideo360AdvertiserLink will be created. @@ -11257,7 +11257,7 @@ type AnalyticsAdminServiceServer interface { // Lists CustomDimensions on a property. ListCustomDimensions(context.Context, *ListCustomDimensionsRequest) (*ListCustomDimensionsResponse, error) // Archives a CustomDimension on a property. - ArchiveCustomDimension(context.Context, *ArchiveCustomDimensionRequest) (*emptypb.Empty, error) + ArchiveCustomDimension(context.Context, *ArchiveCustomDimensionRequest) (*empty.Empty, error) // Lookup for a single CustomDimension. GetCustomDimension(context.Context, *GetCustomDimensionRequest) (*CustomDimension, error) // Creates a CustomMetric. @@ -11267,7 +11267,7 @@ type AnalyticsAdminServiceServer interface { // Lists CustomMetrics on a property. ListCustomMetrics(context.Context, *ListCustomMetricsRequest) (*ListCustomMetricsResponse, error) // Archives a CustomMetric on a property. - ArchiveCustomMetric(context.Context, *ArchiveCustomMetricRequest) (*emptypb.Empty, error) + ArchiveCustomMetric(context.Context, *ArchiveCustomMetricRequest) (*empty.Empty, error) // Lookup for a single CustomMetric. GetCustomMetric(context.Context, *GetCustomMetricRequest) (*CustomMetric, error) // Returns the singleton data retention settings for this property. @@ -11277,7 +11277,7 @@ type AnalyticsAdminServiceServer interface { // Creates a DataStream. CreateDataStream(context.Context, *CreateDataStreamRequest) (*DataStream, error) // Deletes a DataStream on a property. - DeleteDataStream(context.Context, *DeleteDataStreamRequest) (*emptypb.Empty, error) + DeleteDataStream(context.Context, *DeleteDataStreamRequest) (*empty.Empty, error) // Updates a DataStream on a property. UpdateDataStream(context.Context, *UpdateDataStreamRequest) (*DataStream, error) // Lists DataStreams on a property. @@ -11295,7 +11295,7 @@ type AnalyticsAdminServiceServer interface { // Updates an Audience on a property. UpdateAudience(context.Context, *UpdateAudienceRequest) (*Audience, error) // Archives an Audience on a property. - ArchiveAudience(context.Context, *ArchiveAudienceRequest) (*emptypb.Empty, error) + ArchiveAudience(context.Context, *ArchiveAudienceRequest) (*empty.Empty, error) // Lookup for a AttributionSettings singleton. GetAttributionSettings(context.Context, *GetAttributionSettingsRequest) (*AttributionSettings, error) // Updates attribution settings on a property. @@ -11326,7 +11326,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) GetAccount(context.Context, *Ge func (*UnimplementedAnalyticsAdminServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAccounts not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAccount not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error) { @@ -11377,16 +11377,16 @@ func (*UnimplementedAnalyticsAdminServiceServer) UpdateUserLink(context.Context, func (*UnimplementedAnalyticsAdminServiceServer) BatchUpdateUserLinks(context.Context, *BatchUpdateUserLinksRequest) (*BatchUpdateUserLinksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateUserLinks not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteUserLink(context.Context, *DeleteUserLinkRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteUserLink(context.Context, *DeleteUserLinkRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteUserLink not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) BatchDeleteUserLinks(context.Context, *BatchDeleteUserLinksRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) BatchDeleteUserLinks(context.Context, *BatchDeleteUserLinksRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteUserLinks not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) CreateFirebaseLink(context.Context, *CreateFirebaseLinkRequest) (*FirebaseLink, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateFirebaseLink not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteFirebaseLink(context.Context, *DeleteFirebaseLinkRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteFirebaseLink(context.Context, *DeleteFirebaseLinkRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteFirebaseLink not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) ListFirebaseLinks(context.Context, *ListFirebaseLinksRequest) (*ListFirebaseLinksResponse, error) { @@ -11401,7 +11401,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) CreateGoogleAdsLink(context.Con func (*UnimplementedAnalyticsAdminServiceServer) UpdateGoogleAdsLink(context.Context, *UpdateGoogleAdsLinkRequest) (*GoogleAdsLink, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateGoogleAdsLink not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteGoogleAdsLink(context.Context, *DeleteGoogleAdsLinkRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteGoogleAdsLink(context.Context, *DeleteGoogleAdsLinkRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteGoogleAdsLink not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) ListGoogleAdsLinks(context.Context, *ListGoogleAdsLinksRequest) (*ListGoogleAdsLinksResponse, error) { @@ -11419,7 +11419,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) ListMeasurementProtocolSecrets( func (*UnimplementedAnalyticsAdminServiceServer) CreateMeasurementProtocolSecret(context.Context, *CreateMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateMeasurementProtocolSecret not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteMeasurementProtocolSecret(context.Context, *DeleteMeasurementProtocolSecretRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteMeasurementProtocolSecret(context.Context, *DeleteMeasurementProtocolSecretRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteMeasurementProtocolSecret not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) UpdateMeasurementProtocolSecret(context.Context, *UpdateMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error) { @@ -11443,7 +11443,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) CreateConversionEvent(context.C func (*UnimplementedAnalyticsAdminServiceServer) GetConversionEvent(context.Context, *GetConversionEventRequest) (*ConversionEvent, error) { return nil, status.Errorf(codes.Unimplemented, "method GetConversionEvent not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteConversionEvent(context.Context, *DeleteConversionEventRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteConversionEvent(context.Context, *DeleteConversionEventRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteConversionEvent not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) ListConversionEvents(context.Context, *ListConversionEventsRequest) (*ListConversionEventsResponse, error) { @@ -11458,7 +11458,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) ListDisplayVideo360AdvertiserLi func (*UnimplementedAnalyticsAdminServiceServer) CreateDisplayVideo360AdvertiserLink(context.Context, *CreateDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateDisplayVideo360AdvertiserLink not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteDisplayVideo360AdvertiserLink(context.Context, *DeleteDisplayVideo360AdvertiserLinkRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteDisplayVideo360AdvertiserLink(context.Context, *DeleteDisplayVideo360AdvertiserLinkRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDisplayVideo360AdvertiserLink not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) UpdateDisplayVideo360AdvertiserLink(context.Context, *UpdateDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error) { @@ -11473,7 +11473,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) ListDisplayVideo360AdvertiserLi func (*UnimplementedAnalyticsAdminServiceServer) CreateDisplayVideo360AdvertiserLinkProposal(context.Context, *CreateDisplayVideo360AdvertiserLinkProposalRequest) (*DisplayVideo360AdvertiserLinkProposal, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateDisplayVideo360AdvertiserLinkProposal not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteDisplayVideo360AdvertiserLinkProposal(context.Context, *DeleteDisplayVideo360AdvertiserLinkProposalRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteDisplayVideo360AdvertiserLinkProposal(context.Context, *DeleteDisplayVideo360AdvertiserLinkProposalRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDisplayVideo360AdvertiserLinkProposal not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) ApproveDisplayVideo360AdvertiserLinkProposal(context.Context, *ApproveDisplayVideo360AdvertiserLinkProposalRequest) (*ApproveDisplayVideo360AdvertiserLinkProposalResponse, error) { @@ -11491,7 +11491,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) UpdateCustomDimension(context.C func (*UnimplementedAnalyticsAdminServiceServer) ListCustomDimensions(context.Context, *ListCustomDimensionsRequest) (*ListCustomDimensionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListCustomDimensions not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) ArchiveCustomDimension(context.Context, *ArchiveCustomDimensionRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) ArchiveCustomDimension(context.Context, *ArchiveCustomDimensionRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ArchiveCustomDimension not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) GetCustomDimension(context.Context, *GetCustomDimensionRequest) (*CustomDimension, error) { @@ -11506,7 +11506,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) UpdateCustomMetric(context.Cont func (*UnimplementedAnalyticsAdminServiceServer) ListCustomMetrics(context.Context, *ListCustomMetricsRequest) (*ListCustomMetricsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListCustomMetrics not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) ArchiveCustomMetric(context.Context, *ArchiveCustomMetricRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) ArchiveCustomMetric(context.Context, *ArchiveCustomMetricRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ArchiveCustomMetric not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) GetCustomMetric(context.Context, *GetCustomMetricRequest) (*CustomMetric, error) { @@ -11521,7 +11521,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) UpdateDataRetentionSettings(con func (*UnimplementedAnalyticsAdminServiceServer) CreateDataStream(context.Context, *CreateDataStreamRequest) (*DataStream, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateDataStream not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) DeleteDataStream(context.Context, *DeleteDataStreamRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) DeleteDataStream(context.Context, *DeleteDataStreamRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDataStream not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) UpdateDataStream(context.Context, *UpdateDataStreamRequest) (*DataStream, error) { @@ -11545,7 +11545,7 @@ func (*UnimplementedAnalyticsAdminServiceServer) CreateAudience(context.Context, func (*UnimplementedAnalyticsAdminServiceServer) UpdateAudience(context.Context, *UpdateAudienceRequest) (*Audience, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateAudience not implemented") } -func (*UnimplementedAnalyticsAdminServiceServer) ArchiveAudience(context.Context, *ArchiveAudienceRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsAdminServiceServer) ArchiveAudience(context.Context, *ArchiveAudienceRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ArchiveAudience not implemented") } func (*UnimplementedAnalyticsAdminServiceServer) GetAttributionSettings(context.Context, *GetAttributionSettingsRequest) (*AttributionSettings, error) { diff --git a/analytics/admin/apiv1alpha/adminpb/audience.pb.go b/analytics/admin/apiv1alpha/adminpb/audience.pb.go index 2a15185667b..3320b604d7e 100644 --- a/analytics/admin/apiv1alpha/adminpb/audience.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/audience.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/analytics/admin/v1alpha/audience.proto package adminpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -877,7 +877,7 @@ type AudienceSequenceFilter struct { // Required. Immutable. Specifies the scope for this filter. Scope AudienceFilterScope `protobuf:"varint,1,opt,name=scope,proto3,enum=google.analytics.admin.v1alpha.AudienceFilterScope" json:"scope,omitempty"` // Optional. Defines the time period in which the whole sequence must occur. - SequenceMaximumDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=sequence_maximum_duration,json=sequenceMaximumDuration,proto3" json:"sequence_maximum_duration,omitempty"` + SequenceMaximumDuration *duration.Duration `protobuf:"bytes,2,opt,name=sequence_maximum_duration,json=sequenceMaximumDuration,proto3" json:"sequence_maximum_duration,omitempty"` // Required. An ordered sequence of steps. A user must complete each step in order to // join the sequence filter. SequenceSteps []*AudienceSequenceFilter_AudienceSequenceStep `protobuf:"bytes,3,rep,name=sequence_steps,json=sequenceSteps,proto3" json:"sequence_steps,omitempty"` @@ -922,7 +922,7 @@ func (x *AudienceSequenceFilter) GetScope() AudienceFilterScope { return AudienceFilterScope_AUDIENCE_FILTER_SCOPE_UNSPECIFIED } -func (x *AudienceSequenceFilter) GetSequenceMaximumDuration() *durationpb.Duration { +func (x *AudienceSequenceFilter) GetSequenceMaximumDuration() *duration.Duration { if x != nil { return x.SequenceMaximumDuration } @@ -1561,7 +1561,7 @@ type AudienceSequenceFilter_AudienceSequenceStep struct { // the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not // set, there is no duration requirement (the duration is effectively // unlimited). It is ignored for the first step. - ConstraintDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=constraint_duration,json=constraintDuration,proto3" json:"constraint_duration,omitempty"` + ConstraintDuration *duration.Duration `protobuf:"bytes,3,opt,name=constraint_duration,json=constraintDuration,proto3" json:"constraint_duration,omitempty"` // Required. Immutable. A logical expression of Audience dimension, metric, or event filters in // each step. FilterExpression *AudienceFilterExpression `protobuf:"bytes,4,opt,name=filter_expression,json=filterExpression,proto3" json:"filter_expression,omitempty"` @@ -1613,7 +1613,7 @@ func (x *AudienceSequenceFilter_AudienceSequenceStep) GetImmediatelyFollows() bo return false } -func (x *AudienceSequenceFilter_AudienceSequenceStep) GetConstraintDuration() *durationpb.Duration { +func (x *AudienceSequenceFilter_AudienceSequenceStep) GetConstraintDuration() *duration.Duration { if x != nil { return x.ConstraintDuration } @@ -2019,7 +2019,7 @@ var file_google_analytics_admin_v1alpha_audience_proto_goTypes = []interface{}{ (*AudienceDimensionOrMetricFilter_NumericFilter)(nil), // 18: google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter (*AudienceDimensionOrMetricFilter_BetweenFilter)(nil), // 19: google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter (*AudienceSequenceFilter_AudienceSequenceStep)(nil), // 20: google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - (*durationpb.Duration)(nil), // 21: google.protobuf.Duration + (*duration.Duration)(nil), // 21: google.protobuf.Duration } var file_google_analytics_admin_v1alpha_audience_proto_depIdxs = []int32{ 15, // 0: google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.string_filter:type_name -> google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter diff --git a/analytics/admin/apiv1alpha/adminpb/resources.pb.go b/analytics/admin/apiv1alpha/adminpb/resources.pb.go index ba7e71330ed..157fae72e1a 100644 --- a/analytics/admin/apiv1alpha/adminpb/resources.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/analytics/admin/v1alpha/resources.proto package adminpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -1337,9 +1337,9 @@ type Account struct { // Example: "accounts/100" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Time when this account was originally created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when account payload fields were last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. Human-readable display name for this account. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Country of business. Must be a Unicode CLDR region code. @@ -1388,14 +1388,14 @@ func (x *Account) GetName() string { return "" } -func (x *Account) GetCreateTime() *timestamppb.Timestamp { +func (x *Account) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Account) GetUpdateTime() *timestamppb.Timestamp { +func (x *Account) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1439,9 +1439,9 @@ type Property struct { // via Google Analytics Admin API. PropertyType PropertyType `protobuf:"varint,14,opt,name=property_type,json=propertyType,proto3,enum=google.analytics.admin.v1alpha.PropertyType" json:"property_type,omitempty"` // Output only. Time when the entity was originally created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when entity payload fields were last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Immutable. Resource name of this property's logical parent. // // Note: The Property-Moving UI can be used to change the parent. @@ -1474,11 +1474,11 @@ type Property struct { ServiceLevel ServiceLevel `protobuf:"varint,10,opt,name=service_level,json=serviceLevel,proto3,enum=google.analytics.admin.v1alpha.ServiceLevel" json:"service_level,omitempty"` // Output only. If set, the time at which this property was trashed. If not set, then this // property is not currently in the trash can. - DeleteTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` + DeleteTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. If set, the time at which this trashed property will be permanently // deleted. If not set, then this property is not currently in the trash can // and is not slated to be deleted. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Immutable. The resource name of the parent account // Format: accounts/{account_id} // Example: "accounts/123" @@ -1531,14 +1531,14 @@ func (x *Property) GetPropertyType() PropertyType { return PropertyType_PROPERTY_TYPE_UNSPECIFIED } -func (x *Property) GetCreateTime() *timestamppb.Timestamp { +func (x *Property) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Property) GetUpdateTime() *timestamppb.Timestamp { +func (x *Property) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1587,14 +1587,14 @@ func (x *Property) GetServiceLevel() ServiceLevel { return ServiceLevel_SERVICE_LEVEL_UNSPECIFIED } -func (x *Property) GetDeleteTime() *timestamppb.Timestamp { +func (x *Property) GetDeleteTime() *timestamp.Timestamp { if x != nil { return x.DeleteTime } return nil } -func (x *Property) GetExpireTime() *timestamppb.Timestamp { +func (x *Property) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -1636,9 +1636,9 @@ type DataStream struct { // The max allowed display name length is 255 UTF-16 code units. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Time when this stream was originally created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when stream payload fields were last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *DataStream) Reset() { @@ -1722,14 +1722,14 @@ func (x *DataStream) GetDisplayName() string { return "" } -func (x *DataStream) GetCreateTime() *timestamppb.Timestamp { +func (x *DataStream) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *DataStream) GetUpdateTime() *timestamppb.Timestamp { +func (x *DataStream) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1947,7 +1947,7 @@ type FirebaseLink struct { // Example: 'projects/1234' Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // Output only. Time when this FirebaseLink was originally created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *FirebaseLink) Reset() { @@ -1996,7 +1996,7 @@ func (x *FirebaseLink) GetProject() string { return "" } -func (x *FirebaseLink) GetCreateTime() *timestamppb.Timestamp { +func (x *FirebaseLink) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -2083,11 +2083,11 @@ type GoogleAdsLink struct { // Automatically publish my Google Analytics audience lists and Google // Analytics remarketing events/parameters to the linked Google Ads account. // If this field is not set on create/update, it will be defaulted to true. - AdsPersonalizationEnabled *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=ads_personalization_enabled,json=adsPersonalizationEnabled,proto3" json:"ads_personalization_enabled,omitempty"` + AdsPersonalizationEnabled *wrappers.BoolValue `protobuf:"bytes,5,opt,name=ads_personalization_enabled,json=adsPersonalizationEnabled,proto3" json:"ads_personalization_enabled,omitempty"` // Output only. Time when this link was originally created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when this link was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Email address of the user that created the link. // An empty string will be returned if the email address can't be retrieved. CreatorEmailAddress string `protobuf:"bytes,9,opt,name=creator_email_address,json=creatorEmailAddress,proto3" json:"creator_email_address,omitempty"` @@ -2146,21 +2146,21 @@ func (x *GoogleAdsLink) GetCanManageClients() bool { return false } -func (x *GoogleAdsLink) GetAdsPersonalizationEnabled() *wrapperspb.BoolValue { +func (x *GoogleAdsLink) GetAdsPersonalizationEnabled() *wrappers.BoolValue { if x != nil { return x.AdsPersonalizationEnabled } return nil } -func (x *GoogleAdsLink) GetCreateTime() *timestamppb.Timestamp { +func (x *GoogleAdsLink) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GoogleAdsLink) GetUpdateTime() *timestamppb.Timestamp { +func (x *GoogleAdsLink) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2522,7 +2522,7 @@ type ChangeHistoryEvent struct { // ID of this change history event. This ID is unique across Google Analytics. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Time when change was made. - ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` + ChangeTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The type of actor that made this change. ActorType ActorType `protobuf:"varint,3,opt,name=actor_type,json=actorType,proto3,enum=google.analytics.admin.v1alpha.ActorType" json:"actor_type,omitempty"` // Email address of the Google account that made the change. This will be a @@ -2576,7 +2576,7 @@ func (x *ChangeHistoryEvent) GetId() string { return "" } -func (x *ChangeHistoryEvent) GetChangeTime() *timestamppb.Timestamp { +func (x *ChangeHistoryEvent) GetChangeTime() *timestamp.Timestamp { if x != nil { return x.ChangeTime } @@ -2706,18 +2706,18 @@ type DisplayVideo360AdvertiserLink struct { AdvertiserDisplayName string `protobuf:"bytes,3,opt,name=advertiser_display_name,json=advertiserDisplayName,proto3" json:"advertiser_display_name,omitempty"` // Enables personalized advertising features with this integration. // If this field is not set on create/update, it will be defaulted to true. - AdsPersonalizationEnabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=ads_personalization_enabled,json=adsPersonalizationEnabled,proto3" json:"ads_personalization_enabled,omitempty"` + AdsPersonalizationEnabled *wrappers.BoolValue `protobuf:"bytes,4,opt,name=ads_personalization_enabled,json=adsPersonalizationEnabled,proto3" json:"ads_personalization_enabled,omitempty"` // Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 // property. After link creation, this can only be updated from the Display & // Video 360 product. // If this field is not set on create, it will be defaulted to true. - CampaignDataSharingEnabled *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=campaign_data_sharing_enabled,json=campaignDataSharingEnabled,proto3" json:"campaign_data_sharing_enabled,omitempty"` + CampaignDataSharingEnabled *wrappers.BoolValue `protobuf:"bytes,5,opt,name=campaign_data_sharing_enabled,json=campaignDataSharingEnabled,proto3" json:"campaign_data_sharing_enabled,omitempty"` // Immutable. Enables the import of cost data from Display & Video 360 into the GA4 // property. This can only be enabled if campaign_data_sharing_enabled is // enabled. After link creation, this can only be updated from the Display & // Video 360 product. // If this field is not set on create, it will be defaulted to true. - CostDataSharingEnabled *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=cost_data_sharing_enabled,json=costDataSharingEnabled,proto3" json:"cost_data_sharing_enabled,omitempty"` + CostDataSharingEnabled *wrappers.BoolValue `protobuf:"bytes,6,opt,name=cost_data_sharing_enabled,json=costDataSharingEnabled,proto3" json:"cost_data_sharing_enabled,omitempty"` } func (x *DisplayVideo360AdvertiserLink) Reset() { @@ -2773,21 +2773,21 @@ func (x *DisplayVideo360AdvertiserLink) GetAdvertiserDisplayName() string { return "" } -func (x *DisplayVideo360AdvertiserLink) GetAdsPersonalizationEnabled() *wrapperspb.BoolValue { +func (x *DisplayVideo360AdvertiserLink) GetAdsPersonalizationEnabled() *wrappers.BoolValue { if x != nil { return x.AdsPersonalizationEnabled } return nil } -func (x *DisplayVideo360AdvertiserLink) GetCampaignDataSharingEnabled() *wrapperspb.BoolValue { +func (x *DisplayVideo360AdvertiserLink) GetCampaignDataSharingEnabled() *wrappers.BoolValue { if x != nil { return x.CampaignDataSharingEnabled } return nil } -func (x *DisplayVideo360AdvertiserLink) GetCostDataSharingEnabled() *wrapperspb.BoolValue { +func (x *DisplayVideo360AdvertiserLink) GetCostDataSharingEnabled() *wrappers.BoolValue { if x != nil { return x.CostDataSharingEnabled } @@ -2827,14 +2827,14 @@ type DisplayVideo360AdvertiserLinkProposal struct { ValidationEmail string `protobuf:"bytes,5,opt,name=validation_email,json=validationEmail,proto3" json:"validation_email,omitempty"` // Immutable. Enables personalized advertising features with this integration. // If this field is not set on create, it will be defaulted to true. - AdsPersonalizationEnabled *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=ads_personalization_enabled,json=adsPersonalizationEnabled,proto3" json:"ads_personalization_enabled,omitempty"` + AdsPersonalizationEnabled *wrappers.BoolValue `protobuf:"bytes,6,opt,name=ads_personalization_enabled,json=adsPersonalizationEnabled,proto3" json:"ads_personalization_enabled,omitempty"` // Immutable. Enables the import of campaign data from Display & Video 360. // If this field is not set on create, it will be defaulted to true. - CampaignDataSharingEnabled *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=campaign_data_sharing_enabled,json=campaignDataSharingEnabled,proto3" json:"campaign_data_sharing_enabled,omitempty"` + CampaignDataSharingEnabled *wrappers.BoolValue `protobuf:"bytes,7,opt,name=campaign_data_sharing_enabled,json=campaignDataSharingEnabled,proto3" json:"campaign_data_sharing_enabled,omitempty"` // Immutable. Enables the import of cost data from Display & Video 360. // This can only be enabled if campaign_data_sharing_enabled is enabled. // If this field is not set on create, it will be defaulted to true. - CostDataSharingEnabled *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=cost_data_sharing_enabled,json=costDataSharingEnabled,proto3" json:"cost_data_sharing_enabled,omitempty"` + CostDataSharingEnabled *wrappers.BoolValue `protobuf:"bytes,8,opt,name=cost_data_sharing_enabled,json=costDataSharingEnabled,proto3" json:"cost_data_sharing_enabled,omitempty"` } func (x *DisplayVideo360AdvertiserLinkProposal) Reset() { @@ -2904,21 +2904,21 @@ func (x *DisplayVideo360AdvertiserLinkProposal) GetValidationEmail() string { return "" } -func (x *DisplayVideo360AdvertiserLinkProposal) GetAdsPersonalizationEnabled() *wrapperspb.BoolValue { +func (x *DisplayVideo360AdvertiserLinkProposal) GetAdsPersonalizationEnabled() *wrappers.BoolValue { if x != nil { return x.AdsPersonalizationEnabled } return nil } -func (x *DisplayVideo360AdvertiserLinkProposal) GetCampaignDataSharingEnabled() *wrapperspb.BoolValue { +func (x *DisplayVideo360AdvertiserLinkProposal) GetCampaignDataSharingEnabled() *wrappers.BoolValue { if x != nil { return x.CampaignDataSharingEnabled } return nil } -func (x *DisplayVideo360AdvertiserLinkProposal) GetCostDataSharingEnabled() *wrapperspb.BoolValue { +func (x *DisplayVideo360AdvertiserLinkProposal) GetCostDataSharingEnabled() *wrappers.BoolValue { if x != nil { return x.CostDataSharingEnabled } @@ -3005,7 +3005,7 @@ type ConversionEvent struct { // Examples: 'click', 'purchase' EventName string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` // Output only. Time when this conversion event was created in the property. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. If set, this event can currently be deleted via DeleteConversionEvent. Deletable bool `protobuf:"varint,4,opt,name=deletable,proto3" json:"deletable,omitempty"` // Output only. If set to true, this conversion event refers to a custom event. If set to @@ -3063,7 +3063,7 @@ func (x *ConversionEvent) GetEventName() string { return "" } -func (x *ConversionEvent) GetCreateTime() *timestamppb.Timestamp { +func (x *ConversionEvent) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -5038,8 +5038,8 @@ var file_google_analytics_admin_v1alpha_resources_proto_goTypes = []interface{}{ (*DataStream_AndroidAppStreamData)(nil), // 43: google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData (*DataStream_IosAppStreamData)(nil), // 44: google.analytics.admin.v1alpha.DataStream.IosAppStreamData (*ChangeHistoryChange_ChangeHistoryResource)(nil), // 45: google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - (*timestamppb.Timestamp)(nil), // 46: google.protobuf.Timestamp - (*wrapperspb.BoolValue)(nil), // 47: google.protobuf.BoolValue + (*timestamp.Timestamp)(nil), // 46: google.protobuf.Timestamp + (*wrappers.BoolValue)(nil), // 47: google.protobuf.BoolValue } var file_google_analytics_admin_v1alpha_resources_proto_depIdxs = []int32{ 46, // 0: google.analytics.admin.v1alpha.Account.create_time:type_name -> google.protobuf.Timestamp diff --git a/area120/tables/apiv1alpha1/tablespb/tables.pb.go b/area120/tables/apiv1alpha1/tablespb/tables.pb.go index 62fade46183..714ffe9362b 100644 --- a/area120/tables/apiv1alpha1/tablespb/tables.pb.go +++ b/area120/tables/apiv1alpha1/tablespb/tables.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/area120/tables/v1alpha1/tables.proto package tablespb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -846,7 +846,7 @@ type UpdateRowRequest struct { // Required. The row to update. Row *Row `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"` // The list of fields to update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. Column key to use for values in the row. // Defaults to user entered name. View View `protobuf:"varint,3,opt,name=view,proto3,enum=google.area120.tables.v1alpha1.View" json:"view,omitempty"` @@ -891,7 +891,7 @@ func (x *UpdateRowRequest) GetRow() *Row { return nil } -func (x *UpdateRowRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateRowRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1482,7 +1482,7 @@ type Row struct { // The values of the row. This is a map of column key to value. // Key is user entered name(default) or the internal column id based on // the view in the request. - Values map[string]*structpb.Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Values map[string]*_struct.Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *Row) Reset() { @@ -1524,7 +1524,7 @@ func (x *Row) GetName() string { return "" } -func (x *Row) GetValues() map[string]*structpb.Value { +func (x *Row) GetValues() map[string]*_struct.Value { if x != nil { return x.Values } @@ -2025,9 +2025,9 @@ var file_google_area120_tables_v1alpha1_tables_proto_goTypes = []interface{}{ (*Row)(nil), // 23: google.area120.tables.v1alpha1.Row (*Workspace)(nil), // 24: google.area120.tables.v1alpha1.Workspace nil, // 25: google.area120.tables.v1alpha1.Row.ValuesEntry - (*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask - (*structpb.Value)(nil), // 27: google.protobuf.Value - (*emptypb.Empty)(nil), // 28: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 26: google.protobuf.FieldMask + (*_struct.Value)(nil), // 27: google.protobuf.Value + (*empty.Empty)(nil), // 28: google.protobuf.Empty } var file_google_area120_tables_v1alpha1_tables_proto_depIdxs = []int32{ 18, // 0: google.area120.tables.v1alpha1.ListTablesResponse.tables:type_name -> google.area120.tables.v1alpha1.Table @@ -2431,9 +2431,9 @@ type TablesServiceClient interface { // Updates multiple rows. BatchUpdateRows(ctx context.Context, in *BatchUpdateRowsRequest, opts ...grpc.CallOption) (*BatchUpdateRowsResponse, error) // Deletes a row. - DeleteRow(ctx context.Context, in *DeleteRowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRow(ctx context.Context, in *DeleteRowRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Deletes multiple rows. - BatchDeleteRows(ctx context.Context, in *BatchDeleteRowsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + BatchDeleteRows(ctx context.Context, in *BatchDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type tablesServiceClient struct { @@ -2534,8 +2534,8 @@ func (c *tablesServiceClient) BatchUpdateRows(ctx context.Context, in *BatchUpda return out, nil } -func (c *tablesServiceClient) DeleteRow(ctx context.Context, in *DeleteRowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *tablesServiceClient) DeleteRow(ctx context.Context, in *DeleteRowRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.area120.tables.v1alpha1.TablesService/DeleteRow", in, out, opts...) if err != nil { return nil, err @@ -2543,8 +2543,8 @@ func (c *tablesServiceClient) DeleteRow(ctx context.Context, in *DeleteRowReques return out, nil } -func (c *tablesServiceClient) BatchDeleteRows(ctx context.Context, in *BatchDeleteRowsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *tablesServiceClient) BatchDeleteRows(ctx context.Context, in *BatchDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.area120.tables.v1alpha1.TablesService/BatchDeleteRows", in, out, opts...) if err != nil { return nil, err @@ -2575,9 +2575,9 @@ type TablesServiceServer interface { // Updates multiple rows. BatchUpdateRows(context.Context, *BatchUpdateRowsRequest) (*BatchUpdateRowsResponse, error) // Deletes a row. - DeleteRow(context.Context, *DeleteRowRequest) (*emptypb.Empty, error) + DeleteRow(context.Context, *DeleteRowRequest) (*empty.Empty, error) // Deletes multiple rows. - BatchDeleteRows(context.Context, *BatchDeleteRowsRequest) (*emptypb.Empty, error) + BatchDeleteRows(context.Context, *BatchDeleteRowsRequest) (*empty.Empty, error) } // UnimplementedTablesServiceServer can be embedded to have forward compatible implementations. @@ -2614,10 +2614,10 @@ func (*UnimplementedTablesServiceServer) UpdateRow(context.Context, *UpdateRowRe func (*UnimplementedTablesServiceServer) BatchUpdateRows(context.Context, *BatchUpdateRowsRequest) (*BatchUpdateRowsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateRows not implemented") } -func (*UnimplementedTablesServiceServer) DeleteRow(context.Context, *DeleteRowRequest) (*emptypb.Empty, error) { +func (*UnimplementedTablesServiceServer) DeleteRow(context.Context, *DeleteRowRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteRow not implemented") } -func (*UnimplementedTablesServiceServer) BatchDeleteRows(context.Context, *BatchDeleteRowsRequest) (*emptypb.Empty, error) { +func (*UnimplementedTablesServiceServer) BatchDeleteRows(context.Context, *BatchDeleteRowsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteRows not implemented") } diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go index 0ab85079a25..919257e208f 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package artifactregistrypb diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go index 4502e479d6a..7f412e57c0b 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/file.proto package artifactregistrypb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -163,9 +163,9 @@ type File struct { // The hashes of the file content. Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"` // The time when the File was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the File was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the Package or Version that owns this file, if any. Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` } @@ -223,14 +223,14 @@ func (x *File) GetHashes() []*Hash { return nil } -func (x *File) GetCreateTime() *timestamppb.Timestamp { +func (x *File) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *File) GetUpdateTime() *timestamppb.Timestamp { +func (x *File) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -544,13 +544,13 @@ func file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP() []by var file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes = []interface{}{ - (Hash_HashType)(0), // 0: google.devtools.artifactregistry.v1beta2.Hash.HashType - (*Hash)(nil), // 1: google.devtools.artifactregistry.v1beta2.Hash - (*File)(nil), // 2: google.devtools.artifactregistry.v1beta2.File - (*ListFilesRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListFilesRequest - (*ListFilesResponse)(nil), // 4: google.devtools.artifactregistry.v1beta2.ListFilesResponse - (*GetFileRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.GetFileRequest - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (Hash_HashType)(0), // 0: google.devtools.artifactregistry.v1beta2.Hash.HashType + (*Hash)(nil), // 1: google.devtools.artifactregistry.v1beta2.Hash + (*File)(nil), // 2: google.devtools.artifactregistry.v1beta2.File + (*ListFilesRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListFilesRequest + (*ListFilesResponse)(nil), // 4: google.devtools.artifactregistry.v1beta2.ListFilesResponse + (*GetFileRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.GetFileRequest + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs = []int32{ 0, // 0: google.devtools.artifactregistry.v1beta2.Hash.type:type_name -> google.devtools.artifactregistry.v1beta2.Hash.HashType diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go index 9af2c3bc6e0..0c6071e5bfd 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/package.proto package artifactregistrypb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -48,10 +48,10 @@ type Package struct { // The display name of the package. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The time when the package was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the package was last updated. This includes publishing a new // version of the package. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Package) Reset() { @@ -100,14 +100,14 @@ func (x *Package) GetDisplayName() string { return "" } -func (x *Package) GetCreateTime() *timestamppb.Timestamp { +func (x *Package) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Package) GetUpdateTime() *timestamppb.Timestamp { +func (x *Package) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -417,12 +417,12 @@ func file_google_devtools_artifactregistry_v1beta2_package_proto_rawDescGZIP() [ var file_google_devtools_artifactregistry_v1beta2_package_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_google_devtools_artifactregistry_v1beta2_package_proto_goTypes = []interface{}{ - (*Package)(nil), // 0: google.devtools.artifactregistry.v1beta2.Package - (*ListPackagesRequest)(nil), // 1: google.devtools.artifactregistry.v1beta2.ListPackagesRequest - (*ListPackagesResponse)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListPackagesResponse - (*GetPackageRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.GetPackageRequest - (*DeletePackageRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.DeletePackageRequest - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*Package)(nil), // 0: google.devtools.artifactregistry.v1beta2.Package + (*ListPackagesRequest)(nil), // 1: google.devtools.artifactregistry.v1beta2.ListPackagesRequest + (*ListPackagesResponse)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListPackagesResponse + (*GetPackageRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.GetPackageRequest + (*DeletePackageRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.DeletePackageRequest + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp } var file_google_devtools_artifactregistry_v1beta2_package_proto_depIdxs = []int32{ 5, // 0: google.devtools.artifactregistry.v1beta2.Package.create_time:type_name -> google.protobuf.Timestamp diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go index 66dc02ee402..c9eb0999f7a 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/repository.proto package artifactregistrypb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -188,9 +188,9 @@ type Repository struct { // and dashes. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The time when the repository was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the repository was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The Cloud KMS resource name of the customer managed encryption key that’s // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. @@ -272,14 +272,14 @@ func (x *Repository) GetLabels() map[string]string { return nil } -func (x *Repository) GetCreateTime() *timestamppb.Timestamp { +func (x *Repository) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Repository) GetUpdateTime() *timestamppb.Timestamp { +func (x *Repository) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -558,7 +558,7 @@ type UpdateRepositoryRequest struct { // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateRepositoryRequest) Reset() { @@ -600,7 +600,7 @@ func (x *UpdateRepositoryRequest) GetRepository() *Repository { return nil } -func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateRepositoryRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -907,8 +907,8 @@ var file_google_devtools_artifactregistry_v1beta2_repository_proto_goTypes = []i (*DeleteRepositoryRequest)(nil), // 8: google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest (*Repository_MavenRepositoryConfig)(nil), // 9: google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig nil, // 10: google.devtools.artifactregistry.v1beta2.Repository.LabelsEntry - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 12: google.protobuf.FieldMask } var file_google_devtools_artifactregistry_v1beta2_repository_proto_depIdxs = []int32{ 9, // 0: google.devtools.artifactregistry.v1beta2.Repository.maven_config:type_name -> google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go index 5603760e796..a8d3a350d75 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/service.proto package artifactregistrypb @@ -25,6 +25,7 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" longrunning "google.golang.org/genproto/googleapis/longrunning" @@ -33,7 +34,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) const ( @@ -586,7 +586,7 @@ var file_google_devtools_artifactregistry_v1beta2_service_proto_goTypes = []inte (*File)(nil), // 34: google.devtools.artifactregistry.v1beta2.File (*ListTagsResponse)(nil), // 35: google.devtools.artifactregistry.v1beta2.ListTagsResponse (*Tag)(nil), // 36: google.devtools.artifactregistry.v1beta2.Tag - (*emptypb.Empty)(nil), // 37: google.protobuf.Empty + (*empty.Empty)(nil), // 37: google.protobuf.Empty (*v1.Policy)(nil), // 38: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 39: google.iam.v1.TestIamPermissionsResponse (*ProjectSettings)(nil), // 40: google.devtools.artifactregistry.v1beta2.ProjectSettings @@ -758,7 +758,7 @@ type ArtifactRegistryClient interface { // Updates a tag. UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Deletes a tag. - DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates the IAM policy for a given resource. SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Gets the IAM policy for a given resource. @@ -950,8 +950,8 @@ func (c *artifactRegistryClient) UpdateTag(ctx context.Context, in *UpdateTagReq return out, nil } -func (c *artifactRegistryClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *artifactRegistryClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.devtools.artifactregistry.v1beta2.ArtifactRegistry/DeleteTag", in, out, opts...) if err != nil { return nil, err @@ -1056,7 +1056,7 @@ type ArtifactRegistryServer interface { // Updates a tag. UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) // Deletes a tag. - DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) + DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) // Updates the IAM policy for a given resource. SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) // Gets the IAM policy for a given resource. @@ -1130,7 +1130,7 @@ func (*UnimplementedArtifactRegistryServer) CreateTag(context.Context, *CreateTa func (*UnimplementedArtifactRegistryServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateTag not implemented") } -func (*UnimplementedArtifactRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) { +func (*UnimplementedArtifactRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") } func (*UnimplementedArtifactRegistryServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) { diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go index c5eab8dbc98..91e67b81795 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/settings.proto package artifactregistrypb @@ -25,9 +25,9 @@ import ( sync "sync" _ "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" ) const ( @@ -216,7 +216,7 @@ type UpdateProjectSettingsRequest struct { // The project settings. ProjectSettings *ProjectSettings `protobuf:"bytes,2,opt,name=project_settings,json=projectSettings,proto3" json:"project_settings,omitempty"` // Field mask to support partial updates. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateProjectSettingsRequest) Reset() { @@ -258,7 +258,7 @@ func (x *UpdateProjectSettingsRequest) GetProjectSettings() *ProjectSettings { return nil } -func (x *UpdateProjectSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateProjectSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -366,7 +366,7 @@ var file_google_devtools_artifactregistry_v1beta2_settings_proto_goTypes = []int (*ProjectSettings)(nil), // 1: google.devtools.artifactregistry.v1beta2.ProjectSettings (*GetProjectSettingsRequest)(nil), // 2: google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest (*UpdateProjectSettingsRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - (*fieldmaskpb.FieldMask)(nil), // 4: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 4: google.protobuf.FieldMask } var file_google_devtools_artifactregistry_v1beta2_settings_proto_depIdxs = []int32{ 0, // 0: google.devtools.artifactregistry.v1beta2.ProjectSettings.legacy_redirection_state:type_name -> google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go index 5cd36709d5b..72a3b1fe640 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/tag.proto package artifactregistrypb @@ -25,9 +25,9 @@ import ( sync "sync" _ "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" ) const ( @@ -373,7 +373,7 @@ type UpdateTagRequest struct { // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTagRequest) Reset() { @@ -415,7 +415,7 @@ func (x *UpdateTagRequest) GetTag() *Tag { return nil } -func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTagRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -568,14 +568,14 @@ func file_google_devtools_artifactregistry_v1beta2_tag_proto_rawDescGZIP() []byt var file_google_devtools_artifactregistry_v1beta2_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_google_devtools_artifactregistry_v1beta2_tag_proto_goTypes = []interface{}{ - (*Tag)(nil), // 0: google.devtools.artifactregistry.v1beta2.Tag - (*ListTagsRequest)(nil), // 1: google.devtools.artifactregistry.v1beta2.ListTagsRequest - (*ListTagsResponse)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListTagsResponse - (*GetTagRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.GetTagRequest - (*CreateTagRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.CreateTagRequest - (*UpdateTagRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.UpdateTagRequest - (*DeleteTagRequest)(nil), // 6: google.devtools.artifactregistry.v1beta2.DeleteTagRequest - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*Tag)(nil), // 0: google.devtools.artifactregistry.v1beta2.Tag + (*ListTagsRequest)(nil), // 1: google.devtools.artifactregistry.v1beta2.ListTagsRequest + (*ListTagsResponse)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListTagsResponse + (*GetTagRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.GetTagRequest + (*CreateTagRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.CreateTagRequest + (*UpdateTagRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.UpdateTagRequest + (*DeleteTagRequest)(nil), // 6: google.devtools.artifactregistry.v1beta2.DeleteTagRequest + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask } var file_google_devtools_artifactregistry_v1beta2_tag_proto_depIdxs = []int32{ 0, // 0: google.devtools.artifactregistry.v1beta2.ListTagsResponse.tags:type_name -> google.devtools.artifactregistry.v1beta2.Tag diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go index 01e69898679..7ada6240bfb 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/version.proto package artifactregistrypb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -109,9 +109,9 @@ type Version struct { // Optional. Description of the version, as specified in its metadata. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The time when the version was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the version was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. A list of related tags. Will contain up to 100 tags that // reference this version. RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"` @@ -119,7 +119,7 @@ type Version struct { // The fields returned are defined by the underlying repository-specific // resource. Currently, the only resource in use is // [DockerImage][google.devtools.artifactregistry.v1.DockerImage] - Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *Version) Reset() { @@ -168,14 +168,14 @@ func (x *Version) GetDescription() string { return "" } -func (x *Version) GetCreateTime() *timestamppb.Timestamp { +func (x *Version) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Version) GetUpdateTime() *timestamppb.Timestamp { +func (x *Version) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -189,7 +189,7 @@ func (x *Version) GetRelatedTags() []*Tag { return nil } -func (x *Version) GetMetadata() *structpb.Struct { +func (x *Version) GetMetadata() *_struct.Struct { if x != nil { return x.Metadata } @@ -580,15 +580,15 @@ func file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP() [ var file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes = []interface{}{ - (VersionView)(0), // 0: google.devtools.artifactregistry.v1beta2.VersionView - (*Version)(nil), // 1: google.devtools.artifactregistry.v1beta2.Version - (*ListVersionsRequest)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListVersionsRequest - (*ListVersionsResponse)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListVersionsResponse - (*GetVersionRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.GetVersionRequest - (*DeleteVersionRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*Tag)(nil), // 7: google.devtools.artifactregistry.v1beta2.Tag - (*structpb.Struct)(nil), // 8: google.protobuf.Struct + (VersionView)(0), // 0: google.devtools.artifactregistry.v1beta2.VersionView + (*Version)(nil), // 1: google.devtools.artifactregistry.v1beta2.Version + (*ListVersionsRequest)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListVersionsRequest + (*ListVersionsResponse)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListVersionsResponse + (*GetVersionRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.GetVersionRequest + (*DeleteVersionRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*Tag)(nil), // 7: google.devtools.artifactregistry.v1beta2.Tag + (*_struct.Struct)(nil), // 8: google.protobuf.Struct } var file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs = []int32{ 6, // 0: google.devtools.artifactregistry.v1beta2.Version.create_time:type_name -> google.protobuf.Timestamp diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go index 6c7f7c2e57a..32d7dbbdfa1 100644 --- a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package artifactregistrypb diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go index 40737b726b9..1e81500ac47 100644 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto package assuredworkloadspb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -502,7 +502,7 @@ type UpdateWorkloadRequest struct { // organizations/{org_id}/locations/{location_id}/workloads/{workload_id} Workload *Workload `protobuf:"bytes,1,opt,name=workload,proto3" json:"workload,omitempty"` // Required. The list of fields to be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateWorkloadRequest) Reset() { @@ -544,7 +544,7 @@ func (x *UpdateWorkloadRequest) GetWorkload() *Workload { return nil } -func (x *UpdateWorkloadRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateWorkloadRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1093,7 +1093,7 @@ type Workload struct { // Required. Immutable. Compliance Regime associated with this workload. ComplianceRegime Workload_ComplianceRegime `protobuf:"varint,4,opt,name=compliance_regime,json=complianceRegime,proto3,enum=google.cloud.assuredworkloads.v1beta1.Workload_ComplianceRegime" json:"compliance_regime,omitempty"` // Output only. Immutable. The Workload creation timestamp. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The billing account used for the resources which are // direct children of workload. This billing account is initially associated // with the resources created as part of Workload creation. @@ -1212,7 +1212,7 @@ func (x *Workload) GetComplianceRegime() Workload_ComplianceRegime { return Workload_COMPLIANCE_REGIME_UNSPECIFIED } -func (x *Workload) GetCreateTime() *timestamppb.Timestamp { +func (x *Workload) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1376,7 +1376,7 @@ type CreateWorkloadOperationMetadata struct { unknownFields protoimpl.UnknownFields // Optional. Time when the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Optional. The display name of the workload. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. The parent of the workload. @@ -1421,7 +1421,7 @@ func (*CreateWorkloadOperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_assuredworkloads_v1beta1_assuredworkloads_proto_rawDescGZIP(), []int{11} } -func (x *CreateWorkloadOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *CreateWorkloadOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1525,11 +1525,11 @@ type Workload_KMSSettings struct { // Required. Input only. Immutable. The time at which the Key Management Service will automatically create a // new version of the crypto key and mark it as the primary. - NextRotationTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=next_rotation_time,json=nextRotationTime,proto3" json:"next_rotation_time,omitempty"` + NextRotationTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=next_rotation_time,json=nextRotationTime,proto3" json:"next_rotation_time,omitempty"` // Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key // Management Service automatically rotates a key. Must be at least 24 hours // and at most 876,000 hours. - RotationPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"` + RotationPeriod *duration.Duration `protobuf:"bytes,2,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"` } func (x *Workload_KMSSettings) Reset() { @@ -1564,14 +1564,14 @@ func (*Workload_KMSSettings) Descriptor() ([]byte, []int) { return file_google_cloud_assuredworkloads_v1beta1_assuredworkloads_proto_rawDescGZIP(), []int{10, 1} } -func (x *Workload_KMSSettings) GetNextRotationTime() *timestamppb.Timestamp { +func (x *Workload_KMSSettings) GetNextRotationTime() *timestamp.Timestamp { if x != nil { return x.NextRotationTime } return nil } -func (x *Workload_KMSSettings) GetRotationPeriod() *durationpb.Duration { +func (x *Workload_KMSSettings) GetRotationPeriod() *duration.Duration { if x != nil { return x.RotationPeriod } @@ -2374,9 +2374,9 @@ var file_google_cloud_assuredworkloads_v1beta1_assuredworkloads_proto_goTypes = (*Workload_ResourceSettings)(nil), // 24: google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings (*Workload_SaaEnrollmentResponse)(nil), // 25: google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse nil, // 26: google.cloud.assuredworkloads.v1beta1.Workload.LabelsEntry - (*fieldmaskpb.FieldMask)(nil), // 27: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 28: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 29: google.protobuf.Duration + (*field_mask.FieldMask)(nil), // 27: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 28: google.protobuf.Timestamp + (*duration.Duration)(nil), // 29: google.protobuf.Duration } var file_google_cloud_assuredworkloads_v1beta1_assuredworkloads_proto_depIdxs = []int32{ 16, // 0: google.cloud.assuredworkloads.v1beta1.CreateWorkloadRequest.workload:type_name -> google.cloud.assuredworkloads.v1beta1.Workload diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go index 0f977c6f898..4c09a5e9aa6 100644 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/assuredworkloads/v1beta1/assuredworkloads_service.proto package assuredworkloadspb @@ -24,6 +24,7 @@ import ( context "context" reflect "reflect" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" grpc "google.golang.org/grpc" @@ -31,7 +32,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) const ( @@ -183,7 +183,7 @@ var file_google_cloud_assuredworkloads_v1beta1_assuredworkloads_service_proto_go (*longrunning.Operation)(nil), // 7: google.longrunning.Operation (*Workload)(nil), // 8: google.cloud.assuredworkloads.v1beta1.Workload (*RestrictAllowedResourcesResponse)(nil), // 9: google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesResponse - (*emptypb.Empty)(nil), // 10: google.protobuf.Empty + (*empty.Empty)(nil), // 10: google.protobuf.Empty (*AnalyzeWorkloadMoveResponse)(nil), // 11: google.cloud.assuredworkloads.v1beta1.AnalyzeWorkloadMoveResponse (*ListWorkloadsResponse)(nil), // 12: google.cloud.assuredworkloads.v1beta1.ListWorkloadsResponse } @@ -266,7 +266,7 @@ type AssuredWorkloadsServiceClient interface { // In addition to assuredworkloads.workload.delete permission, the user should // also have orgpolicy.policy.set permission on the deleted folder to remove // Assured Workloads OrgPolicies. - DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets Assured Workload associated with a CRM Node GetWorkload(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error) // Analyze if the source Assured Workloads can be moved to the target Assured @@ -311,8 +311,8 @@ func (c *assuredWorkloadsServiceClient) RestrictAllowedResources(ctx context.Con return out, nil } -func (c *assuredWorkloadsServiceClient) DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *assuredWorkloadsServiceClient) DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService/DeleteWorkload", in, out, opts...) if err != nil { return nil, err @@ -369,7 +369,7 @@ type AssuredWorkloadsServiceServer interface { // In addition to assuredworkloads.workload.delete permission, the user should // also have orgpolicy.policy.set permission on the deleted folder to remove // Assured Workloads OrgPolicies. - DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*emptypb.Empty, error) + DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*empty.Empty, error) // Gets Assured Workload associated with a CRM Node GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error) // Analyze if the source Assured Workloads can be moved to the target Assured @@ -392,7 +392,7 @@ func (*UnimplementedAssuredWorkloadsServiceServer) UpdateWorkload(context.Contex func (*UnimplementedAssuredWorkloadsServiceServer) RestrictAllowedResources(context.Context, *RestrictAllowedResourcesRequest) (*RestrictAllowedResourcesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RestrictAllowedResources not implemented") } -func (*UnimplementedAssuredWorkloadsServiceServer) DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*emptypb.Empty, error) { +func (*UnimplementedAssuredWorkloadsServiceServer) DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkload not implemented") } func (*UnimplementedAssuredWorkloadsServiceServer) GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error) { diff --git a/automl/apiv1beta1/automlpb/annotation_payload.pb.go b/automl/apiv1beta1/automlpb/annotation_payload.pb.go index fa8989ef0ce..336942e9c28 100644 --- a/automl/apiv1beta1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_payload.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/annotation_payload.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/annotation_spec.pb.go b/automl/apiv1beta1/automlpb/annotation_spec.pb.go index 649fb019aa0..5b42c4f0561 100644 --- a/automl/apiv1beta1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/annotation_spec.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/classification.pb.go b/automl/apiv1beta1/automlpb/classification.pb.go index d527c6ead30..376aa7bcf16 100644 --- a/automl/apiv1beta1/automlpb/classification.pb.go +++ b/automl/apiv1beta1/automlpb/classification.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/classification.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/column_spec.pb.go b/automl/apiv1beta1/automlpb/column_spec.pb.go index 92175705a6c..a1f9934b756 100644 --- a/automl/apiv1beta1/automlpb/column_spec.pb.go +++ b/automl/apiv1beta1/automlpb/column_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/column_spec.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/data_items.pb.go b/automl/apiv1beta1/automlpb/data_items.pb.go index 2033aba9544..f4a1311da44 100644 --- a/automl/apiv1beta1/automlpb/data_items.pb.go +++ b/automl/apiv1beta1/automlpb/data_items.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/data_items.proto package automlpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -529,7 +529,7 @@ type Row struct { // // [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] // of the Model this row is being passed to. - Values []*structpb.Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` + Values []*_struct.Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` } func (x *Row) Reset() { @@ -571,7 +571,7 @@ func (x *Row) GetColumnSpecIds() []string { return nil } -func (x *Row) GetValues() []*structpb.Value { +func (x *Row) GetValues() []*_struct.Value { if x != nil { return x.Values } @@ -953,7 +953,7 @@ var file_google_cloud_automl_v1beta1_data_items_proto_goTypes = []interface{}{ (*Document_Layout)(nil), // 8: google.cloud.automl.v1beta1.Document.Layout (*InputConfig)(nil), // 9: google.cloud.automl.v1beta1.InputConfig (*DocumentInputConfig)(nil), // 10: google.cloud.automl.v1beta1.DocumentInputConfig - (*structpb.Value)(nil), // 11: google.protobuf.Value + (*_struct.Value)(nil), // 11: google.protobuf.Value (*TextSegment)(nil), // 12: google.cloud.automl.v1beta1.TextSegment (*BoundingPoly)(nil), // 13: google.cloud.automl.v1beta1.BoundingPoly } diff --git a/automl/apiv1beta1/automlpb/data_stats.pb.go b/automl/apiv1beta1/automlpb/data_stats.pb.go index 4ea1ec96169..968d3d3456f 100644 --- a/automl/apiv1beta1/automlpb/data_stats.pb.go +++ b/automl/apiv1beta1/automlpb/data_stats.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/data_stats.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/data_types.pb.go b/automl/apiv1beta1/automlpb/data_types.pb.go index dfbe66303e0..d8457a04bb6 100644 --- a/automl/apiv1beta1/automlpb/data_types.pb.go +++ b/automl/apiv1beta1/automlpb/data_types.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/data_types.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/dataset.pb.go b/automl/apiv1beta1/automlpb/dataset.pb.go index aec2b6c5bdf..2adb11f2a77 100644 --- a/automl/apiv1beta1/automlpb/dataset.pb.go +++ b/automl/apiv1beta1/automlpb/dataset.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/dataset.proto package automlpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -73,7 +73,7 @@ type Dataset struct { // Output only. The number of examples in the dataset. ExampleCount int32 `protobuf:"varint,21,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` // Output only. Timestamp when this dataset was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"` @@ -209,7 +209,7 @@ func (x *Dataset) GetExampleCount() int32 { return 0 } -func (x *Dataset) GetCreateTime() *timestamppb.Timestamp { +func (x *Dataset) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -452,7 +452,7 @@ var file_google_cloud_automl_v1beta1_dataset_proto_goTypes = []interface{}{ (*TextExtractionDatasetMetadata)(nil), // 7: google.cloud.automl.v1beta1.TextExtractionDatasetMetadata (*TextSentimentDatasetMetadata)(nil), // 8: google.cloud.automl.v1beta1.TextSentimentDatasetMetadata (*TablesDatasetMetadata)(nil), // 9: google.cloud.automl.v1beta1.TablesDatasetMetadata - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp } var file_google_cloud_automl_v1beta1_dataset_proto_depIdxs = []int32{ 1, // 0: google.cloud.automl.v1beta1.Dataset.translation_dataset_metadata:type_name -> google.cloud.automl.v1beta1.TranslationDatasetMetadata diff --git a/automl/apiv1beta1/automlpb/detection.pb.go b/automl/apiv1beta1/automlpb/detection.pb.go index 98782698753..9204eca21fb 100644 --- a/automl/apiv1beta1/automlpb/detection.pb.go +++ b/automl/apiv1beta1/automlpb/detection.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/detection.proto package automlpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -111,7 +111,7 @@ type VideoObjectTrackingAnnotation struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Required. A time (frame) of a video to which this annotation pertains. // Represented as the duration since the video's start. - TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // Required. The rectangle representing the object location on the frame (i.e. // at the time_offset of the video). BoundingBox *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` @@ -162,7 +162,7 @@ func (x *VideoObjectTrackingAnnotation) GetInstanceId() string { return "" } -func (x *VideoObjectTrackingAnnotation) GetTimeOffset() *durationpb.Duration { +func (x *VideoObjectTrackingAnnotation) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -623,7 +623,7 @@ var file_google_cloud_automl_v1beta1_detection_proto_goTypes = []interface{}{ (*VideoObjectTrackingEvaluationMetrics)(nil), // 4: google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry)(nil), // 5: google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry (*BoundingPoly)(nil), // 6: google.cloud.automl.v1beta1.BoundingPoly - (*durationpb.Duration)(nil), // 7: google.protobuf.Duration + (*duration.Duration)(nil), // 7: google.protobuf.Duration } var file_google_cloud_automl_v1beta1_detection_proto_depIdxs = []int32{ 6, // 0: google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation.bounding_box:type_name -> google.cloud.automl.v1beta1.BoundingPoly diff --git a/automl/apiv1beta1/automlpb/geometry.pb.go b/automl/apiv1beta1/automlpb/geometry.pb.go index 1a4dde41b05..8af403b1699 100644 --- a/automl/apiv1beta1/automlpb/geometry.pb.go +++ b/automl/apiv1beta1/automlpb/geometry.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/geometry.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/image.pb.go b/automl/apiv1beta1/automlpb/image.pb.go index abbe55bc19b..961aff16cb5 100644 --- a/automl/apiv1beta1/automlpb/image.pb.go +++ b/automl/apiv1beta1/automlpb/image.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/image.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/io.pb.go b/automl/apiv1beta1/automlpb/io.pb.go index aeaba93d384..891e0cb08a8 100644 --- a/automl/apiv1beta1/automlpb/io.pb.go +++ b/automl/apiv1beta1/automlpb/io.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/io.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/model.pb.go b/automl/apiv1beta1/automlpb/model.pb.go index 0aeb8f22cdd..d70edb0a966 100644 --- a/automl/apiv1beta1/automlpb/model.pb.go +++ b/automl/apiv1beta1/automlpb/model.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/model.proto package automlpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -124,9 +124,9 @@ type Model struct { // come from the same ancestor project and location. DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Output only. Timestamp when the model training finished and can be used for prediction. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this model was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Deployment state of the model. A model can only serve // prediction requests after it gets deployed. DeploymentState Model_DeploymentState `protobuf:"varint,8,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.automl.v1beta1.Model_DeploymentState" json:"deployment_state,omitempty"` @@ -255,14 +255,14 @@ func (x *Model) GetDatasetId() string { return "" } -func (x *Model) GetCreateTime() *timestamppb.Timestamp { +func (x *Model) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Model) GetUpdateTime() *timestamppb.Timestamp { +func (x *Model) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -514,7 +514,7 @@ var file_google_cloud_automl_v1beta1_model_proto_goTypes = []interface{}{ (*TextExtractionModelMetadata)(nil), // 8: google.cloud.automl.v1beta1.TextExtractionModelMetadata (*TablesModelMetadata)(nil), // 9: google.cloud.automl.v1beta1.TablesModelMetadata (*TextSentimentModelMetadata)(nil), // 10: google.cloud.automl.v1beta1.TextSentimentModelMetadata - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp } var file_google_cloud_automl_v1beta1_model_proto_depIdxs = []int32{ 2, // 0: google.cloud.automl.v1beta1.Model.translation_model_metadata:type_name -> google.cloud.automl.v1beta1.TranslationModelMetadata diff --git a/automl/apiv1beta1/automlpb/model_evaluation.pb.go b/automl/apiv1beta1/automlpb/model_evaluation.pb.go index 957dd26cd3a..f5e372f49d4 100644 --- a/automl/apiv1beta1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1beta1/automlpb/model_evaluation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/model_evaluation.proto package automlpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -84,7 +84,7 @@ type ModelEvaluation struct { // The display_name is empty for the overall model evaluation. DisplayName string `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when this model evaluation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The number of examples used for model evaluation, i.e. for // which ground truth from time of model creation is compared against the // predicted annotations created by the model. @@ -206,7 +206,7 @@ func (x *ModelEvaluation) GetDisplayName() string { return "" } -func (x *ModelEvaluation) GetCreateTime() *timestamppb.Timestamp { +func (x *ModelEvaluation) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -433,7 +433,7 @@ var file_google_cloud_automl_v1beta1_model_evaluation_proto_goTypes = []interfac (*VideoObjectTrackingEvaluationMetrics)(nil), // 5: google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics (*TextSentimentEvaluationMetrics)(nil), // 6: google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics (*TextExtractionEvaluationMetrics)(nil), // 7: google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp } var file_google_cloud_automl_v1beta1_model_evaluation_proto_depIdxs = []int32{ 1, // 0: google.cloud.automl.v1beta1.ModelEvaluation.classification_evaluation_metrics:type_name -> google.cloud.automl.v1beta1.ClassificationEvaluationMetrics diff --git a/automl/apiv1beta1/automlpb/operations.pb.go b/automl/apiv1beta1/automlpb/operations.pb.go index bea90a65ad1..0c0129eeed5 100644 --- a/automl/apiv1beta1/automlpb/operations.pb.go +++ b/automl/apiv1beta1/automlpb/operations.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/operations.proto package automlpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -67,9 +67,9 @@ type OperationMetadata struct { // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Output only. Time when the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the operation was updated for the last time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *OperationMetadata) Reset() { @@ -188,14 +188,14 @@ func (x *OperationMetadata) GetPartialFailures() []*status.Status { return nil } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1190,7 +1190,7 @@ var file_google_cloud_automl_v1beta1_operations_proto_goTypes = []interface{}{ (*ExportModelOperationMetadata_ExportModelOutputInfo)(nil), // 12: google.cloud.automl.v1beta1.ExportModelOperationMetadata.ExportModelOutputInfo (*ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo)(nil), // 13: google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata.ExportEvaluatedExamplesOutputInfo (*status.Status)(nil), // 14: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 15: google.protobuf.Timestamp (*BatchPredictInputConfig)(nil), // 16: google.cloud.automl.v1beta1.BatchPredictInputConfig } var file_google_cloud_automl_v1beta1_operations_proto_depIdxs = []int32{ diff --git a/automl/apiv1beta1/automlpb/prediction_service.pb.go b/automl/apiv1beta1/automlpb/prediction_service.pb.go index 9ac16c6ef87..1416b177d9d 100644 --- a/automl/apiv1beta1/automlpb/prediction_service.pb.go +++ b/automl/apiv1beta1/automlpb/prediction_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/prediction_service.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/ranges.pb.go b/automl/apiv1beta1/automlpb/ranges.pb.go index cd7725065f7..787ddf5564b 100644 --- a/automl/apiv1beta1/automlpb/ranges.pb.go +++ b/automl/apiv1beta1/automlpb/ranges.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/ranges.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/regression.pb.go b/automl/apiv1beta1/automlpb/regression.pb.go index 16a9c91194b..dea266bbe18 100644 --- a/automl/apiv1beta1/automlpb/regression.pb.go +++ b/automl/apiv1beta1/automlpb/regression.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/regression.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/service.pb.go b/automl/apiv1beta1/automlpb/service.pb.go index feccdf38b74..b63e437755e 100644 --- a/automl/apiv1beta1/automlpb/service.pb.go +++ b/automl/apiv1beta1/automlpb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/service.proto package automlpb @@ -27,12 +27,12 @@ import ( _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -304,7 +304,7 @@ type UpdateDatasetRequest struct { // Required. The dataset which replaces the resource on the server. Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` // The update mask applies to the resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateDatasetRequest) Reset() { @@ -346,7 +346,7 @@ func (x *UpdateDatasetRequest) GetDataset() *Dataset { return nil } -func (x *UpdateDatasetRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDatasetRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -578,7 +578,7 @@ type GetTableSpecRequest struct { // Required. The resource name of the table spec to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mask specifying which fields to read. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` } func (x *GetTableSpecRequest) Reset() { @@ -620,7 +620,7 @@ func (x *GetTableSpecRequest) GetName() string { return "" } -func (x *GetTableSpecRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *GetTableSpecRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -636,7 +636,7 @@ type ListTableSpecsRequest struct { // Required. The resource name of the dataset to list table specs from. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Mask specifying which fields to read. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // Filter expression, see go/filtering. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Requested page size. The server can return fewer results than requested. @@ -688,7 +688,7 @@ func (x *ListTableSpecsRequest) GetParent() string { return "" } -func (x *ListTableSpecsRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ListTableSpecsRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -784,7 +784,7 @@ type UpdateTableSpecRequest struct { // Required. The table spec which replaces the resource on the server. TableSpec *TableSpec `protobuf:"bytes,1,opt,name=table_spec,json=tableSpec,proto3" json:"table_spec,omitempty"` // The update mask applies to the resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTableSpecRequest) Reset() { @@ -826,7 +826,7 @@ func (x *UpdateTableSpecRequest) GetTableSpec() *TableSpec { return nil } -func (x *UpdateTableSpecRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTableSpecRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -842,7 +842,7 @@ type GetColumnSpecRequest struct { // Required. The resource name of the column spec to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mask specifying which fields to read. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` } func (x *GetColumnSpecRequest) Reset() { @@ -884,7 +884,7 @@ func (x *GetColumnSpecRequest) GetName() string { return "" } -func (x *GetColumnSpecRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *GetColumnSpecRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -900,7 +900,7 @@ type ListColumnSpecsRequest struct { // Required. The resource name of the table spec to list column specs from. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Mask specifying which fields to read. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // Filter expression, see go/filtering. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Requested page size. The server can return fewer results than requested. @@ -952,7 +952,7 @@ func (x *ListColumnSpecsRequest) GetParent() string { return "" } -func (x *ListColumnSpecsRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ListColumnSpecsRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -1048,7 +1048,7 @@ type UpdateColumnSpecRequest struct { // Required. The column spec which replaces the resource on the server. ColumnSpec *ColumnSpec `protobuf:"bytes,1,opt,name=column_spec,json=columnSpec,proto3" json:"column_spec,omitempty"` // The update mask applies to the resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateColumnSpecRequest) Reset() { @@ -1090,7 +1090,7 @@ func (x *UpdateColumnSpecRequest) GetColumnSpec() *ColumnSpec { return nil } -func (x *UpdateColumnSpecRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateColumnSpecRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2575,7 +2575,7 @@ var file_google_cloud_automl_v1beta1_service_proto_goTypes = []interface{}{ (*ListModelEvaluationsRequest)(nil), // 27: google.cloud.automl.v1beta1.ListModelEvaluationsRequest (*ListModelEvaluationsResponse)(nil), // 28: google.cloud.automl.v1beta1.ListModelEvaluationsResponse (*Dataset)(nil), // 29: google.cloud.automl.v1beta1.Dataset - (*fieldmaskpb.FieldMask)(nil), // 30: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 30: google.protobuf.FieldMask (*InputConfig)(nil), // 31: google.cloud.automl.v1beta1.InputConfig (*OutputConfig)(nil), // 32: google.cloud.automl.v1beta1.OutputConfig (*TableSpec)(nil), // 33: google.cloud.automl.v1beta1.TableSpec diff --git a/automl/apiv1beta1/automlpb/table_spec.pb.go b/automl/apiv1beta1/automlpb/table_spec.pb.go index 8e7b62a4357..e1c3c0acae3 100644 --- a/automl/apiv1beta1/automlpb/table_spec.pb.go +++ b/automl/apiv1beta1/automlpb/table_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/table_spec.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/tables.pb.go b/automl/apiv1beta1/automlpb/tables.pb.go index 0bfc9b3ae49..548ff4bfb2f 100644 --- a/automl/apiv1beta1/automlpb/tables.pb.go +++ b/automl/apiv1beta1/automlpb/tables.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/tables.proto package automlpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -103,7 +103,7 @@ type TablesDatasetMetadata struct { // changes that happened to the dataset afterwards are not reflected in these // fields values. The regeneration happens in the background on a best effort // basis. - StatsUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=stats_update_time,json=statsUpdateTime,proto3" json:"stats_update_time,omitempty"` + StatsUpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=stats_update_time,json=statsUpdateTime,proto3" json:"stats_update_time,omitempty"` } func (x *TablesDatasetMetadata) Reset() { @@ -173,7 +173,7 @@ func (x *TablesDatasetMetadata) GetTargetColumnCorrelations() map[string]*Correl return nil } -func (x *TablesDatasetMetadata) GetStatsUpdateTime() *timestamppb.Timestamp { +func (x *TablesDatasetMetadata) GetStatsUpdateTime() *timestamp.Timestamp { if x != nil { return x.StatsUpdateTime } @@ -438,7 +438,7 @@ type TablesAnnotation struct { // value. // // * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value. - Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value *_struct.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Output only. Auxiliary information for each of the model's // // [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] @@ -507,7 +507,7 @@ func (x *TablesAnnotation) GetPredictionInterval() *DoubleRange { return nil } -func (x *TablesAnnotation) GetValue() *structpb.Value { +func (x *TablesAnnotation) GetValue() *_struct.Value { if x != nil { return x.Value } @@ -792,10 +792,10 @@ var file_google_cloud_automl_v1beta1_tables_proto_goTypes = []interface{}{ (*TablesAnnotation)(nil), // 2: google.cloud.automl.v1beta1.TablesAnnotation (*TablesModelColumnInfo)(nil), // 3: google.cloud.automl.v1beta1.TablesModelColumnInfo nil, // 4: google.cloud.automl.v1beta1.TablesDatasetMetadata.TargetColumnCorrelationsEntry - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp (*ColumnSpec)(nil), // 6: google.cloud.automl.v1beta1.ColumnSpec (*DoubleRange)(nil), // 7: google.cloud.automl.v1beta1.DoubleRange - (*structpb.Value)(nil), // 8: google.protobuf.Value + (*_struct.Value)(nil), // 8: google.protobuf.Value (*CorrelationStats)(nil), // 9: google.cloud.automl.v1beta1.CorrelationStats } var file_google_cloud_automl_v1beta1_tables_proto_depIdxs = []int32{ diff --git a/automl/apiv1beta1/automlpb/temporal.pb.go b/automl/apiv1beta1/automlpb/temporal.pb.go index 85f53d7fa2e..7de2711f3c3 100644 --- a/automl/apiv1beta1/automlpb/temporal.pb.go +++ b/automl/apiv1beta1/automlpb/temporal.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/temporal.proto package automlpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -44,10 +44,10 @@ type TimeSegment struct { // Start of the time segment (inclusive), represented as the duration since // the example start. - StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` + StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` // End of the time segment (exclusive), represented as the duration since the // example start. - EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` + EndTimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` } func (x *TimeSegment) Reset() { @@ -82,14 +82,14 @@ func (*TimeSegment) Descriptor() ([]byte, []int) { return file_google_cloud_automl_v1beta1_temporal_proto_rawDescGZIP(), []int{0} } -func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration { +func (x *TimeSegment) GetStartTimeOffset() *duration.Duration { if x != nil { return x.StartTimeOffset } return nil } -func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration { +func (x *TimeSegment) GetEndTimeOffset() *duration.Duration { if x != nil { return x.EndTimeOffset } @@ -143,8 +143,8 @@ func file_google_cloud_automl_v1beta1_temporal_proto_rawDescGZIP() []byte { var file_google_cloud_automl_v1beta1_temporal_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_automl_v1beta1_temporal_proto_goTypes = []interface{}{ - (*TimeSegment)(nil), // 0: google.cloud.automl.v1beta1.TimeSegment - (*durationpb.Duration)(nil), // 1: google.protobuf.Duration + (*TimeSegment)(nil), // 0: google.cloud.automl.v1beta1.TimeSegment + (*duration.Duration)(nil), // 1: google.protobuf.Duration } var file_google_cloud_automl_v1beta1_temporal_proto_depIdxs = []int32{ 1, // 0: google.cloud.automl.v1beta1.TimeSegment.start_time_offset:type_name -> google.protobuf.Duration diff --git a/automl/apiv1beta1/automlpb/text.pb.go b/automl/apiv1beta1/automlpb/text.pb.go index 49fbdc57e11..28c10fe22c5 100644 --- a/automl/apiv1beta1/automlpb/text.pb.go +++ b/automl/apiv1beta1/automlpb/text.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/text.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/text_extraction.pb.go b/automl/apiv1beta1/automlpb/text_extraction.pb.go index 73a7bee370d..541aa1fd533 100644 --- a/automl/apiv1beta1/automlpb/text_extraction.pb.go +++ b/automl/apiv1beta1/automlpb/text_extraction.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/text_extraction.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/text_segment.pb.go b/automl/apiv1beta1/automlpb/text_segment.pb.go index d73d0e3cfbf..b5c2edf1dfa 100644 --- a/automl/apiv1beta1/automlpb/text_segment.pb.go +++ b/automl/apiv1beta1/automlpb/text_segment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/text_segment.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/text_sentiment.pb.go b/automl/apiv1beta1/automlpb/text_sentiment.pb.go index c48cecb2d50..bb291c5baea 100644 --- a/automl/apiv1beta1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1beta1/automlpb/text_sentiment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/text_sentiment.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/translation.pb.go b/automl/apiv1beta1/automlpb/translation.pb.go index 2bc4e4926fd..8ca4ddee639 100644 --- a/automl/apiv1beta1/automlpb/translation.pb.go +++ b/automl/apiv1beta1/automlpb/translation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/translation.proto package automlpb diff --git a/automl/apiv1beta1/automlpb/video.pb.go b/automl/apiv1beta1/automlpb/video.pb.go index 7d6a8688472..40947f0ff11 100644 --- a/automl/apiv1beta1/automlpb/video.pb.go +++ b/automl/apiv1beta1/automlpb/video.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/automl/v1beta1/video.proto package automlpb diff --git a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go index 8d851092c7e..f2b30c891f5 100644 --- a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go +++ b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/bigquery/analyticshub/v1/analyticshub.proto package analyticshubpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -501,9 +501,9 @@ type DestinationDataset struct { // Required. A reference that identifies the destination dataset. DatasetReference *DestinationDatasetReference `protobuf:"bytes,1,opt,name=dataset_reference,json=datasetReference,proto3" json:"dataset_reference,omitempty"` // Optional. A descriptive name for the dataset. - FriendlyName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` + FriendlyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` // Optional. A user-friendly description of the dataset. - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Optional. The labels associated with this dataset. You can use these // to organize and group your datasets. // You can set this property when inserting or updating a dataset. @@ -555,14 +555,14 @@ func (x *DestinationDataset) GetDatasetReference() *DestinationDatasetReference return nil } -func (x *DestinationDataset) GetFriendlyName() *wrapperspb.StringValue { +func (x *DestinationDataset) GetFriendlyName() *wrappers.StringValue { if x != nil { return x.FriendlyName } return nil } -func (x *DestinationDataset) GetDescription() *wrapperspb.StringValue { +func (x *DestinationDataset) GetDescription() *wrappers.StringValue { if x != nil { return x.Description } @@ -1162,7 +1162,7 @@ type UpdateDataExchangeRequest struct { // Required. Field mask specifies the fields to update in the data exchange // resource. The fields specified in the // `updateMask` are relative to the resource and are not a full request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The data exchange to update. DataExchange *DataExchange `protobuf:"bytes,2,opt,name=data_exchange,json=dataExchange,proto3" json:"data_exchange,omitempty"` } @@ -1199,7 +1199,7 @@ func (*UpdateDataExchangeRequest) Descriptor() ([]byte, []int) { return file_google_cloud_bigquery_analyticshub_v1_analyticshub_proto_rawDescGZIP(), []int{12} } -func (x *UpdateDataExchangeRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDataExchangeRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1522,7 +1522,7 @@ type UpdateListingRequest struct { // Required. Field mask specifies the fields to update in the listing resource. The // fields specified in the `updateMask` are relative to the resource and are // not a full request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The listing to update. Listing *Listing `protobuf:"bytes,2,opt,name=listing,proto3" json:"listing,omitempty"` } @@ -1559,7 +1559,7 @@ func (*UpdateListingRequest) Descriptor() ([]byte, []int) { return file_google_cloud_bigquery_analyticshub_v1_analyticshub_proto_rawDescGZIP(), []int{18} } -func (x *UpdateListingRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateListingRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2430,12 +2430,12 @@ var file_google_cloud_bigquery_analyticshub_v1_analyticshub_proto_goTypes = []in (*SubscribeListingResponse)(nil), // 23: google.cloud.bigquery.analyticshub.v1.SubscribeListingResponse nil, // 24: google.cloud.bigquery.analyticshub.v1.DestinationDataset.LabelsEntry (*Listing_BigQueryDatasetSource)(nil), // 25: google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource - (*wrapperspb.StringValue)(nil), // 26: google.protobuf.StringValue - (*fieldmaskpb.FieldMask)(nil), // 27: google.protobuf.FieldMask + (*wrappers.StringValue)(nil), // 26: google.protobuf.StringValue + (*field_mask.FieldMask)(nil), // 27: google.protobuf.FieldMask (*v1.GetIamPolicyRequest)(nil), // 28: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 29: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 30: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 31: google.protobuf.Empty + (*empty.Empty)(nil), // 31: google.protobuf.Empty (*v1.Policy)(nil), // 32: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 33: google.iam.v1.TestIamPermissionsResponse } @@ -2830,7 +2830,7 @@ type AnalyticsHubServiceClient interface { // Updates an existing data exchange. UpdateDataExchange(ctx context.Context, in *UpdateDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error) // Deletes an existing data exchange. - DeleteDataExchange(ctx context.Context, in *DeleteDataExchangeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteDataExchange(ctx context.Context, in *DeleteDataExchangeRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all listings in a given project and location. ListListings(ctx context.Context, in *ListListingsRequest, opts ...grpc.CallOption) (*ListListingsResponse, error) // Gets the details of a listing. @@ -2840,7 +2840,7 @@ type AnalyticsHubServiceClient interface { // Updates an existing listing. UpdateListing(ctx context.Context, in *UpdateListingRequest, opts ...grpc.CallOption) (*Listing, error) // Deletes a listing. - DeleteListing(ctx context.Context, in *DeleteListingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteListing(ctx context.Context, in *DeleteListingRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Subscribes to a listing. // // Currently, with Analytics Hub, you can create listings that @@ -2909,8 +2909,8 @@ func (c *analyticsHubServiceClient) UpdateDataExchange(ctx context.Context, in * return out, nil } -func (c *analyticsHubServiceClient) DeleteDataExchange(ctx context.Context, in *DeleteDataExchangeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsHubServiceClient) DeleteDataExchange(ctx context.Context, in *DeleteDataExchangeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.bigquery.analyticshub.v1.AnalyticsHubService/DeleteDataExchange", in, out, opts...) if err != nil { return nil, err @@ -2954,8 +2954,8 @@ func (c *analyticsHubServiceClient) UpdateListing(ctx context.Context, in *Updat return out, nil } -func (c *analyticsHubServiceClient) DeleteListing(ctx context.Context, in *DeleteListingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *analyticsHubServiceClient) DeleteListing(ctx context.Context, in *DeleteListingRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.bigquery.analyticshub.v1.AnalyticsHubService/DeleteListing", in, out, opts...) if err != nil { return nil, err @@ -3013,7 +3013,7 @@ type AnalyticsHubServiceServer interface { // Updates an existing data exchange. UpdateDataExchange(context.Context, *UpdateDataExchangeRequest) (*DataExchange, error) // Deletes an existing data exchange. - DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*emptypb.Empty, error) + DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*empty.Empty, error) // Lists all listings in a given project and location. ListListings(context.Context, *ListListingsRequest) (*ListListingsResponse, error) // Gets the details of a listing. @@ -3023,7 +3023,7 @@ type AnalyticsHubServiceServer interface { // Updates an existing listing. UpdateListing(context.Context, *UpdateListingRequest) (*Listing, error) // Deletes a listing. - DeleteListing(context.Context, *DeleteListingRequest) (*emptypb.Empty, error) + DeleteListing(context.Context, *DeleteListingRequest) (*empty.Empty, error) // Subscribes to a listing. // // Currently, with Analytics Hub, you can create listings that @@ -3058,7 +3058,7 @@ func (*UnimplementedAnalyticsHubServiceServer) CreateDataExchange(context.Contex func (*UnimplementedAnalyticsHubServiceServer) UpdateDataExchange(context.Context, *UpdateDataExchangeRequest) (*DataExchange, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateDataExchange not implemented") } -func (*UnimplementedAnalyticsHubServiceServer) DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsHubServiceServer) DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDataExchange not implemented") } func (*UnimplementedAnalyticsHubServiceServer) ListListings(context.Context, *ListListingsRequest) (*ListListingsResponse, error) { @@ -3073,7 +3073,7 @@ func (*UnimplementedAnalyticsHubServiceServer) CreateListing(context.Context, *C func (*UnimplementedAnalyticsHubServiceServer) UpdateListing(context.Context, *UpdateListingRequest) (*Listing, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateListing not implemented") } -func (*UnimplementedAnalyticsHubServiceServer) DeleteListing(context.Context, *DeleteListingRequest) (*emptypb.Empty, error) { +func (*UnimplementedAnalyticsHubServiceServer) DeleteListing(context.Context, *DeleteListingRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteListing not implemented") } func (*UnimplementedAnalyticsHubServiceServer) SubscribeListing(context.Context, *SubscribeListingRequest) (*SubscribeListingResponse, error) { diff --git a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go index b0fa32ee933..4ec7edf0b0b 100644 --- a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/bigquery/datapolicies/v1beta1/datapolicy.proto package datapoliciespb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -250,7 +250,7 @@ type UpdateDataPolicyRequest struct { // If not set, defaults to all of the fields that are allowed to update. // // Updates to the `name` and `dataPolicyId` fields are not allowed. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateDataPolicyRequest) Reset() { @@ -292,7 +292,7 @@ func (x *UpdateDataPolicyRequest) GetDataPolicy() *DataPolicy { return nil } -func (x *UpdateDataPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateDataPolicyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1029,11 +1029,11 @@ var file_google_cloud_bigquery_datapolicies_v1beta1_datapolicy_proto_goTypes = [ (*ListDataPoliciesResponse)(nil), // 7: google.cloud.bigquery.datapolicies.v1beta1.ListDataPoliciesResponse (*DataPolicy)(nil), // 8: google.cloud.bigquery.datapolicies.v1beta1.DataPolicy (*DataMaskingPolicy)(nil), // 9: google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy - (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 10: google.protobuf.FieldMask (*v1.GetIamPolicyRequest)(nil), // 11: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 12: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 13: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 14: google.protobuf.Empty + (*empty.Empty)(nil), // 14: google.protobuf.Empty (*v1.Policy)(nil), // 15: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 16: google.iam.v1.TestIamPermissionsResponse } @@ -1218,7 +1218,7 @@ type DataPolicyServiceClient interface { // can be specified by the resource name. UpdateDataPolicy(ctx context.Context, in *UpdateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) // Deletes the data policy specified by its resource name. - DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets the data policy specified by its resource name. GetDataPolicy(ctx context.Context, in *GetDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) // List all of the data policies in the specified parent project. @@ -1257,8 +1257,8 @@ func (c *dataPolicyServiceClient) UpdateDataPolicy(ctx context.Context, in *Upda return out, nil } -func (c *dataPolicyServiceClient) DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataPolicyServiceClient) DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService/DeleteDataPolicy", in, out, opts...) if err != nil { return nil, err @@ -1320,7 +1320,7 @@ type DataPolicyServiceServer interface { // can be specified by the resource name. UpdateDataPolicy(context.Context, *UpdateDataPolicyRequest) (*DataPolicy, error) // Deletes the data policy specified by its resource name. - DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*emptypb.Empty, error) + DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*empty.Empty, error) // Gets the data policy specified by its resource name. GetDataPolicy(context.Context, *GetDataPolicyRequest) (*DataPolicy, error) // List all of the data policies in the specified parent project. @@ -1343,7 +1343,7 @@ func (*UnimplementedDataPolicyServiceServer) CreateDataPolicy(context.Context, * func (*UnimplementedDataPolicyServiceServer) UpdateDataPolicy(context.Context, *UpdateDataPolicyRequest) (*DataPolicy, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateDataPolicy not implemented") } -func (*UnimplementedDataPolicyServiceServer) DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataPolicyServiceServer) DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDataPolicy not implemented") } func (*UnimplementedDataPolicyServiceServer) GetDataPolicy(context.Context, *GetDataPolicyRequest) (*DataPolicy, error) { diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go index 91bc4cf8de0..d87b4a0173b 100644 --- a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/billing/budgets/v1beta1/budget_model.proto package budgetspb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -708,7 +708,7 @@ type Filter struct { // // _Currently, multiple entries or multiple values per entry are not // allowed._ - Labels map[string]*structpb.ListValue `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]*_struct.ListValue `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Multiple options to choose the budget's time period, specifying that only // usage that occurs during this time period should be included in the budget. // If not set, the usage_period defaults to CalendarPeriod.MONTH. @@ -787,7 +787,7 @@ func (x *Filter) GetSubaccounts() []string { return nil } -func (x *Filter) GetLabels() map[string]*structpb.ListValue { +func (x *Filter) GetLabels() map[string]*_struct.ListValue { if x != nil { return x.Labels } @@ -1099,7 +1099,7 @@ var file_google_cloud_billing_budgets_v1beta1_budget_model_proto_goTypes = []int nil, // 10: google.cloud.billing.budgets.v1beta1.Filter.LabelsEntry (*money.Money)(nil), // 11: google.type.Money (*date.Date)(nil), // 12: google.type.Date - (*structpb.ListValue)(nil), // 13: google.protobuf.ListValue + (*_struct.ListValue)(nil), // 13: google.protobuf.ListValue } var file_google_cloud_billing_budgets_v1beta1_budget_model_proto_depIdxs = []int32{ 8, // 0: google.cloud.billing.budgets.v1beta1.Budget.budget_filter:type_name -> google.cloud.billing.budgets.v1beta1.Filter diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go index 9de7e738406..510f38ac526 100644 --- a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/billing/budgets/v1beta1/budget_service.proto package budgetspb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -116,7 +116,7 @@ type UpdateBudgetRequest struct { // updated. See // https://developers.google.com/protocol-buffers/docs/proto3#default for more // details about default values. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateBudgetRequest) Reset() { @@ -158,7 +158,7 @@ func (x *UpdateBudgetRequest) GetBudget() *Budget { return nil } -func (x *UpdateBudgetRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateBudgetRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -558,15 +558,15 @@ func file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP( var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_goTypes = []interface{}{ - (*CreateBudgetRequest)(nil), // 0: google.cloud.billing.budgets.v1beta1.CreateBudgetRequest - (*UpdateBudgetRequest)(nil), // 1: google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest - (*GetBudgetRequest)(nil), // 2: google.cloud.billing.budgets.v1beta1.GetBudgetRequest - (*ListBudgetsRequest)(nil), // 3: google.cloud.billing.budgets.v1beta1.ListBudgetsRequest - (*ListBudgetsResponse)(nil), // 4: google.cloud.billing.budgets.v1beta1.ListBudgetsResponse - (*DeleteBudgetRequest)(nil), // 5: google.cloud.billing.budgets.v1beta1.DeleteBudgetRequest - (*Budget)(nil), // 6: google.cloud.billing.budgets.v1beta1.Budget - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 8: google.protobuf.Empty + (*CreateBudgetRequest)(nil), // 0: google.cloud.billing.budgets.v1beta1.CreateBudgetRequest + (*UpdateBudgetRequest)(nil), // 1: google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest + (*GetBudgetRequest)(nil), // 2: google.cloud.billing.budgets.v1beta1.GetBudgetRequest + (*ListBudgetsRequest)(nil), // 3: google.cloud.billing.budgets.v1beta1.ListBudgetsRequest + (*ListBudgetsResponse)(nil), // 4: google.cloud.billing.budgets.v1beta1.ListBudgetsResponse + (*DeleteBudgetRequest)(nil), // 5: google.cloud.billing.budgets.v1beta1.DeleteBudgetRequest + (*Budget)(nil), // 6: google.cloud.billing.budgets.v1beta1.Budget + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*empty.Empty)(nil), // 8: google.protobuf.Empty } var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.billing.budgets.v1beta1.CreateBudgetRequest.budget:type_name -> google.cloud.billing.budgets.v1beta1.Budget @@ -727,7 +727,7 @@ type BudgetServiceClient interface { // in the Cloud Console. ListBudgets(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error) // Deletes a budget. Returns successfully if already deleted. - DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type budgetServiceClient struct { @@ -774,8 +774,8 @@ func (c *budgetServiceClient) ListBudgets(ctx context.Context, in *ListBudgetsRe return out, nil } -func (c *budgetServiceClient) DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *budgetServiceClient) DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1beta1.BudgetService/DeleteBudget", in, out, opts...) if err != nil { return nil, err @@ -810,7 +810,7 @@ type BudgetServiceServer interface { // in the Cloud Console. ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error) // Deletes a budget. Returns successfully if already deleted. - DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error) + DeleteBudget(context.Context, *DeleteBudgetRequest) (*empty.Empty, error) } // UnimplementedBudgetServiceServer can be embedded to have forward compatible implementations. @@ -829,7 +829,7 @@ func (*UnimplementedBudgetServiceServer) GetBudget(context.Context, *GetBudgetRe func (*UnimplementedBudgetServiceServer) ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListBudgets not implemented") } -func (*UnimplementedBudgetServiceServer) DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error) { +func (*UnimplementedBudgetServiceServer) DeleteBudget(context.Context, *DeleteBudgetRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteBudget not implemented") } diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go index 5e0406a5715..c9e50d6f671 100644 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto package binaryauthorizationpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -235,9 +235,9 @@ type ContinuousValidationEvent_ContinuousValidationPodEvent struct { // The name of the Pod. Pod string `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` // Deploy time of the Pod from k8s. - DeployTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` + DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` // Termination time of the Pod from k8s, or nothing if still running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Auditing verdict for this Pod. Verdict ContinuousValidationEvent_ContinuousValidationPodEvent_PolicyConformanceVerdict `protobuf:"varint,4,opt,name=verdict,proto3,enum=google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent_ContinuousValidationPodEvent_PolicyConformanceVerdict" json:"verdict,omitempty"` // List of images with auditing details. @@ -290,14 +290,14 @@ func (x *ContinuousValidationEvent_ContinuousValidationPodEvent) GetPod() string return "" } -func (x *ContinuousValidationEvent_ContinuousValidationPodEvent) GetDeployTime() *timestamppb.Timestamp { +func (x *ContinuousValidationEvent_ContinuousValidationPodEvent) GetDeployTime() *timestamp.Timestamp { if x != nil { return x.DeployTime } return nil } -func (x *ContinuousValidationEvent_ContinuousValidationPodEvent) GetEndTime() *timestamppb.Timestamp { +func (x *ContinuousValidationEvent_ContinuousValidationPodEvent) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -569,7 +569,7 @@ var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_ (*ContinuousValidationEvent_ContinuousValidationPodEvent)(nil), // 3: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent (*ContinuousValidationEvent_UnsupportedPolicyEvent)(nil), // 4: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails)(nil), // 5: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_depIdxs = []int32{ 3, // 0: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.pod_event:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go index d262cbbd8ca..0ac2b22bb1c 100644 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/binaryauthorization/v1beta1/resources.proto package binaryauthorizationpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -353,7 +353,7 @@ type Policy struct { // kubernetes-service-account, or per-istio-service-identity admission rule. DefaultAdmissionRule *AdmissionRule `protobuf:"bytes,4,opt,name=default_admission_rule,json=defaultAdmissionRule,proto3" json:"default_admission_rule,omitempty"` // Output only. Time when the policy was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Policy) Reset() { @@ -451,7 +451,7 @@ func (x *Policy) GetDefaultAdmissionRule() *AdmissionRule { return nil } -func (x *Policy) GetUpdateTime() *timestamppb.Timestamp { +func (x *Policy) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -619,7 +619,7 @@ type Attestor struct { // *Attestor_UserOwnedDrydockNote AttestorType isAttestor_AttestorType `protobuf_oneof:"attestor_type"` // Output only. Time when the attestor was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Attestor) Reset() { @@ -682,7 +682,7 @@ func (x *Attestor) GetUserOwnedDrydockNote() *UserOwnedDrydockNote { return nil } -func (x *Attestor) GetUpdateTime() *timestamppb.Timestamp { +func (x *Attestor) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1304,7 +1304,7 @@ var file_google_cloud_binaryauthorization_v1beta1_resources_proto_goTypes = []in nil, // 12: google.cloud.binaryauthorization.v1beta1.Policy.KubernetesNamespaceAdmissionRulesEntry nil, // 13: google.cloud.binaryauthorization.v1beta1.Policy.KubernetesServiceAccountAdmissionRulesEntry nil, // 14: google.cloud.binaryauthorization.v1beta1.Policy.IstioServiceIdentityAdmissionRulesEntry - (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 15: google.protobuf.Timestamp } var file_google_cloud_binaryauthorization_v1beta1_resources_proto_depIdxs = []int32{ 0, // 0: google.cloud.binaryauthorization.v1beta1.Policy.global_policy_evaluation_mode:type_name -> google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go index 357e13ae116..b71a43f693f 100644 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/binaryauthorization/v1beta1/service.proto package binaryauthorizationpb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) const ( @@ -794,7 +794,7 @@ var file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes = []inte (*GetSystemPolicyRequest)(nil), // 8: google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest (*Policy)(nil), // 9: google.cloud.binaryauthorization.v1beta1.Policy (*Attestor)(nil), // 10: google.cloud.binaryauthorization.v1beta1.Attestor - (*emptypb.Empty)(nil), // 11: google.protobuf.Empty + (*empty.Empty)(nil), // 11: google.protobuf.Empty } var file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs = []int32{ 9, // 0: google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.policy:type_name -> google.cloud.binaryauthorization.v1beta1.Policy @@ -1002,7 +1002,7 @@ type BinauthzManagementServiceV1Beta1Client interface { ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type binauthzManagementServiceV1Beta1Client struct { @@ -1067,8 +1067,8 @@ func (c *binauthzManagementServiceV1Beta1Client) ListAttestors(ctx context.Conte return out, nil } -func (c *binauthzManagementServiceV1Beta1Client) DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *binauthzManagementServiceV1Beta1Client) DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", in, out, opts...) if err != nil { return nil, err @@ -1108,7 +1108,7 @@ type BinauthzManagementServiceV1Beta1Server interface { ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - DeleteAttestor(context.Context, *DeleteAttestorRequest) (*emptypb.Empty, error) + DeleteAttestor(context.Context, *DeleteAttestorRequest) (*empty.Empty, error) } // UnimplementedBinauthzManagementServiceV1Beta1Server can be embedded to have forward compatible implementations. @@ -1133,7 +1133,7 @@ func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdateAttestor(conte func (*UnimplementedBinauthzManagementServiceV1Beta1Server) ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAttestors not implemented") } -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) DeleteAttestor(context.Context, *DeleteAttestorRequest) (*emptypb.Empty, error) { +func (*UnimplementedBinauthzManagementServiceV1Beta1Server) DeleteAttestor(context.Context, *DeleteAttestorRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAttestor not implemented") } diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go index b4d03d396f6..edc55193478 100644 --- a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta2/cloudtasks.proto package cloudtaskspb @@ -25,17 +25,17 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -87,7 +87,7 @@ type ListQueuesRequest struct { // If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListQueuesRequest) Reset() { @@ -150,7 +150,7 @@ func (x *ListQueuesRequest) GetPageToken() string { return "" } -func (x *ListQueuesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListQueuesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -236,7 +236,7 @@ type GetQueueRequest struct { // If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *GetQueueRequest) Reset() { @@ -278,7 +278,7 @@ func (x *GetQueueRequest) GetName() string { return "" } -func (x *GetQueueRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *GetQueueRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -367,7 +367,7 @@ type UpdateQueueRequest struct { // A mask used to specify which fields of the queue are being updated. // // If empty, then all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateQueueRequest) Reset() { @@ -409,7 +409,7 @@ func (x *UpdateQueueRequest) GetQueue() *Queue { return nil } -func (x *UpdateQueueRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateQueueRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1055,7 +1055,7 @@ type LeaseTasksRequest struct { // // The maximum lease duration is 1 week. // `lease_duration` will be truncated to the nearest second. - LeaseDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"` + LeaseDuration *duration.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"` // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be // returned. // @@ -1147,7 +1147,7 @@ func (x *LeaseTasksRequest) GetMaxTasks() int32 { return 0 } -func (x *LeaseTasksRequest) GetLeaseDuration() *durationpb.Duration { +func (x *LeaseTasksRequest) GetLeaseDuration() *duration.Duration { if x != nil { return x.LeaseDuration } @@ -1232,7 +1232,7 @@ type AcknowledgeTaskRequest struct { // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is // to ensure that your worker currently holds the lease. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` } func (x *AcknowledgeTaskRequest) Reset() { @@ -1274,7 +1274,7 @@ func (x *AcknowledgeTaskRequest) GetName() string { return "" } -func (x *AcknowledgeTaskRequest) GetScheduleTime() *timestamppb.Timestamp { +func (x *AcknowledgeTaskRequest) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } @@ -1296,12 +1296,12 @@ type RenewLeaseRequest struct { // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is // to ensure that your worker currently holds the lease. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Required. The desired new lease duration, starting from now. // // The maximum lease duration is 1 week. // `lease_duration` will be truncated to the nearest second. - LeaseDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"` + LeaseDuration *duration.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"` // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be // returned. // @@ -1356,14 +1356,14 @@ func (x *RenewLeaseRequest) GetName() string { return "" } -func (x *RenewLeaseRequest) GetScheduleTime() *timestamppb.Timestamp { +func (x *RenewLeaseRequest) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } return nil } -func (x *RenewLeaseRequest) GetLeaseDuration() *durationpb.Duration { +func (x *RenewLeaseRequest) GetLeaseDuration() *duration.Duration { if x != nil { return x.LeaseDuration } @@ -1392,7 +1392,7 @@ type CancelLeaseRequest struct { // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is // to ensure that your worker currently holds the lease. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be // returned. // @@ -1447,7 +1447,7 @@ func (x *CancelLeaseRequest) GetName() string { return "" } -func (x *CancelLeaseRequest) GetScheduleTime() *timestamppb.Timestamp { +func (x *CancelLeaseRequest) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } @@ -2033,16 +2033,16 @@ var file_google_cloud_tasks_v2beta2_cloudtasks_proto_goTypes = []interface{}{ (*RenewLeaseRequest)(nil), // 17: google.cloud.tasks.v2beta2.RenewLeaseRequest (*CancelLeaseRequest)(nil), // 18: google.cloud.tasks.v2beta2.CancelLeaseRequest (*RunTaskRequest)(nil), // 19: google.cloud.tasks.v2beta2.RunTaskRequest - (*fieldmaskpb.FieldMask)(nil), // 20: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 20: google.protobuf.FieldMask (*Queue)(nil), // 21: google.cloud.tasks.v2beta2.Queue (Task_View)(0), // 22: google.cloud.tasks.v2beta2.Task.View (*Task)(nil), // 23: google.cloud.tasks.v2beta2.Task - (*durationpb.Duration)(nil), // 24: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp + (*duration.Duration)(nil), // 24: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 25: google.protobuf.Timestamp (*v1.GetIamPolicyRequest)(nil), // 26: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 27: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 28: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 29: google.protobuf.Empty + (*empty.Empty)(nil), // 29: google.protobuf.Empty (*v1.Policy)(nil), // 30: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 31: google.iam.v1.TestIamPermissionsResponse } @@ -2444,7 +2444,7 @@ type CloudTasksClient interface { // [Overview of Queue Management and // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using // this method. - DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Purges a queue by deleting all of its tasks. // // All tasks created before this method is called are permanently deleted. @@ -2529,7 +2529,7 @@ type CloudTasksClient interface { // A task can be deleted if it is scheduled or dispatched. A task // cannot be deleted if it has completed successfully or permanently // failed. - DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Leases tasks from a pull queue for // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. // @@ -2566,7 +2566,7 @@ type CloudTasksClient interface { // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. - AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Renew the current lease of a pull task. // // The worker can use this method to extend the lease by a new @@ -2654,8 +2654,8 @@ func (c *cloudTasksClient) UpdateQueue(ctx context.Context, in *UpdateQueueReque return out, nil } -func (c *cloudTasksClient) DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *cloudTasksClient) DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/DeleteQueue", in, out, opts...) if err != nil { return nil, err @@ -2744,8 +2744,8 @@ func (c *cloudTasksClient) CreateTask(ctx context.Context, in *CreateTaskRequest return out, nil } -func (c *cloudTasksClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *cloudTasksClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/DeleteTask", in, out, opts...) if err != nil { return nil, err @@ -2762,8 +2762,8 @@ func (c *cloudTasksClient) LeaseTasks(ctx context.Context, in *LeaseTasksRequest return out, nil } -func (c *cloudTasksClient) AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *cloudTasksClient) AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/AcknowledgeTask", in, out, opts...) if err != nil { return nil, err @@ -2848,7 +2848,7 @@ type CloudTasksServer interface { // [Overview of Queue Management and // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using // this method. - DeleteQueue(context.Context, *DeleteQueueRequest) (*emptypb.Empty, error) + DeleteQueue(context.Context, *DeleteQueueRequest) (*empty.Empty, error) // Purges a queue by deleting all of its tasks. // // All tasks created before this method is called are permanently deleted. @@ -2933,7 +2933,7 @@ type CloudTasksServer interface { // A task can be deleted if it is scheduled or dispatched. A task // cannot be deleted if it has completed successfully or permanently // failed. - DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error) + DeleteTask(context.Context, *DeleteTaskRequest) (*empty.Empty, error) // Leases tasks from a pull queue for // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. // @@ -2970,7 +2970,7 @@ type CloudTasksServer interface { // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. - AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*emptypb.Empty, error) + AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*empty.Empty, error) // Renew the current lease of a pull task. // // The worker can use this method to extend the lease by a new @@ -3030,7 +3030,7 @@ func (*UnimplementedCloudTasksServer) CreateQueue(context.Context, *CreateQueueR func (*UnimplementedCloudTasksServer) UpdateQueue(context.Context, *UpdateQueueRequest) (*Queue, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateQueue not implemented") } -func (*UnimplementedCloudTasksServer) DeleteQueue(context.Context, *DeleteQueueRequest) (*emptypb.Empty, error) { +func (*UnimplementedCloudTasksServer) DeleteQueue(context.Context, *DeleteQueueRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteQueue not implemented") } func (*UnimplementedCloudTasksServer) PurgeQueue(context.Context, *PurgeQueueRequest) (*Queue, error) { @@ -3060,13 +3060,13 @@ func (*UnimplementedCloudTasksServer) GetTask(context.Context, *GetTaskRequest) func (*UnimplementedCloudTasksServer) CreateTask(context.Context, *CreateTaskRequest) (*Task, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") } -func (*UnimplementedCloudTasksServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error) { +func (*UnimplementedCloudTasksServer) DeleteTask(context.Context, *DeleteTaskRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") } func (*UnimplementedCloudTasksServer) LeaseTasks(context.Context, *LeaseTasksRequest) (*LeaseTasksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LeaseTasks not implemented") } -func (*UnimplementedCloudTasksServer) AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*emptypb.Empty, error) { +func (*UnimplementedCloudTasksServer) AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method AcknowledgeTask not implemented") } func (*UnimplementedCloudTasksServer) RenewLease(context.Context, *RenewLeaseRequest) (*Task, error) { diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go index 674cbeedacc..77355bc58e5 100644 --- a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta2/old_target.proto package cloudtaskspb diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go index ad8deaa2846..83206a73c63 100644 --- a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta2/queue.proto package cloudtaskspb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -208,7 +208,7 @@ type Queue struct { // // Purge time will be truncated to the nearest microsecond. Purge // time will be unset if the queue has never been purged. - PurgeTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"` + PurgeTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"` // The maximum amount of time that a task will be retained in // this queue. // @@ -221,7 +221,7 @@ type Queue struct { // [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for // these queues. To view the maximum valid duration, see the documentation for // [Duration][google.protobuf.Duration]. - TaskTtl *durationpb.Duration `protobuf:"bytes,9,opt,name=task_ttl,json=taskTtl,proto3" json:"task_ttl,omitempty"` + TaskTtl *duration.Duration `protobuf:"bytes,9,opt,name=task_ttl,json=taskTtl,proto3" json:"task_ttl,omitempty"` // The task tombstone time to live (TTL). // // After a task is deleted or completed, the task's tombstone is @@ -232,7 +232,7 @@ type Queue struct { // [CreateTaskRequest][google.cloud.tasks.v2beta2.CreateTaskRequest.task]. // // Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour. - TombstoneTtl *durationpb.Duration `protobuf:"bytes,10,opt,name=tombstone_ttl,json=tombstoneTtl,proto3" json:"tombstone_ttl,omitempty"` + TombstoneTtl *duration.Duration `protobuf:"bytes,10,opt,name=tombstone_ttl,json=tombstoneTtl,proto3" json:"tombstone_ttl,omitempty"` // Output only. The realtime, informational statistics for a queue. In order // to receive the statistics the caller should include this field in the // FieldMask. @@ -320,21 +320,21 @@ func (x *Queue) GetState() Queue_State { return Queue_STATE_UNSPECIFIED } -func (x *Queue) GetPurgeTime() *timestamppb.Timestamp { +func (x *Queue) GetPurgeTime() *timestamp.Timestamp { if x != nil { return x.PurgeTime } return nil } -func (x *Queue) GetTaskTtl() *durationpb.Duration { +func (x *Queue) GetTaskTtl() *duration.Duration { if x != nil { return x.TaskTtl } return nil } -func (x *Queue) GetTombstoneTtl() *durationpb.Duration { +func (x *Queue) GetTombstoneTtl() *duration.Duration { if x != nil { return x.TombstoneTtl } @@ -544,7 +544,7 @@ type RetryConfig struct { // This field has the same meaning as // [task_age_limit in // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). - MaxRetryDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` + MaxRetryDuration *duration.Duration `protobuf:"bytes,3,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, @@ -561,7 +561,7 @@ type RetryConfig struct { // This field has the same meaning as // [min_backoff_seconds in // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). - MinBackoff *durationpb.Duration `protobuf:"bytes,4,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` + MinBackoff *duration.Duration `protobuf:"bytes,4,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, @@ -578,7 +578,7 @@ type RetryConfig struct { // This field has the same meaning as // [max_backoff_seconds in // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). - MaxBackoff *durationpb.Duration `protobuf:"bytes,5,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` + MaxBackoff *duration.Duration `protobuf:"bytes,5,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` // The time between retries will double `max_doublings` times. // // A task's retry interval starts at @@ -662,21 +662,21 @@ func (x *RetryConfig) GetUnlimitedAttempts() bool { return false } -func (x *RetryConfig) GetMaxRetryDuration() *durationpb.Duration { +func (x *RetryConfig) GetMaxRetryDuration() *duration.Duration { if x != nil { return x.MaxRetryDuration } return nil } -func (x *RetryConfig) GetMinBackoff() *durationpb.Duration { +func (x *RetryConfig) GetMinBackoff() *duration.Duration { if x != nil { return x.MinBackoff } return nil } -func (x *RetryConfig) GetMaxBackoff() *durationpb.Duration { +func (x *RetryConfig) GetMaxBackoff() *duration.Duration { if x != nil { return x.MaxBackoff } @@ -725,7 +725,7 @@ type QueueStats struct { TasksCount int64 `protobuf:"varint,1,opt,name=tasks_count,json=tasksCount,proto3" json:"tasks_count,omitempty"` // Output only. An estimation of the nearest time in the future where a task in the queue // is scheduled to be executed. - OldestEstimatedArrivalTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=oldest_estimated_arrival_time,json=oldestEstimatedArrivalTime,proto3" json:"oldest_estimated_arrival_time,omitempty"` + OldestEstimatedArrivalTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=oldest_estimated_arrival_time,json=oldestEstimatedArrivalTime,proto3" json:"oldest_estimated_arrival_time,omitempty"` // Output only. The number of tasks that the queue has dispatched and received a reply for // during the last minute. This variable counts both successful and // non-successful executions. @@ -779,7 +779,7 @@ func (x *QueueStats) GetTasksCount() int64 { return 0 } -func (x *QueueStats) GetOldestEstimatedArrivalTime() *timestamppb.Timestamp { +func (x *QueueStats) GetOldestEstimatedArrivalTime() *timestamp.Timestamp { if x != nil { return x.OldestEstimatedArrivalTime } @@ -957,15 +957,15 @@ func file_google_cloud_tasks_v2beta2_queue_proto_rawDescGZIP() []byte { var file_google_cloud_tasks_v2beta2_queue_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_tasks_v2beta2_queue_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_google_cloud_tasks_v2beta2_queue_proto_goTypes = []interface{}{ - (Queue_State)(0), // 0: google.cloud.tasks.v2beta2.Queue.State - (*Queue)(nil), // 1: google.cloud.tasks.v2beta2.Queue - (*RateLimits)(nil), // 2: google.cloud.tasks.v2beta2.RateLimits - (*RetryConfig)(nil), // 3: google.cloud.tasks.v2beta2.RetryConfig - (*QueueStats)(nil), // 4: google.cloud.tasks.v2beta2.QueueStats - (*AppEngineHttpTarget)(nil), // 5: google.cloud.tasks.v2beta2.AppEngineHttpTarget - (*PullTarget)(nil), // 6: google.cloud.tasks.v2beta2.PullTarget - (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 8: google.protobuf.Duration + (Queue_State)(0), // 0: google.cloud.tasks.v2beta2.Queue.State + (*Queue)(nil), // 1: google.cloud.tasks.v2beta2.Queue + (*RateLimits)(nil), // 2: google.cloud.tasks.v2beta2.RateLimits + (*RetryConfig)(nil), // 3: google.cloud.tasks.v2beta2.RetryConfig + (*QueueStats)(nil), // 4: google.cloud.tasks.v2beta2.QueueStats + (*AppEngineHttpTarget)(nil), // 5: google.cloud.tasks.v2beta2.AppEngineHttpTarget + (*PullTarget)(nil), // 6: google.cloud.tasks.v2beta2.PullTarget + (*timestamp.Timestamp)(nil), // 7: google.protobuf.Timestamp + (*duration.Duration)(nil), // 8: google.protobuf.Duration } var file_google_cloud_tasks_v2beta2_queue_proto_depIdxs = []int32{ 5, // 0: google.cloud.tasks.v2beta2.Queue.app_engine_http_target:type_name -> google.cloud.tasks.v2beta2.AppEngineHttpTarget diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go index e5aa8a97a2d..ff8f21183b9 100644 --- a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta2/target.proto package cloudtaskspb diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go index 0b7e1261aff..0fb350e2207 100644 --- a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta2/task.proto package cloudtaskspb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -156,11 +156,11 @@ type Task struct { // leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. // // `schedule_time` will be truncated to the nearest microsecond. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Output only. The time that the task was created. // // `create_time` will be truncated to the nearest second. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The task status. Status *TaskStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has @@ -228,14 +228,14 @@ func (x *Task) GetPullMessage() *PullMessage { return nil } -func (x *Task) GetScheduleTime() *timestamppb.Timestamp { +func (x *Task) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } return nil } -func (x *Task) GetCreateTime() *timestamppb.Timestamp { +func (x *Task) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -379,15 +379,15 @@ type AttemptStatus struct { // Output only. The time that this attempt was scheduled. // // `schedule_time` will be truncated to the nearest microsecond. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Output only. The time that this attempt was dispatched. // // `dispatch_time` will be truncated to the nearest microsecond. - DispatchTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=dispatch_time,json=dispatchTime,proto3" json:"dispatch_time,omitempty"` + DispatchTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=dispatch_time,json=dispatchTime,proto3" json:"dispatch_time,omitempty"` // Output only. The time that this attempt response was received. // // `response_time` will be truncated to the nearest microsecond. - ResponseTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"` + ResponseTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"` // Output only. The response from the target for this attempt. // // If the task has not been attempted or the task is currently running @@ -427,21 +427,21 @@ func (*AttemptStatus) Descriptor() ([]byte, []int) { return file_google_cloud_tasks_v2beta2_task_proto_rawDescGZIP(), []int{2} } -func (x *AttemptStatus) GetScheduleTime() *timestamppb.Timestamp { +func (x *AttemptStatus) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } return nil } -func (x *AttemptStatus) GetDispatchTime() *timestamppb.Timestamp { +func (x *AttemptStatus) GetDispatchTime() *timestamp.Timestamp { if x != nil { return x.DispatchTime } return nil } -func (x *AttemptStatus) GetResponseTime() *timestamppb.Timestamp { +func (x *AttemptStatus) GetResponseTime() *timestamp.Timestamp { if x != nil { return x.ResponseTime } @@ -571,14 +571,14 @@ func file_google_cloud_tasks_v2beta2_task_proto_rawDescGZIP() []byte { var file_google_cloud_tasks_v2beta2_task_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_tasks_v2beta2_task_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_google_cloud_tasks_v2beta2_task_proto_goTypes = []interface{}{ - (Task_View)(0), // 0: google.cloud.tasks.v2beta2.Task.View - (*Task)(nil), // 1: google.cloud.tasks.v2beta2.Task - (*TaskStatus)(nil), // 2: google.cloud.tasks.v2beta2.TaskStatus - (*AttemptStatus)(nil), // 3: google.cloud.tasks.v2beta2.AttemptStatus - (*AppEngineHttpRequest)(nil), // 4: google.cloud.tasks.v2beta2.AppEngineHttpRequest - (*PullMessage)(nil), // 5: google.cloud.tasks.v2beta2.PullMessage - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*status.Status)(nil), // 7: google.rpc.Status + (Task_View)(0), // 0: google.cloud.tasks.v2beta2.Task.View + (*Task)(nil), // 1: google.cloud.tasks.v2beta2.Task + (*TaskStatus)(nil), // 2: google.cloud.tasks.v2beta2.TaskStatus + (*AttemptStatus)(nil), // 3: google.cloud.tasks.v2beta2.AttemptStatus + (*AppEngineHttpRequest)(nil), // 4: google.cloud.tasks.v2beta2.AppEngineHttpRequest + (*PullMessage)(nil), // 5: google.cloud.tasks.v2beta2.PullMessage + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*status.Status)(nil), // 7: google.rpc.Status } var file_google_cloud_tasks_v2beta2_task_proto_depIdxs = []int32{ 4, // 0: google.cloud.tasks.v2beta2.Task.app_engine_http_request:type_name -> google.cloud.tasks.v2beta2.AppEngineHttpRequest diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go index 2b6fc2f3d20..5cb6ce2f407 100644 --- a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta3/cloudtasks.proto package cloudtaskspb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -85,7 +85,7 @@ type ListQueuesRequest struct { // If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListQueuesRequest) Reset() { @@ -148,7 +148,7 @@ func (x *ListQueuesRequest) GetPageToken() string { return "" } -func (x *ListQueuesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListQueuesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -234,7 +234,7 @@ type GetQueueRequest struct { // If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *GetQueueRequest) Reset() { @@ -276,7 +276,7 @@ func (x *GetQueueRequest) GetName() string { return "" } -func (x *GetQueueRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *GetQueueRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -365,7 +365,7 @@ type UpdateQueueRequest struct { // A mask used to specify which fields of the queue are being updated. // // If empty, then all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateQueueRequest) Reset() { @@ -407,7 +407,7 @@ func (x *UpdateQueueRequest) GetQueue() *Queue { return nil } -func (x *UpdateQueueRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateQueueRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1461,14 +1461,14 @@ var file_google_cloud_tasks_v2beta3_cloudtasks_proto_goTypes = []interface{}{ (*CreateTaskRequest)(nil), // 12: google.cloud.tasks.v2beta3.CreateTaskRequest (*DeleteTaskRequest)(nil), // 13: google.cloud.tasks.v2beta3.DeleteTaskRequest (*RunTaskRequest)(nil), // 14: google.cloud.tasks.v2beta3.RunTaskRequest - (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 15: google.protobuf.FieldMask (*Queue)(nil), // 16: google.cloud.tasks.v2beta3.Queue (Task_View)(0), // 17: google.cloud.tasks.v2beta3.Task.View (*Task)(nil), // 18: google.cloud.tasks.v2beta3.Task (*v1.GetIamPolicyRequest)(nil), // 19: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 20: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 21: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 22: google.protobuf.Empty + (*empty.Empty)(nil), // 22: google.protobuf.Empty (*v1.Policy)(nil), // 23: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 24: google.iam.v1.TestIamPermissionsResponse } @@ -1793,7 +1793,7 @@ type CloudTasksClient interface { // [Overview of Queue Management and // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using // this method. - DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Purges a queue by deleting all of its tasks. // // All tasks created before this method is called are permanently deleted. @@ -1876,7 +1876,7 @@ type CloudTasksClient interface { // A task can be deleted if it is scheduled or dispatched. A task // cannot be deleted if it has executed successfully or permanently // failed. - DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Forces a task to run now. // // When this method is called, Cloud Tasks will dispatch the task, even if @@ -1948,8 +1948,8 @@ func (c *cloudTasksClient) UpdateQueue(ctx context.Context, in *UpdateQueueReque return out, nil } -func (c *cloudTasksClient) DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *cloudTasksClient) DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/DeleteQueue", in, out, opts...) if err != nil { return nil, err @@ -2038,8 +2038,8 @@ func (c *cloudTasksClient) CreateTask(ctx context.Context, in *CreateTaskRequest return out, nil } -func (c *cloudTasksClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *cloudTasksClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/DeleteTask", in, out, opts...) if err != nil { return nil, err @@ -2106,7 +2106,7 @@ type CloudTasksServer interface { // [Overview of Queue Management and // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using // this method. - DeleteQueue(context.Context, *DeleteQueueRequest) (*emptypb.Empty, error) + DeleteQueue(context.Context, *DeleteQueueRequest) (*empty.Empty, error) // Purges a queue by deleting all of its tasks. // // All tasks created before this method is called are permanently deleted. @@ -2189,7 +2189,7 @@ type CloudTasksServer interface { // A task can be deleted if it is scheduled or dispatched. A task // cannot be deleted if it has executed successfully or permanently // failed. - DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error) + DeleteTask(context.Context, *DeleteTaskRequest) (*empty.Empty, error) // Forces a task to run now. // // When this method is called, Cloud Tasks will dispatch the task, even if @@ -2233,7 +2233,7 @@ func (*UnimplementedCloudTasksServer) CreateQueue(context.Context, *CreateQueueR func (*UnimplementedCloudTasksServer) UpdateQueue(context.Context, *UpdateQueueRequest) (*Queue, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateQueue not implemented") } -func (*UnimplementedCloudTasksServer) DeleteQueue(context.Context, *DeleteQueueRequest) (*emptypb.Empty, error) { +func (*UnimplementedCloudTasksServer) DeleteQueue(context.Context, *DeleteQueueRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteQueue not implemented") } func (*UnimplementedCloudTasksServer) PurgeQueue(context.Context, *PurgeQueueRequest) (*Queue, error) { @@ -2263,7 +2263,7 @@ func (*UnimplementedCloudTasksServer) GetTask(context.Context, *GetTaskRequest) func (*UnimplementedCloudTasksServer) CreateTask(context.Context, *CreateTaskRequest) (*Task, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") } -func (*UnimplementedCloudTasksServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error) { +func (*UnimplementedCloudTasksServer) DeleteTask(context.Context, *DeleteTaskRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") } func (*UnimplementedCloudTasksServer) RunTask(context.Context, *RunTaskRequest) (*Task, error) { diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go index 895aae44701..f06ab6e6e97 100644 --- a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta3/queue.proto package cloudtaskspb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -257,7 +257,7 @@ type Queue struct { // // Purge time will be truncated to the nearest microsecond. Purge // time will be unset if the queue has never been purged. - PurgeTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"` + PurgeTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"` // The maximum amount of time that a task will be retained in // this queue. // @@ -270,7 +270,7 @@ type Queue struct { // [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for // these queues. To view the maximum valid duration, see the documentation for // [Duration][google.protobuf.Duration]. - TaskTtl *durationpb.Duration `protobuf:"bytes,8,opt,name=task_ttl,json=taskTtl,proto3" json:"task_ttl,omitempty"` + TaskTtl *duration.Duration `protobuf:"bytes,8,opt,name=task_ttl,json=taskTtl,proto3" json:"task_ttl,omitempty"` // The task tombstone time to live (TTL). // // After a task is deleted or executed, the task's tombstone is @@ -281,7 +281,7 @@ type Queue struct { // [CreateTaskRequest][google.cloud.tasks.v2beta3.CreateTaskRequest.task]. // // Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour. - TombstoneTtl *durationpb.Duration `protobuf:"bytes,9,opt,name=tombstone_ttl,json=tombstoneTtl,proto3" json:"tombstone_ttl,omitempty"` + TombstoneTtl *duration.Duration `protobuf:"bytes,9,opt,name=tombstone_ttl,json=tombstoneTtl,proto3" json:"tombstone_ttl,omitempty"` // Configuration options for writing logs to // [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this // field is unset, then no logs are written. @@ -372,21 +372,21 @@ func (x *Queue) GetState() Queue_State { return Queue_STATE_UNSPECIFIED } -func (x *Queue) GetPurgeTime() *timestamppb.Timestamp { +func (x *Queue) GetPurgeTime() *timestamp.Timestamp { if x != nil { return x.PurgeTime } return nil } -func (x *Queue) GetTaskTtl() *durationpb.Duration { +func (x *Queue) GetTaskTtl() *duration.Duration { if x != nil { return x.TaskTtl } return nil } -func (x *Queue) GetTombstoneTtl() *durationpb.Duration { +func (x *Queue) GetTombstoneTtl() *duration.Duration { if x != nil { return x.TombstoneTtl } @@ -593,7 +593,7 @@ type RetryConfig struct { // This field has the same meaning as // [task_age_limit in // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). - MaxRetryDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` + MaxRetryDuration *duration.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, @@ -608,7 +608,7 @@ type RetryConfig struct { // This field has the same meaning as // [min_backoff_seconds in // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). - MinBackoff *durationpb.Duration `protobuf:"bytes,3,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` + MinBackoff *duration.Duration `protobuf:"bytes,3,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, @@ -623,7 +623,7 @@ type RetryConfig struct { // This field has the same meaning as // [max_backoff_seconds in // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). - MaxBackoff *durationpb.Duration `protobuf:"bytes,4,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` + MaxBackoff *duration.Duration `protobuf:"bytes,4,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` // The time between retries will double `max_doublings` times. // // A task's retry interval starts at @@ -691,21 +691,21 @@ func (x *RetryConfig) GetMaxAttempts() int32 { return 0 } -func (x *RetryConfig) GetMaxRetryDuration() *durationpb.Duration { +func (x *RetryConfig) GetMaxRetryDuration() *duration.Duration { if x != nil { return x.MaxRetryDuration } return nil } -func (x *RetryConfig) GetMinBackoff() *durationpb.Duration { +func (x *RetryConfig) GetMinBackoff() *duration.Duration { if x != nil { return x.MinBackoff } return nil } -func (x *RetryConfig) GetMaxBackoff() *durationpb.Duration { +func (x *RetryConfig) GetMaxBackoff() *duration.Duration { if x != nil { return x.MaxBackoff } @@ -785,7 +785,7 @@ type QueueStats struct { TasksCount int64 `protobuf:"varint,1,opt,name=tasks_count,json=tasksCount,proto3" json:"tasks_count,omitempty"` // Output only. An estimation of the nearest time in the future where a task in the queue // is scheduled to be executed. - OldestEstimatedArrivalTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=oldest_estimated_arrival_time,json=oldestEstimatedArrivalTime,proto3" json:"oldest_estimated_arrival_time,omitempty"` + OldestEstimatedArrivalTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=oldest_estimated_arrival_time,json=oldestEstimatedArrivalTime,proto3" json:"oldest_estimated_arrival_time,omitempty"` // Output only. The number of tasks that the queue has dispatched and received a reply for // during the last minute. This variable counts both successful and // non-successful executions. @@ -839,7 +839,7 @@ func (x *QueueStats) GetTasksCount() int64 { return 0 } -func (x *QueueStats) GetOldestEstimatedArrivalTime() *timestamppb.Timestamp { +func (x *QueueStats) GetOldestEstimatedArrivalTime() *timestamp.Timestamp { if x != nil { return x.OldestEstimatedArrivalTime } @@ -1034,8 +1034,8 @@ var file_google_cloud_tasks_v2beta3_queue_proto_goTypes = []interface{}{ (*StackdriverLoggingConfig)(nil), // 5: google.cloud.tasks.v2beta3.StackdriverLoggingConfig (*QueueStats)(nil), // 6: google.cloud.tasks.v2beta3.QueueStats (*AppEngineHttpQueue)(nil), // 7: google.cloud.tasks.v2beta3.AppEngineHttpQueue - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*duration.Duration)(nil), // 9: google.protobuf.Duration } var file_google_cloud_tasks_v2beta3_queue_proto_depIdxs = []int32{ 7, // 0: google.cloud.tasks.v2beta3.Queue.app_engine_http_queue:type_name -> google.cloud.tasks.v2beta3.AppEngineHttpQueue diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go index c45e82bfcf4..5b4f6a21acd 100644 --- a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta3/target.proto package cloudtaskspb diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go index d9ed3dc7984..ac0a4de245e 100644 --- a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/tasks/v2beta3/task.proto package cloudtaskspb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -149,11 +149,11 @@ type Task struct { // For App Engine queues, this is when the task will be attempted or retried. // // `schedule_time` will be truncated to the nearest microsecond. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Output only. The time that the task was created. // // `create_time` will be truncated to the nearest second. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The deadline for requests sent to the worker. If the worker does not // respond by this deadline then the request is cancelled and the attempt // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the @@ -185,7 +185,7 @@ type Task struct { // // `dispatch_deadline` will be truncated to the nearest millisecond. The // deadline is an approximate deadline. - DispatchDeadline *durationpb.Duration `protobuf:"bytes,12,opt,name=dispatch_deadline,json=dispatchDeadline,proto3" json:"dispatch_deadline,omitempty"` + DispatchDeadline *duration.Duration `protobuf:"bytes,12,opt,name=dispatch_deadline,json=dispatchDeadline,proto3" json:"dispatch_deadline,omitempty"` // Output only. The number of attempts dispatched. // // This count includes attempts which have been dispatched but haven't @@ -272,21 +272,21 @@ func (x *Task) GetPullMessage() *PullMessage { return nil } -func (x *Task) GetScheduleTime() *timestamppb.Timestamp { +func (x *Task) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } return nil } -func (x *Task) GetCreateTime() *timestamppb.Timestamp { +func (x *Task) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Task) GetDispatchDeadline() *durationpb.Duration { +func (x *Task) GetDispatchDeadline() *duration.Duration { if x != nil { return x.DispatchDeadline } @@ -372,15 +372,15 @@ type Attempt struct { // Output only. The time that this attempt was scheduled. // // `schedule_time` will be truncated to the nearest microsecond. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Output only. The time that this attempt was dispatched. // // `dispatch_time` will be truncated to the nearest microsecond. - DispatchTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=dispatch_time,json=dispatchTime,proto3" json:"dispatch_time,omitempty"` + DispatchTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=dispatch_time,json=dispatchTime,proto3" json:"dispatch_time,omitempty"` // Output only. The time that this attempt response was received. // // `response_time` will be truncated to the nearest microsecond. - ResponseTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"` + ResponseTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"` // Output only. The response from the worker for this attempt. // // If `response_time` is unset, then the task has not been attempted or is @@ -420,21 +420,21 @@ func (*Attempt) Descriptor() ([]byte, []int) { return file_google_cloud_tasks_v2beta3_task_proto_rawDescGZIP(), []int{1} } -func (x *Attempt) GetScheduleTime() *timestamppb.Timestamp { +func (x *Attempt) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } return nil } -func (x *Attempt) GetDispatchTime() *timestamppb.Timestamp { +func (x *Attempt) GetDispatchTime() *timestamp.Timestamp { if x != nil { return x.DispatchTime } return nil } -func (x *Attempt) GetResponseTime() *timestamppb.Timestamp { +func (x *Attempt) GetResponseTime() *timestamp.Timestamp { if x != nil { return x.ResponseTime } @@ -566,15 +566,15 @@ func file_google_cloud_tasks_v2beta3_task_proto_rawDescGZIP() []byte { var file_google_cloud_tasks_v2beta3_task_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_tasks_v2beta3_task_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_tasks_v2beta3_task_proto_goTypes = []interface{}{ - (Task_View)(0), // 0: google.cloud.tasks.v2beta3.Task.View - (*Task)(nil), // 1: google.cloud.tasks.v2beta3.Task - (*Attempt)(nil), // 2: google.cloud.tasks.v2beta3.Attempt - (*AppEngineHttpRequest)(nil), // 3: google.cloud.tasks.v2beta3.AppEngineHttpRequest - (*HttpRequest)(nil), // 4: google.cloud.tasks.v2beta3.HttpRequest - (*PullMessage)(nil), // 5: google.cloud.tasks.v2beta3.PullMessage - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 7: google.protobuf.Duration - (*status.Status)(nil), // 8: google.rpc.Status + (Task_View)(0), // 0: google.cloud.tasks.v2beta3.Task.View + (*Task)(nil), // 1: google.cloud.tasks.v2beta3.Task + (*Attempt)(nil), // 2: google.cloud.tasks.v2beta3.Attempt + (*AppEngineHttpRequest)(nil), // 3: google.cloud.tasks.v2beta3.AppEngineHttpRequest + (*HttpRequest)(nil), // 4: google.cloud.tasks.v2beta3.HttpRequest + (*PullMessage)(nil), // 5: google.cloud.tasks.v2beta3.PullMessage + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*duration.Duration)(nil), // 7: google.protobuf.Duration + (*status.Status)(nil), // 8: google.rpc.Status } var file_google_cloud_tasks_v2beta3_task_proto_depIdxs = []int32{ 3, // 0: google.cloud.tasks.v2beta3.Task.app_engine_http_request:type_name -> google.cloud.tasks.v2beta3.AppEngineHttpRequest diff --git a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go index 9c44d915e84..166d729a0b1 100644 --- a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go +++ b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/containeranalysis/v1beta1/containeranalysis.proto package containeranalysispb @@ -26,6 +26,7 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" grpc "google.golang.org/grpc" @@ -33,7 +34,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -60,9 +60,9 @@ type ScanConfig struct { // Whether the scan is enabled. Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // Output only. The time this scan config was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time this scan config was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *ScanConfig) Reset() { @@ -118,14 +118,14 @@ func (x *ScanConfig) GetEnabled() bool { return false } -func (x *ScanConfig) GetCreateTime() *timestamppb.Timestamp { +func (x *ScanConfig) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ScanConfig) GetUpdateTime() *timestamppb.Timestamp { +func (x *ScanConfig) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -583,7 +583,7 @@ var file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_goTyp (*ListScanConfigsRequest)(nil), // 2: google.devtools.containeranalysis.v1beta1.ListScanConfigsRequest (*ListScanConfigsResponse)(nil), // 3: google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse (*UpdateScanConfigRequest)(nil), // 4: google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp (*v1.SetIamPolicyRequest)(nil), // 6: google.iam.v1.SetIamPolicyRequest (*v1.GetIamPolicyRequest)(nil), // 7: google.iam.v1.GetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 8: google.iam.v1.TestIamPermissionsRequest diff --git a/containeranalysis/apiv1beta1/grafeas/grafeaspb/grafeas.pb.go b/containeranalysis/apiv1beta1/grafeas/grafeaspb/grafeas.pb.go index 6490db814e5..082e0ac9911 100644 --- a/containeranalysis/apiv1beta1/grafeas/grafeaspb/grafeas.pb.go +++ b/containeranalysis/apiv1beta1/grafeas/grafeaspb/grafeas.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto package grafeaspb @@ -25,6 +25,8 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" attestation "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation" build "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build" @@ -35,14 +37,12 @@ import ( _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" vulnerability "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -73,9 +73,9 @@ type Occurrence struct { // A description of actions that can be taken to remedy the note. Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"` // Output only. The time this occurrence was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time this occurrence was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. Immutable. Describes the details of the note kind found on this // resource. // @@ -158,14 +158,14 @@ func (x *Occurrence) GetRemediation() string { return "" } -func (x *Occurrence) GetCreateTime() *timestamppb.Timestamp { +func (x *Occurrence) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Occurrence) GetUpdateTime() *timestamppb.Timestamp { +func (x *Occurrence) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -370,13 +370,13 @@ type Note struct { // URLs associated with this note. RelatedUrl []*common.RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` // Time of expiration for this note. Empty if note does not expire. - ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` + ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` // Output only. The time this note was created. This field can be used as a // filter in list requests. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time this note was last updated. This field can be used as // a filter in list requests. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Other notes related to this note. RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"` // Required. Immutable. The type of analysis this note represents. @@ -460,21 +460,21 @@ func (x *Note) GetRelatedUrl() []*common.RelatedUrl { return nil } -func (x *Note) GetExpirationTime() *timestamppb.Timestamp { +func (x *Note) GetExpirationTime() *timestamp.Timestamp { if x != nil { return x.ExpirationTime } return nil } -func (x *Note) GetCreateTime() *timestamppb.Timestamp { +func (x *Note) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Note) GetUpdateTime() *timestamppb.Timestamp { +func (x *Note) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -905,7 +905,7 @@ type UpdateOccurrenceRequest struct { // The updated occurrence. Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` // The fields to update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateOccurrenceRequest) Reset() { @@ -954,7 +954,7 @@ func (x *UpdateOccurrenceRequest) GetOccurrence() *Occurrence { return nil } -func (x *UpdateOccurrenceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1328,7 +1328,7 @@ type UpdateNoteRequest struct { // The updated note. Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // The fields to update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateNoteRequest) Reset() { @@ -1377,7 +1377,7 @@ func (x *UpdateNoteRequest) GetNote() *Note { return nil } -func (x *UpdateNoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2448,7 +2448,7 @@ var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_goTypes nil, // 24: grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry (*VulnerabilityOccurrencesSummary_FixableTotalByDigest)(nil), // 25: grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest (common.NoteKind)(0), // 26: grafeas.v1beta1.NoteKind - (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 27: google.protobuf.Timestamp (*vulnerability.Details)(nil), // 28: grafeas.v1beta1.vulnerability.Details (*build.Details)(nil), // 29: grafeas.v1beta1.build.Details (*image.Details)(nil), // 30: grafeas.v1beta1.image.Details @@ -2465,9 +2465,9 @@ var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_goTypes (*deployment.Deployable)(nil), // 41: grafeas.v1beta1.deployment.Deployable (*discovery.Discovery)(nil), // 42: grafeas.v1beta1.discovery.Discovery (*attestation.Authority)(nil), // 43: grafeas.v1beta1.attestation.Authority - (*fieldmaskpb.FieldMask)(nil), // 44: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 44: google.protobuf.FieldMask (vulnerability.Severity)(0), // 45: grafeas.v1beta1.vulnerability.Severity - (*emptypb.Empty)(nil), // 46: google.protobuf.Empty + (*empty.Empty)(nil), // 46: google.protobuf.Empty } var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_depIdxs = []int32{ 1, // 0: grafeas.v1beta1.Occurrence.resource:type_name -> grafeas.v1beta1.Resource @@ -2912,7 +2912,7 @@ type GrafeasV1Beta1Client interface { // Deletes the specified occurrence. For example, use this method to delete an // occurrence when the occurrence is no longer applicable for the given // resource. - DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new occurrence. CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) // Creates new occurrences in batch. @@ -2927,7 +2927,7 @@ type GrafeasV1Beta1Client interface { // Lists notes for the specified project. ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) // Deletes the specified note. - DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new note. CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) // Creates new notes in batch. @@ -2968,8 +2968,8 @@ func (c *grafeasV1Beta1Client) ListOccurrences(ctx context.Context, in *ListOccu return out, nil } -func (c *grafeasV1Beta1Client) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *grafeasV1Beta1Client) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", in, out, opts...) if err != nil { return nil, err @@ -3031,8 +3031,8 @@ func (c *grafeasV1Beta1Client) ListNotes(ctx context.Context, in *ListNotesReque return out, nil } -func (c *grafeasV1Beta1Client) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *grafeasV1Beta1Client) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", in, out, opts...) if err != nil { return nil, err @@ -3094,7 +3094,7 @@ type GrafeasV1Beta1Server interface { // Deletes the specified occurrence. For example, use this method to delete an // occurrence when the occurrence is no longer applicable for the given // resource. - DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error) + DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) // Creates a new occurrence. CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) // Creates new occurrences in batch. @@ -3109,7 +3109,7 @@ type GrafeasV1Beta1Server interface { // Lists notes for the specified project. ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) // Deletes the specified note. - DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error) + DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) // Creates a new note. CreateNote(context.Context, *CreateNoteRequest) (*Note, error) // Creates new notes in batch. @@ -3134,7 +3134,7 @@ func (*UnimplementedGrafeasV1Beta1Server) GetOccurrence(context.Context, *GetOcc func (*UnimplementedGrafeasV1Beta1Server) ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListOccurrences not implemented") } -func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error) { +func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteOccurrence not implemented") } func (*UnimplementedGrafeasV1Beta1Server) CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) { @@ -3155,7 +3155,7 @@ func (*UnimplementedGrafeasV1Beta1Server) GetNote(context.Context, *GetNoteReque func (*UnimplementedGrafeasV1Beta1Server) ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListNotes not implemented") } -func (*UnimplementedGrafeasV1Beta1Server) DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error) { +func (*UnimplementedGrafeasV1Beta1Server) DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteNote not implemented") } func (*UnimplementedGrafeasV1Beta1Server) CreateNote(context.Context, *CreateNoteRequest) (*Note, error) { diff --git a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go index c2706c1b9ac..fa5010af5c1 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/common.proto package datacatalogpb diff --git a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go index 027f852464b..8f9a2bf95bd 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package datacatalogpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -368,7 +368,7 @@ type UpdateEntryGroupRequest struct { EntryGroup *EntryGroup `protobuf:"bytes,1,opt,name=entry_group,json=entryGroup,proto3" json:"entry_group,omitempty"` // The fields to update on the entry group. If absent or empty, all modifiable // fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEntryGroupRequest) Reset() { @@ -410,7 +410,7 @@ func (x *UpdateEntryGroupRequest) GetEntryGroup() *EntryGroup { return nil } -func (x *UpdateEntryGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEntryGroupRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -428,7 +428,7 @@ type GetEntryGroupRequest struct { // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The fields to return. If not set or empty, all fields are returned. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *GetEntryGroupRequest) Reset() { @@ -470,7 +470,7 @@ func (x *GetEntryGroupRequest) GetName() string { return "" } -func (x *GetEntryGroupRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *GetEntryGroupRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -774,7 +774,7 @@ type UpdateEntryRequest struct { // - user_specified_system // - linked_resource // - source_system_timestamps - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEntryRequest) Reset() { @@ -816,7 +816,7 @@ func (x *UpdateEntryRequest) GetEntry() *Entry { return nil } -func (x *UpdateEntryRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEntryRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1558,7 +1558,7 @@ type UpdateTagTemplateRequest struct { // - `display_name` // // If absent or empty, all of the allowed fields above will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTagTemplateRequest) Reset() { @@ -1600,7 +1600,7 @@ func (x *UpdateTagTemplateRequest) GetTagTemplate() *TagTemplate { return nil } -func (x *UpdateTagTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTagTemplateRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1746,7 +1746,7 @@ type UpdateTagRequest struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // The fields to update on the Tag. If absent or empty, all modifiable fields // are updated. Currently the only modifiable field is the field `fields`. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTagRequest) Reset() { @@ -1788,7 +1788,7 @@ func (x *UpdateTagRequest) GetTag() *Tag { return nil } -func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTagRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1951,7 +1951,7 @@ type UpdateTagTemplateFieldRequest struct { // existing values. Therefore, enum values can only be added, existing enum // values cannot be deleted nor renamed. Updating a template field from // optional to required is NOT allowed. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTagTemplateFieldRequest) Reset() { @@ -2000,7 +2000,7 @@ func (x *UpdateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField return nil } -func (x *UpdateTagTemplateFieldRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTagTemplateFieldRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2289,7 +2289,7 @@ type ListEntriesRequest struct { // fields are returned. // For example, setting read_mask to contain only one path "name" will cause // ListEntries to return a list of Entries with only "name" field. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListEntriesRequest) Reset() { @@ -2345,7 +2345,7 @@ func (x *ListEntriesRequest) GetPageToken() string { return "" } -func (x *ListEntriesRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListEntriesRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -3384,7 +3384,7 @@ var file_google_cloud_datacatalog_v1beta1_datacatalog_proto_goTypes = []interfac (*ListEntriesResponse)(nil), // 30: google.cloud.datacatalog.v1beta1.ListEntriesResponse (*SearchCatalogRequest_Scope)(nil), // 31: google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope (*SearchCatalogResult)(nil), // 32: google.cloud.datacatalog.v1beta1.SearchCatalogResult - (*fieldmaskpb.FieldMask)(nil), // 33: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 33: google.protobuf.FieldMask (IntegratedSystem)(0), // 34: google.cloud.datacatalog.v1beta1.IntegratedSystem (*GcsFilesetSpec)(nil), // 35: google.cloud.datacatalog.v1beta1.GcsFilesetSpec (*BigQueryTableSpec)(nil), // 36: google.cloud.datacatalog.v1beta1.BigQueryTableSpec @@ -3397,7 +3397,7 @@ var file_google_cloud_datacatalog_v1beta1_datacatalog_proto_goTypes = []interfac (*v1.SetIamPolicyRequest)(nil), // 43: google.iam.v1.SetIamPolicyRequest (*v1.GetIamPolicyRequest)(nil), // 44: google.iam.v1.GetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 45: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 46: google.protobuf.Empty + (*empty.Empty)(nil), // 46: google.protobuf.Empty (*v1.Policy)(nil), // 47: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 48: google.iam.v1.TestIamPermissionsResponse } @@ -3963,7 +3963,7 @@ type DataCatalogClient interface { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists entry groups. ListEntryGroups(ctx context.Context, in *ListEntryGroupsRequest, opts ...grpc.CallOption) (*ListEntryGroupsResponse, error) // Creates an entry. Only entries of 'FILESET' type or user-specified type can @@ -3989,7 +3989,7 @@ type DataCatalogClient interface { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets an entry. GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*Entry, error) // Get an entry by target resource name. This method allows clients to use @@ -4019,7 +4019,7 @@ type DataCatalogClient interface { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a field in a tag template. The user should enable the Data Catalog // API in the project identified by the `parent` parameter (see // [Data Catalog Resource @@ -4043,7 +4043,7 @@ type DataCatalogClient interface { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. // Note: The project identified by the `parent` parameter for the // [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) @@ -4055,7 +4055,7 @@ type DataCatalogClient interface { // Updates an existing tag. UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Deletes a tag. - DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) // Sets the access control policy for a resource. Replaces any existing @@ -4153,8 +4153,8 @@ func (c *dataCatalogClient) GetEntryGroup(ctx context.Context, in *GetEntryGroup return out, nil } -func (c *dataCatalogClient) DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataCatalogClient) DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteEntryGroup", in, out, opts...) if err != nil { return nil, err @@ -4189,8 +4189,8 @@ func (c *dataCatalogClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequ return out, nil } -func (c *dataCatalogClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataCatalogClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteEntry", in, out, opts...) if err != nil { return nil, err @@ -4252,8 +4252,8 @@ func (c *dataCatalogClient) UpdateTagTemplate(ctx context.Context, in *UpdateTag return out, nil } -func (c *dataCatalogClient) DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataCatalogClient) DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTagTemplate", in, out, opts...) if err != nil { return nil, err @@ -4288,8 +4288,8 @@ func (c *dataCatalogClient) RenameTagTemplateField(ctx context.Context, in *Rena return out, nil } -func (c *dataCatalogClient) DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataCatalogClient) DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTagTemplateField", in, out, opts...) if err != nil { return nil, err @@ -4315,8 +4315,8 @@ func (c *dataCatalogClient) UpdateTag(ctx context.Context, in *UpdateTagRequest, return out, nil } -func (c *dataCatalogClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataCatalogClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTag", in, out, opts...) if err != nil { return nil, err @@ -4400,7 +4400,7 @@ type DataCatalogServer interface { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error) + DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*empty.Empty, error) // Lists entry groups. ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error) // Creates an entry. Only entries of 'FILESET' type or user-specified type can @@ -4426,7 +4426,7 @@ type DataCatalogServer interface { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error) + DeleteEntry(context.Context, *DeleteEntryRequest) (*empty.Empty, error) // Gets an entry. GetEntry(context.Context, *GetEntryRequest) (*Entry, error) // Get an entry by target resource name. This method allows clients to use @@ -4456,7 +4456,7 @@ type DataCatalogServer interface { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error) + DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*empty.Empty, error) // Creates a field in a tag template. The user should enable the Data Catalog // API in the project identified by the `parent` parameter (see // [Data Catalog Resource @@ -4480,7 +4480,7 @@ type DataCatalogServer interface { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error) + DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*empty.Empty, error) // Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. // Note: The project identified by the `parent` parameter for the // [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) @@ -4492,7 +4492,7 @@ type DataCatalogServer interface { // Updates an existing tag. UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) // Deletes a tag. - DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) + DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) // Sets the access control policy for a resource. Replaces any existing @@ -4562,7 +4562,7 @@ func (*UnimplementedDataCatalogServer) UpdateEntryGroup(context.Context, *Update func (*UnimplementedDataCatalogServer) GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEntryGroup not implemented") } -func (*UnimplementedDataCatalogServer) DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataCatalogServer) DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteEntryGroup not implemented") } func (*UnimplementedDataCatalogServer) ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error) { @@ -4574,7 +4574,7 @@ func (*UnimplementedDataCatalogServer) CreateEntry(context.Context, *CreateEntry func (*UnimplementedDataCatalogServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented") } -func (*UnimplementedDataCatalogServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataCatalogServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented") } func (*UnimplementedDataCatalogServer) GetEntry(context.Context, *GetEntryRequest) (*Entry, error) { @@ -4595,7 +4595,7 @@ func (*UnimplementedDataCatalogServer) GetTagTemplate(context.Context, *GetTagTe func (*UnimplementedDataCatalogServer) UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateTagTemplate not implemented") } -func (*UnimplementedDataCatalogServer) DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataCatalogServer) DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTagTemplate not implemented") } func (*UnimplementedDataCatalogServer) CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error) { @@ -4607,7 +4607,7 @@ func (*UnimplementedDataCatalogServer) UpdateTagTemplateField(context.Context, * func (*UnimplementedDataCatalogServer) RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error) { return nil, status.Errorf(codes.Unimplemented, "method RenameTagTemplateField not implemented") } -func (*UnimplementedDataCatalogServer) DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataCatalogServer) DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTagTemplateField not implemented") } func (*UnimplementedDataCatalogServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error) { @@ -4616,7 +4616,7 @@ func (*UnimplementedDataCatalogServer) CreateTag(context.Context, *CreateTagRequ func (*UnimplementedDataCatalogServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateTag not implemented") } -func (*UnimplementedDataCatalogServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataCatalogServer) DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") } func (*UnimplementedDataCatalogServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) { diff --git a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go index f4dda6c1d21..c00cfa91602 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto package datacatalogpb diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go index 0211420df90..78e4060a3b2 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package datacatalogpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -403,7 +403,7 @@ type UpdateTaxonomyRequest struct { // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask // If not set, defaults to all of the fields that are allowed to update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTaxonomyRequest) Reset() { @@ -445,7 +445,7 @@ func (x *UpdateTaxonomyRequest) GetTaxonomy() *Taxonomy { return nil } -func (x *UpdateTaxonomyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTaxonomyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -759,7 +759,7 @@ type UpdatePolicyTagRequest struct { // `FieldMask` definition, see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask // If not set, defaults to all of the fields that are allowed to update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdatePolicyTagRequest) Reset() { @@ -801,7 +801,7 @@ func (x *UpdatePolicyTagRequest) GetPolicyTag() *PolicyTag { return nil } -func (x *UpdatePolicyTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdatePolicyTagRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1394,11 +1394,11 @@ var file_google_cloud_datacatalog_v1beta1_policytagmanager_proto_goTypes = []int (*ListPolicyTagsRequest)(nil), // 12: google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest (*ListPolicyTagsResponse)(nil), // 13: google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse (*GetPolicyTagRequest)(nil), // 14: google.cloud.datacatalog.v1beta1.GetPolicyTagRequest - (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 15: google.protobuf.FieldMask (*v1.GetIamPolicyRequest)(nil), // 16: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 17: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 18: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 19: google.protobuf.Empty + (*empty.Empty)(nil), // 19: google.protobuf.Empty (*v1.Policy)(nil), // 20: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 21: google.iam.v1.TestIamPermissionsResponse } @@ -1658,7 +1658,7 @@ type PolicyTagManagerClient interface { CreateTaxonomy(ctx context.Context, in *CreateTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error) // Deletes a taxonomy. This operation will also delete all // policy tags in this taxonomy along with their associated policies. - DeleteTaxonomy(ctx context.Context, in *DeleteTaxonomyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTaxonomy(ctx context.Context, in *DeleteTaxonomyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a taxonomy. UpdateTaxonomy(ctx context.Context, in *UpdateTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error) // Lists all taxonomies in a project in a particular location that the caller @@ -1669,7 +1669,7 @@ type PolicyTagManagerClient interface { // Creates a policy tag in the specified taxonomy. CreatePolicyTag(ctx context.Context, in *CreatePolicyTagRequest, opts ...grpc.CallOption) (*PolicyTag, error) // Deletes a policy tag. Also deletes all of its descendant policy tags. - DeletePolicyTag(ctx context.Context, in *DeletePolicyTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePolicyTag(ctx context.Context, in *DeletePolicyTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a policy tag. UpdatePolicyTag(ctx context.Context, in *UpdatePolicyTagRequest, opts ...grpc.CallOption) (*PolicyTag, error) // Lists all policy tags in a taxonomy. @@ -1702,8 +1702,8 @@ func (c *policyTagManagerClient) CreateTaxonomy(ctx context.Context, in *CreateT return out, nil } -func (c *policyTagManagerClient) DeleteTaxonomy(ctx context.Context, in *DeleteTaxonomyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *policyTagManagerClient) DeleteTaxonomy(ctx context.Context, in *DeleteTaxonomyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.PolicyTagManager/DeleteTaxonomy", in, out, opts...) if err != nil { return nil, err @@ -1747,8 +1747,8 @@ func (c *policyTagManagerClient) CreatePolicyTag(ctx context.Context, in *Create return out, nil } -func (c *policyTagManagerClient) DeletePolicyTag(ctx context.Context, in *DeletePolicyTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *policyTagManagerClient) DeletePolicyTag(ctx context.Context, in *DeletePolicyTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.PolicyTagManager/DeletePolicyTag", in, out, opts...) if err != nil { return nil, err @@ -1816,7 +1816,7 @@ type PolicyTagManagerServer interface { CreateTaxonomy(context.Context, *CreateTaxonomyRequest) (*Taxonomy, error) // Deletes a taxonomy. This operation will also delete all // policy tags in this taxonomy along with their associated policies. - DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*emptypb.Empty, error) + DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*empty.Empty, error) // Updates a taxonomy. UpdateTaxonomy(context.Context, *UpdateTaxonomyRequest) (*Taxonomy, error) // Lists all taxonomies in a project in a particular location that the caller @@ -1827,7 +1827,7 @@ type PolicyTagManagerServer interface { // Creates a policy tag in the specified taxonomy. CreatePolicyTag(context.Context, *CreatePolicyTagRequest) (*PolicyTag, error) // Deletes a policy tag. Also deletes all of its descendant policy tags. - DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*emptypb.Empty, error) + DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*empty.Empty, error) // Updates a policy tag. UpdatePolicyTag(context.Context, *UpdatePolicyTagRequest) (*PolicyTag, error) // Lists all policy tags in a taxonomy. @@ -1850,7 +1850,7 @@ type UnimplementedPolicyTagManagerServer struct { func (*UnimplementedPolicyTagManagerServer) CreateTaxonomy(context.Context, *CreateTaxonomyRequest) (*Taxonomy, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateTaxonomy not implemented") } -func (*UnimplementedPolicyTagManagerServer) DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*emptypb.Empty, error) { +func (*UnimplementedPolicyTagManagerServer) DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTaxonomy not implemented") } func (*UnimplementedPolicyTagManagerServer) UpdateTaxonomy(context.Context, *UpdateTaxonomyRequest) (*Taxonomy, error) { @@ -1865,7 +1865,7 @@ func (*UnimplementedPolicyTagManagerServer) GetTaxonomy(context.Context, *GetTax func (*UnimplementedPolicyTagManagerServer) CreatePolicyTag(context.Context, *CreatePolicyTagRequest) (*PolicyTag, error) { return nil, status.Errorf(codes.Unimplemented, "method CreatePolicyTag not implemented") } -func (*UnimplementedPolicyTagManagerServer) DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*emptypb.Empty, error) { +func (*UnimplementedPolicyTagManagerServer) DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePolicyTag not implemented") } func (*UnimplementedPolicyTagManagerServer) UpdatePolicyTag(context.Context, *UpdatePolicyTagRequest) (*PolicyTag, error) { diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go index 16bbd75d7cb..a037eaf78b6 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package datacatalogpb diff --git a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go index c23c783ca92..20ede8670de 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/schema.proto package datacatalogpb diff --git a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go index 6144654bb34..0bb37d30611 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/search.proto package datacatalogpb diff --git a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go index 698b32af9a5..84a5633b007 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/table_spec.proto package datacatalogpb diff --git a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go index 739dfa3b98f..7a6d0e9cf33 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/tags.proto package datacatalogpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -323,7 +323,7 @@ func (x *TagField) GetBoolValue() bool { return false } -func (x *TagField) GetTimestampValue() *timestamppb.Timestamp { +func (x *TagField) GetTimestampValue() *timestamp.Timestamp { if x, ok := x.GetKind().(*TagField_TimestampValue); ok { return x.TimestampValue } @@ -365,7 +365,7 @@ type TagField_BoolValue struct { type TagField_TimestampValue struct { // Holds the value for a tag field with timestamp type. - TimestampValue *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` + TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` } type TagField_EnumValue_ struct { @@ -985,7 +985,7 @@ var file_google_cloud_datacatalog_v1beta1_tags_proto_goTypes = []interface{}{ nil, // 8: google.cloud.datacatalog.v1beta1.TagTemplate.FieldsEntry (*FieldType_EnumType)(nil), // 9: google.cloud.datacatalog.v1beta1.FieldType.EnumType (*FieldType_EnumType_EnumValue)(nil), // 10: google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp } var file_google_cloud_datacatalog_v1beta1_tags_proto_depIdxs = []int32{ 6, // 0: google.cloud.datacatalog.v1beta1.Tag.fields:type_name -> google.cloud.datacatalog.v1beta1.Tag.FieldsEntry diff --git a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go index f7b63f6bd42..50de3405ca8 100644 --- a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datacatalog/v1beta1/timestamps.proto package datacatalogpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -44,12 +44,12 @@ type SystemTimestamps struct { unknownFields protoimpl.UnknownFields // The creation time of the resource within the given system. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last-modified time of the resource within the given system. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The expiration time of the resource within the given system. // Currently only apllicable to BigQuery resources. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` } func (x *SystemTimestamps) Reset() { @@ -84,21 +84,21 @@ func (*SystemTimestamps) Descriptor() ([]byte, []int) { return file_google_cloud_datacatalog_v1beta1_timestamps_proto_rawDescGZIP(), []int{0} } -func (x *SystemTimestamps) GetCreateTime() *timestamppb.Timestamp { +func (x *SystemTimestamps) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *SystemTimestamps) GetUpdateTime() *timestamppb.Timestamp { +func (x *SystemTimestamps) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *SystemTimestamps) GetExpireTime() *timestamppb.Timestamp { +func (x *SystemTimestamps) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -162,8 +162,8 @@ func file_google_cloud_datacatalog_v1beta1_timestamps_proto_rawDescGZIP() []byte var file_google_cloud_datacatalog_v1beta1_timestamps_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_datacatalog_v1beta1_timestamps_proto_goTypes = []interface{}{ - (*SystemTimestamps)(nil), // 0: google.cloud.datacatalog.v1beta1.SystemTimestamps - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*SystemTimestamps)(nil), // 0: google.cloud.datacatalog.v1beta1.SystemTimestamps + (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_google_cloud_datacatalog_v1beta1_timestamps_proto_depIdxs = []int32{ 1, // 0: google.cloud.datacatalog.v1beta1.SystemTimestamps.create_time:type_name -> google.protobuf.Timestamp diff --git a/dataflow/apiv1beta3/dataflowpb/environment.pb.go b/dataflow/apiv1beta3/dataflowpb/environment.pb.go index 9e05384241b..c301ed53c1e 100644 --- a/dataflow/apiv1beta3/dataflowpb/environment.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/environment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/environment.proto package dataflowpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + any1 "github.com/golang/protobuf/ptypes/any" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -476,10 +476,10 @@ type Environment struct { // specified in order for the job to have workers. WorkerPools []*WorkerPool `protobuf:"bytes,4,rep,name=worker_pools,json=workerPools,proto3" json:"worker_pools,omitempty"` // A description of the process that generated the request. - UserAgent *structpb.Struct `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` + UserAgent *_struct.Struct `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // A structure describing which components and their versions of the service // are required in order to run the job. - Version *structpb.Struct `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` + Version *_struct.Struct `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // The dataset for the current project where various workflow // related tables are stored. // @@ -493,9 +493,9 @@ type Environment struct { // options are passed through the service and are used to recreate the // SDK pipeline options on the worker in a language agnostic and platform // independent way. - SdkPipelineOptions *structpb.Struct `protobuf:"bytes,8,opt,name=sdk_pipeline_options,json=sdkPipelineOptions,proto3" json:"sdk_pipeline_options,omitempty"` + SdkPipelineOptions *_struct.Struct `protobuf:"bytes,8,opt,name=sdk_pipeline_options,json=sdkPipelineOptions,proto3" json:"sdk_pipeline_options,omitempty"` // Experimental settings. - InternalExperiments *anypb.Any `protobuf:"bytes,9,opt,name=internal_experiments,json=internalExperiments,proto3" json:"internal_experiments,omitempty"` + InternalExperiments *any1.Any `protobuf:"bytes,9,opt,name=internal_experiments,json=internalExperiments,proto3" json:"internal_experiments,omitempty"` // Identity to run virtual machines as. Defaults to the default account. ServiceAccountEmail string `protobuf:"bytes,10,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` // Which Flexible Resource Scheduling mode to run in. @@ -592,14 +592,14 @@ func (x *Environment) GetWorkerPools() []*WorkerPool { return nil } -func (x *Environment) GetUserAgent() *structpb.Struct { +func (x *Environment) GetUserAgent() *_struct.Struct { if x != nil { return x.UserAgent } return nil } -func (x *Environment) GetVersion() *structpb.Struct { +func (x *Environment) GetVersion() *_struct.Struct { if x != nil { return x.Version } @@ -613,14 +613,14 @@ func (x *Environment) GetDataset() string { return "" } -func (x *Environment) GetSdkPipelineOptions() *structpb.Struct { +func (x *Environment) GetSdkPipelineOptions() *_struct.Struct { if x != nil { return x.SdkPipelineOptions } return nil } -func (x *Environment) GetInternalExperiments() *anypb.Any { +func (x *Environment) GetInternalExperiments() *any1.Any { if x != nil { return x.InternalExperiments } @@ -1384,7 +1384,7 @@ type WorkerPool struct { // Settings for autoscaling of this WorkerPool. AutoscalingSettings *AutoscalingSettings `protobuf:"bytes,14,opt,name=autoscaling_settings,json=autoscalingSettings,proto3" json:"autoscaling_settings,omitempty"` // Extra arguments for this worker pool. - PoolArgs *anypb.Any `protobuf:"bytes,15,opt,name=pool_args,json=poolArgs,proto3" json:"pool_args,omitempty"` + PoolArgs *any1.Any `protobuf:"bytes,15,opt,name=pool_args,json=poolArgs,proto3" json:"pool_args,omitempty"` // Network to which VMs will be assigned. If empty or unspecified, // the service will use the network "default". Network string `protobuf:"bytes,17,opt,name=network,proto3" json:"network,omitempty"` @@ -1546,7 +1546,7 @@ func (x *WorkerPool) GetAutoscalingSettings() *AutoscalingSettings { return nil } -func (x *WorkerPool) GetPoolArgs() *anypb.Any { +func (x *WorkerPool) GetPoolArgs() *any1.Any { if x != nil { return x.PoolArgs } @@ -2006,8 +2006,8 @@ var file_google_dataflow_v1beta3_environment_proto_goTypes = []interface{}{ (*WorkerPool)(nil), // 14: google.dataflow.v1beta3.WorkerPool (*DebugOptions)(nil), // 15: google.dataflow.v1beta3.DebugOptions nil, // 16: google.dataflow.v1beta3.WorkerPool.MetadataEntry - (*structpb.Struct)(nil), // 17: google.protobuf.Struct - (*anypb.Any)(nil), // 18: google.protobuf.Any + (*_struct.Struct)(nil), // 17: google.protobuf.Struct + (*any1.Any)(nil), // 18: google.protobuf.Any } var file_google_dataflow_v1beta3_environment_proto_depIdxs = []int32{ 14, // 0: google.dataflow.v1beta3.Environment.worker_pools:type_name -> google.dataflow.v1beta3.WorkerPool diff --git a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go index 1391d7f76d0..6edbf82268f 100644 --- a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/jobs.proto package dataflowpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -479,7 +479,7 @@ type Job struct { // callers cannot mutate it. CurrentState JobState `protobuf:"varint,7,opt,name=current_state,json=currentState,proto3,enum=google.dataflow.v1beta3.JobState" json:"current_state,omitempty"` // The timestamp associated with the current state. - CurrentStateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=current_state_time,json=currentStateTime,proto3" json:"current_state_time,omitempty"` + CurrentStateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=current_state_time,json=currentStateTime,proto3" json:"current_state_time,omitempty"` // The job's requested state. // // `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and @@ -492,7 +492,7 @@ type Job struct { ExecutionInfo *JobExecutionInfo `protobuf:"bytes,10,opt,name=execution_info,json=executionInfo,proto3" json:"execution_info,omitempty"` // The timestamp when the job was initially created. Immutable and set by the // Cloud Dataflow service. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // If this job is an update of an existing job, this field is the job ID // of the job it replaced. // @@ -559,7 +559,7 @@ type Job struct { // job is started by the Cloud Dataflow service. For other jobs, start_time // always equals to create_time and is immutable and set by the Cloud Dataflow // service. - StartTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,22,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // If this is specified, the job's initial state is populated from the given // snapshot. CreatedFromSnapshotId string `protobuf:"bytes,23,opt,name=created_from_snapshot_id,json=createdFromSnapshotId,proto3" json:"created_from_snapshot_id,omitempty"` @@ -656,7 +656,7 @@ func (x *Job) GetCurrentState() JobState { return JobState_JOB_STATE_UNKNOWN } -func (x *Job) GetCurrentStateTime() *timestamppb.Timestamp { +func (x *Job) GetCurrentStateTime() *timestamp.Timestamp { if x != nil { return x.CurrentStateTime } @@ -677,7 +677,7 @@ func (x *Job) GetExecutionInfo() *JobExecutionInfo { return nil } -func (x *Job) GetCreateTime() *timestamppb.Timestamp { +func (x *Job) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -754,7 +754,7 @@ func (x *Job) GetJobMetadata() *JobMetadata { return nil } -func (x *Job) GetStartTime() *timestamppb.Timestamp { +func (x *Job) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -1332,7 +1332,7 @@ type ExecutionStageState struct { // Executions stage states allow the same set of values as JobState. ExecutionStageState JobState `protobuf:"varint,2,opt,name=execution_stage_state,json=executionStageState,proto3,enum=google.dataflow.v1beta3.JobState" json:"execution_stage_state,omitempty"` // The time at which the stage transitioned to this state. - CurrentStateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=current_state_time,json=currentStateTime,proto3" json:"current_state_time,omitempty"` + CurrentStateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=current_state_time,json=currentStateTime,proto3" json:"current_state_time,omitempty"` } func (x *ExecutionStageState) Reset() { @@ -1381,7 +1381,7 @@ func (x *ExecutionStageState) GetExecutionStageState() JobState { return JobState_JOB_STATE_UNKNOWN } -func (x *ExecutionStageState) GetCurrentStateTime() *timestamppb.Timestamp { +func (x *ExecutionStageState) GetCurrentStateTime() *timestamp.Timestamp { if x != nil { return x.CurrentStateTime } @@ -1787,14 +1787,14 @@ func (x *DisplayData) GetJavaClassValue() string { return "" } -func (x *DisplayData) GetTimestampValue() *timestamppb.Timestamp { +func (x *DisplayData) GetTimestampValue() *timestamp.Timestamp { if x, ok := x.GetValue().(*DisplayData_TimestampValue); ok { return x.TimestampValue } return nil } -func (x *DisplayData) GetDurationValue() *durationpb.Duration { +func (x *DisplayData) GetDurationValue() *duration.Duration { if x, ok := x.GetValue().(*DisplayData_DurationValue); ok { return x.DurationValue } @@ -1855,12 +1855,12 @@ type DisplayData_JavaClassValue struct { type DisplayData_TimestampValue struct { // Contains value if the data is of timestamp type. - TimestampValue *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` + TimestampValue *timestamp.Timestamp `protobuf:"bytes,8,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` } type DisplayData_DurationValue struct { // Contains value if the data is of duration type. - DurationValue *durationpb.Duration `protobuf:"bytes,9,opt,name=duration_value,json=durationValue,proto3,oneof"` + DurationValue *duration.Duration `protobuf:"bytes,9,opt,name=duration_value,json=durationValue,proto3,oneof"` } type DisplayData_BoolValue struct { @@ -1920,7 +1920,7 @@ type Step struct { // Named properties associated with the step. Each kind of // predefined step has its own required set of properties. // Must be provided on Create. Only retrieved with JOB_VIEW_ALL. - Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` + Properties *_struct.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` } func (x *Step) Reset() { @@ -1969,7 +1969,7 @@ func (x *Step) GetName() string { return "" } -func (x *Step) GetProperties() *structpb.Struct { +func (x *Step) GetProperties() *_struct.Struct { if x != nil { return x.Properties } @@ -2562,7 +2562,7 @@ type SnapshotJobRequest struct { // The job to be snapshotted. JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // TTL for the snapshot. - Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` + Ttl *duration.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // The location that contains this job. Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // If true, perform snapshots for sources which support this. @@ -2617,7 +2617,7 @@ func (x *SnapshotJobRequest) GetJobId() string { return "" } -func (x *SnapshotJobRequest) GetTtl() *durationpb.Duration { +func (x *SnapshotJobRequest) GetTtl() *duration.Duration { if x != nil { return x.Ttl } @@ -3625,13 +3625,13 @@ var file_google_dataflow_v1beta3_jobs_proto_goTypes = []interface{}{ (*ExecutionStageSummary_StageSource)(nil), // 33: google.dataflow.v1beta3.ExecutionStageSummary.StageSource (*ExecutionStageSummary_ComponentTransform)(nil), // 34: google.dataflow.v1beta3.ExecutionStageSummary.ComponentTransform (*ExecutionStageSummary_ComponentSource)(nil), // 35: google.dataflow.v1beta3.ExecutionStageSummary.ComponentSource - nil, // 36: google.dataflow.v1beta3.JobExecutionInfo.StagesEntry - (JobType)(0), // 37: google.dataflow.v1beta3.JobType - (*Environment)(nil), // 38: google.dataflow.v1beta3.Environment - (*timestamppb.Timestamp)(nil), // 39: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 40: google.protobuf.Duration - (*structpb.Struct)(nil), // 41: google.protobuf.Struct - (*Snapshot)(nil), // 42: google.dataflow.v1beta3.Snapshot + nil, // 36: google.dataflow.v1beta3.JobExecutionInfo.StagesEntry + (JobType)(0), // 37: google.dataflow.v1beta3.JobType + (*Environment)(nil), // 38: google.dataflow.v1beta3.Environment + (*timestamp.Timestamp)(nil), // 39: google.protobuf.Timestamp + (*duration.Duration)(nil), // 40: google.protobuf.Duration + (*_struct.Struct)(nil), // 41: google.protobuf.Struct + (*Snapshot)(nil), // 42: google.dataflow.v1beta3.Snapshot } var file_google_dataflow_v1beta3_jobs_proto_depIdxs = []int32{ 37, // 0: google.dataflow.v1beta3.Job.type:type_name -> google.dataflow.v1beta3.JobType diff --git a/dataflow/apiv1beta3/dataflowpb/messages.pb.go b/dataflow/apiv1beta3/dataflowpb/messages.pb.go index efab50ea09e..d6ae8ac9619 100644 --- a/dataflow/apiv1beta3/dataflowpb/messages.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/messages.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/messages.proto package dataflowpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -205,7 +205,7 @@ type JobMessage struct { // Deprecated. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The timestamp of the message. - Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // The text of the message. MessageText string `protobuf:"bytes,3,opt,name=message_text,json=messageText,proto3" json:"message_text,omitempty"` // Importance level of the message. @@ -251,7 +251,7 @@ func (x *JobMessage) GetId() string { return "" } -func (x *JobMessage) GetTime() *timestamppb.Timestamp { +func (x *JobMessage) GetTime() *timestamp.Timestamp { if x != nil { return x.Time } @@ -361,7 +361,7 @@ type AutoscalingEvent struct { Description *StructuredMessage `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The time this event was emitted to indicate a new target or current // num_workers value. - Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` + Time *timestamp.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` // A short and friendly name for the worker pool this event refers to. WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` } @@ -426,7 +426,7 @@ func (x *AutoscalingEvent) GetDescription() *StructuredMessage { return nil } -func (x *AutoscalingEvent) GetTime() *timestamppb.Timestamp { +func (x *AutoscalingEvent) GetTime() *timestamp.Timestamp { if x != nil { return x.Time } @@ -465,10 +465,10 @@ type ListJobMessagesRequest struct { PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // If specified, return only messages with timestamps >= start_time. // The default is the job creation time (i.e. beginning of messages). - StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Return only messages with timestamps < end_time. The default is now // (i.e. return up to the latest messages available). - EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that // contains the job specified by job_id. @@ -542,14 +542,14 @@ func (x *ListJobMessagesRequest) GetPageToken() string { return "" } -func (x *ListJobMessagesRequest) GetStartTime() *timestamppb.Timestamp { +func (x *ListJobMessagesRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *ListJobMessagesRequest) GetEndTime() *timestamppb.Timestamp { +func (x *ListJobMessagesRequest) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -639,7 +639,7 @@ type StructuredMessage_Parameter struct { // Key or name for this parameter. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value for this parameter. - Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value *_struct.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *StructuredMessage_Parameter) Reset() { @@ -681,7 +681,7 @@ func (x *StructuredMessage_Parameter) GetKey() string { return "" } -func (x *StructuredMessage_Parameter) GetValue() *structpb.Value { +func (x *StructuredMessage_Parameter) GetValue() *_struct.Value { if x != nil { return x.Value } @@ -883,8 +883,8 @@ var file_google_dataflow_v1beta3_messages_proto_goTypes = []interface{}{ (*ListJobMessagesRequest)(nil), // 5: google.dataflow.v1beta3.ListJobMessagesRequest (*ListJobMessagesResponse)(nil), // 6: google.dataflow.v1beta3.ListJobMessagesResponse (*StructuredMessage_Parameter)(nil), // 7: google.dataflow.v1beta3.StructuredMessage.Parameter - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp - (*structpb.Value)(nil), // 9: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*_struct.Value)(nil), // 9: google.protobuf.Value } var file_google_dataflow_v1beta3_messages_proto_depIdxs = []int32{ 8, // 0: google.dataflow.v1beta3.JobMessage.time:type_name -> google.protobuf.Timestamp diff --git a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go index 5fad797f244..69f47764a9e 100644 --- a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/metrics.proto package dataflowpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -203,35 +203,35 @@ type MetricUpdate struct { Cumulative bool `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", // "And", and "Or". The possible value types are Long, Double, and Boolean. - Scalar *structpb.Value `protobuf:"bytes,4,opt,name=scalar,proto3" json:"scalar,omitempty"` + Scalar *_struct.Value `protobuf:"bytes,4,opt,name=scalar,proto3" json:"scalar,omitempty"` // Worker-computed aggregate value for the "Mean" aggregation kind. // This holds the sum of the aggregated values and is used in combination // with mean_count below to obtain the actual mean aggregate value. // The only possible value types are Long and Double. - MeanSum *structpb.Value `protobuf:"bytes,5,opt,name=mean_sum,json=meanSum,proto3" json:"mean_sum,omitempty"` + MeanSum *_struct.Value `protobuf:"bytes,5,opt,name=mean_sum,json=meanSum,proto3" json:"mean_sum,omitempty"` // Worker-computed aggregate value for the "Mean" aggregation kind. // This holds the count of the aggregated values and is used in combination // with mean_sum above to obtain the actual mean aggregate value. // The only possible value type is Long. - MeanCount *structpb.Value `protobuf:"bytes,6,opt,name=mean_count,json=meanCount,proto3" json:"mean_count,omitempty"` + MeanCount *_struct.Value `protobuf:"bytes,6,opt,name=mean_count,json=meanCount,proto3" json:"mean_count,omitempty"` // Worker-computed aggregate value for the "Set" aggregation kind. The only // possible value type is a list of Values whose type can be Long, Double, // or String, according to the metric's type. All Values in the list must // be of the same type. - Set *structpb.Value `protobuf:"bytes,7,opt,name=set,proto3" json:"set,omitempty"` + Set *_struct.Value `protobuf:"bytes,7,opt,name=set,proto3" json:"set,omitempty"` // A struct value describing properties of a distribution of numeric values. - Distribution *structpb.Value `protobuf:"bytes,11,opt,name=distribution,proto3" json:"distribution,omitempty"` + Distribution *_struct.Value `protobuf:"bytes,11,opt,name=distribution,proto3" json:"distribution,omitempty"` // A struct value describing properties of a Gauge. // Metrics of gauge type show the value of a metric across time, and is // aggregated based on the newest value. - Gauge *structpb.Value `protobuf:"bytes,12,opt,name=gauge,proto3" json:"gauge,omitempty"` + Gauge *_struct.Value `protobuf:"bytes,12,opt,name=gauge,proto3" json:"gauge,omitempty"` // Worker-computed aggregate value for internal use by the Dataflow // service. - Internal *structpb.Value `protobuf:"bytes,8,opt,name=internal,proto3" json:"internal,omitempty"` + Internal *_struct.Value `protobuf:"bytes,8,opt,name=internal,proto3" json:"internal,omitempty"` // Timestamp associated with the metric value. Optional when workers are // reporting work progress; it will be filled in responses from the // metrics API. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *MetricUpdate) Reset() { @@ -287,56 +287,56 @@ func (x *MetricUpdate) GetCumulative() bool { return false } -func (x *MetricUpdate) GetScalar() *structpb.Value { +func (x *MetricUpdate) GetScalar() *_struct.Value { if x != nil { return x.Scalar } return nil } -func (x *MetricUpdate) GetMeanSum() *structpb.Value { +func (x *MetricUpdate) GetMeanSum() *_struct.Value { if x != nil { return x.MeanSum } return nil } -func (x *MetricUpdate) GetMeanCount() *structpb.Value { +func (x *MetricUpdate) GetMeanCount() *_struct.Value { if x != nil { return x.MeanCount } return nil } -func (x *MetricUpdate) GetSet() *structpb.Value { +func (x *MetricUpdate) GetSet() *_struct.Value { if x != nil { return x.Set } return nil } -func (x *MetricUpdate) GetDistribution() *structpb.Value { +func (x *MetricUpdate) GetDistribution() *_struct.Value { if x != nil { return x.Distribution } return nil } -func (x *MetricUpdate) GetGauge() *structpb.Value { +func (x *MetricUpdate) GetGauge() *_struct.Value { if x != nil { return x.Gauge } return nil } -func (x *MetricUpdate) GetInternal() *structpb.Value { +func (x *MetricUpdate) GetInternal() *_struct.Value { if x != nil { return x.Internal } return nil } -func (x *MetricUpdate) GetUpdateTime() *timestamppb.Timestamp { +func (x *MetricUpdate) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -355,7 +355,7 @@ type GetJobMetricsRequest struct { JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Return only metric data that has changed since this time. // Default is to return all information about all metrics for the job. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that // contains the job specified by job_id. @@ -408,7 +408,7 @@ func (x *GetJobMetricsRequest) GetJobId() string { return "" } -func (x *GetJobMetricsRequest) GetStartTime() *timestamppb.Timestamp { +func (x *GetJobMetricsRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -435,7 +435,7 @@ type JobMetrics struct { unknownFields protoimpl.UnknownFields // Timestamp as of which metric values are current. - MetricTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=metric_time,json=metricTime,proto3" json:"metric_time,omitempty"` + MetricTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=metric_time,json=metricTime,proto3" json:"metric_time,omitempty"` // All metrics for this job. Metrics []*MetricUpdate `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` } @@ -472,7 +472,7 @@ func (*JobMetrics) Descriptor() ([]byte, []int) { return file_google_dataflow_v1beta3_metrics_proto_rawDescGZIP(), []int{3} } -func (x *JobMetrics) GetMetricTime() *timestamppb.Timestamp { +func (x *JobMetrics) GetMetricTime() *timestamp.Timestamp { if x != nil { return x.MetricTime } @@ -648,12 +648,12 @@ type StageSummary struct { // State of this stage. State ExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=google.dataflow.v1beta3.ExecutionState" json:"state,omitempty"` // Start time of this stage. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time of this stage. // // If the work item is completed, this is the actual end time of the stage. // Otherwise, it is the predicted end time. - EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Progress for this stage. // Only applicable to Batch jobs. Progress *ProgressTimeseries `protobuf:"bytes,5,opt,name=progress,proto3" json:"progress,omitempty"` @@ -707,14 +707,14 @@ func (x *StageSummary) GetState() ExecutionState { return ExecutionState_EXECUTION_STATE_UNKNOWN } -func (x *StageSummary) GetStartTime() *timestamppb.Timestamp { +func (x *StageSummary) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *StageSummary) GetEndTime() *timestamppb.Timestamp { +func (x *StageSummary) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -821,9 +821,9 @@ type GetStageExecutionDetailsRequest struct { // be returned. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Lower time bound of work items to include, by start time. - StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Upper time bound of work items to include, by start time. - EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *GetStageExecutionDetailsRequest) Reset() { @@ -900,14 +900,14 @@ func (x *GetStageExecutionDetailsRequest) GetPageToken() string { return "" } -func (x *GetStageExecutionDetailsRequest) GetStartTime() *timestamppb.Timestamp { +func (x *GetStageExecutionDetailsRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *GetStageExecutionDetailsRequest) GetEndTime() *timestamppb.Timestamp { +func (x *GetStageExecutionDetailsRequest) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -925,12 +925,12 @@ type WorkItemDetails struct { // Attempt ID of this work item AttemptId string `protobuf:"bytes,2,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` // Start time of this work item attempt. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time of this work item attempt. // // If the work item is completed, this is the actual end time of the work // item. Otherwise, it is the predicted end time. - EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // State of this work item. State ExecutionState `protobuf:"varint,5,opt,name=state,proto3,enum=google.dataflow.v1beta3.ExecutionState" json:"state,omitempty"` // Progress of this work item. @@ -985,14 +985,14 @@ func (x *WorkItemDetails) GetAttemptId() string { return "" } -func (x *WorkItemDetails) GetStartTime() *timestamppb.Timestamp { +func (x *WorkItemDetails) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *WorkItemDetails) GetEndTime() *timestamppb.Timestamp { +func (x *WorkItemDetails) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1145,7 +1145,7 @@ type ProgressTimeseries_Point struct { unknownFields protoimpl.UnknownFields // The timestamp of the point. - Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` + Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // The value of the point. Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` } @@ -1182,7 +1182,7 @@ func (*ProgressTimeseries_Point) Descriptor() ([]byte, []int) { return file_google_dataflow_v1beta3_metrics_proto_rawDescGZIP(), []int{5, 0} } -func (x *ProgressTimeseries_Point) GetTime() *timestamppb.Timestamp { +func (x *ProgressTimeseries_Point) GetTime() *timestamp.Timestamp { if x != nil { return x.Time } @@ -1510,8 +1510,8 @@ var file_google_dataflow_v1beta3_metrics_proto_goTypes = []interface{}{ (*StageExecutionDetails)(nil), // 12: google.dataflow.v1beta3.StageExecutionDetails nil, // 13: google.dataflow.v1beta3.MetricStructuredName.ContextEntry (*ProgressTimeseries_Point)(nil), // 14: google.dataflow.v1beta3.ProgressTimeseries.Point - (*structpb.Value)(nil), // 15: google.protobuf.Value - (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp + (*_struct.Value)(nil), // 15: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 16: google.protobuf.Timestamp } var file_google_dataflow_v1beta3_metrics_proto_depIdxs = []int32{ 13, // 0: google.dataflow.v1beta3.MetricStructuredName.context:type_name -> google.dataflow.v1beta3.MetricStructuredName.ContextEntry diff --git a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go index 1f070df1cbd..282b4be5a1c 100644 --- a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/snapshots.proto package dataflowpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -119,7 +119,7 @@ type PubsubSnapshotMetadata struct { // The name of the Pubsub snapshot. SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` // The expire time of the Pubsub snapshot. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` } func (x *PubsubSnapshotMetadata) Reset() { @@ -168,7 +168,7 @@ func (x *PubsubSnapshotMetadata) GetSnapshotName() string { return "" } -func (x *PubsubSnapshotMetadata) GetExpireTime() *timestamppb.Timestamp { +func (x *PubsubSnapshotMetadata) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -188,9 +188,9 @@ type Snapshot struct { // The job this snapshot was created from. SourceJobId string `protobuf:"bytes,3,opt,name=source_job_id,json=sourceJobId,proto3" json:"source_job_id,omitempty"` // The time this snapshot was created. - CreationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` + CreationTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // The time after which this snapshot will be automatically deleted. - Ttl *durationpb.Duration `protobuf:"bytes,5,opt,name=ttl,proto3" json:"ttl,omitempty"` + Ttl *duration.Duration `protobuf:"bytes,5,opt,name=ttl,proto3" json:"ttl,omitempty"` // State of the snapshot. State SnapshotState `protobuf:"varint,6,opt,name=state,proto3,enum=google.dataflow.v1beta3.SnapshotState" json:"state,omitempty"` // Pub/Sub snapshot metadata. @@ -257,14 +257,14 @@ func (x *Snapshot) GetSourceJobId() string { return "" } -func (x *Snapshot) GetCreationTime() *timestamppb.Timestamp { +func (x *Snapshot) GetCreationTime() *timestamp.Timestamp { if x != nil { return x.CreationTime } return nil } -func (x *Snapshot) GetTtl() *durationpb.Duration { +func (x *Snapshot) GetTtl() *duration.Duration { if x != nil { return x.Ttl } @@ -785,8 +785,8 @@ var file_google_dataflow_v1beta3_snapshots_proto_goTypes = []interface{}{ (*DeleteSnapshotResponse)(nil), // 5: google.dataflow.v1beta3.DeleteSnapshotResponse (*ListSnapshotsRequest)(nil), // 6: google.dataflow.v1beta3.ListSnapshotsRequest (*ListSnapshotsResponse)(nil), // 7: google.dataflow.v1beta3.ListSnapshotsResponse - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*duration.Duration)(nil), // 9: google.protobuf.Duration } var file_google_dataflow_v1beta3_snapshots_proto_depIdxs = []int32{ 8, // 0: google.dataflow.v1beta3.PubsubSnapshotMetadata.expire_time:type_name -> google.protobuf.Timestamp diff --git a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go index 04324c9174c..ed9268779ea 100644 --- a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/streaming.proto package dataflowpb diff --git a/dataflow/apiv1beta3/dataflowpb/templates.pb.go b/dataflow/apiv1beta3/dataflowpb/templates.pb.go index 4a333110e81..3c6a7b2dd32 100644 --- a/dataflow/apiv1beta3/dataflowpb/templates.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/templates.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/dataflow/v1beta3/templates.proto package dataflowpb diff --git a/dataform/apiv1alpha2/dataformpb/dataform.pb.go b/dataform/apiv1alpha2/dataformpb/dataform.pb.go index 5bd02a4a653..a8a322905a3 100644 --- a/dataform/apiv1alpha2/dataformpb/dataform.pb.go +++ b/dataform/apiv1alpha2/dataformpb/dataform.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dataform/v1alpha2/dataform.proto package dataformpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -706,7 +706,7 @@ type UpdateRepositoryRequest struct { // Optional. Specifies the fields to be updated in the repository. If left unset, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The repository to update. Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` } @@ -743,7 +743,7 @@ func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int) { return file_google_cloud_dataform_v1alpha2_dataform_proto_rawDescGZIP(), []int{5} } -func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateRepositoryRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -7025,9 +7025,9 @@ var file_google_cloud_dataform_v1alpha2_dataform_proto_goTypes = []interface{}{ nil, // 80: google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.AdditionalOptionsEntry (*WorkflowInvocation_InvocationConfig)(nil), // 81: google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig (*WorkflowInvocationAction_BigQueryAction)(nil), // 82: google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - (*fieldmaskpb.FieldMask)(nil), // 83: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 83: google.protobuf.FieldMask (*interval.Interval)(nil), // 84: google.type.Interval - (*emptypb.Empty)(nil), // 85: google.protobuf.Empty + (*empty.Empty)(nil), // 85: google.protobuf.Empty } var file_google_cloud_dataform_v1alpha2_dataform_proto_depIdxs = []int32{ 67, // 0: google.cloud.dataform.v1alpha2.Repository.git_remote_settings:type_name -> google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings @@ -8123,7 +8123,7 @@ type DataformClient interface { // Updates a single Repository. UpdateRepository(ctx context.Context, in *UpdateRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) // Deletes a single Repository. - DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Fetches a Repository's remote branches. FetchRemoteBranches(ctx context.Context, in *FetchRemoteBranchesRequest, opts ...grpc.CallOption) (*FetchRemoteBranchesResponse, error) // Lists Workspaces in a given Repository. @@ -8133,21 +8133,21 @@ type DataformClient interface { // Creates a new Workspace in a given Repository. CreateWorkspace(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error) // Deletes a single Workspace. - DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Installs dependency NPM packages (inside a Workspace). InstallNpmPackages(ctx context.Context, in *InstallNpmPackagesRequest, opts ...grpc.CallOption) (*InstallNpmPackagesResponse, error) // Pulls Git commits from the Repository's remote into a Workspace. - PullGitCommits(ctx context.Context, in *PullGitCommitsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + PullGitCommits(ctx context.Context, in *PullGitCommitsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Pushes Git commits from a Workspace to the Repository's remote. - PushGitCommits(ctx context.Context, in *PushGitCommitsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + PushGitCommits(ctx context.Context, in *PushGitCommitsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Fetches Git statuses for the files in a Workspace. FetchFileGitStatuses(ctx context.Context, in *FetchFileGitStatusesRequest, opts ...grpc.CallOption) (*FetchFileGitStatusesResponse, error) // Fetches Git ahead/behind against a remote branch. FetchGitAheadBehind(ctx context.Context, in *FetchGitAheadBehindRequest, opts ...grpc.CallOption) (*FetchGitAheadBehindResponse, error) // Applies a Git commit for uncommitted files in a Workspace. - CommitWorkspaceChanges(ctx context.Context, in *CommitWorkspaceChangesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CommitWorkspaceChanges(ctx context.Context, in *CommitWorkspaceChangesRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Performs a Git reset for uncommitted files in a Workspace. - ResetWorkspaceChanges(ctx context.Context, in *ResetWorkspaceChangesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResetWorkspaceChanges(ctx context.Context, in *ResetWorkspaceChangesRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Fetches Git diff for an uncommitted file in a Workspace. FetchFileDiff(ctx context.Context, in *FetchFileDiffRequest, opts ...grpc.CallOption) (*FetchFileDiffResponse, error) // Returns the contents of a given Workspace directory. @@ -8155,14 +8155,14 @@ type DataformClient interface { // Creates a directory inside a Workspace. MakeDirectory(ctx context.Context, in *MakeDirectoryRequest, opts ...grpc.CallOption) (*MakeDirectoryResponse, error) // Deletes a directory (inside a Workspace) and all of its contents. - RemoveDirectory(ctx context.Context, in *RemoveDirectoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + RemoveDirectory(ctx context.Context, in *RemoveDirectoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Moves a directory (inside a Workspace), and all of its contents, to a new // location. MoveDirectory(ctx context.Context, in *MoveDirectoryRequest, opts ...grpc.CallOption) (*MoveDirectoryResponse, error) // Returns the contents of a file (inside a Workspace). ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error) // Deletes a file (inside a Workspace). - RemoveFile(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + RemoveFile(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Moves a file (inside a Workspace) to a new location. MoveFile(ctx context.Context, in *MoveFileRequest, opts ...grpc.CallOption) (*MoveFileResponse, error) // Writes to a file (inside a Workspace). @@ -8182,9 +8182,9 @@ type DataformClient interface { // Creates a new WorkflowInvocation in a given Repository. CreateWorkflowInvocation(ctx context.Context, in *CreateWorkflowInvocationRequest, opts ...grpc.CallOption) (*WorkflowInvocation, error) // Deletes a single WorkflowInvocation. - DeleteWorkflowInvocation(ctx context.Context, in *DeleteWorkflowInvocationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteWorkflowInvocation(ctx context.Context, in *DeleteWorkflowInvocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Requests cancellation of a running WorkflowInvocation. - CancelWorkflowInvocation(ctx context.Context, in *CancelWorkflowInvocationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CancelWorkflowInvocation(ctx context.Context, in *CancelWorkflowInvocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns WorkflowInvocationActions in a given WorkflowInvocation. QueryWorkflowInvocationActions(ctx context.Context, in *QueryWorkflowInvocationActionsRequest, opts ...grpc.CallOption) (*QueryWorkflowInvocationActionsResponse, error) } @@ -8233,8 +8233,8 @@ func (c *dataformClient) UpdateRepository(ctx context.Context, in *UpdateReposit return out, nil } -func (c *dataformClient) DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/DeleteRepository", in, out, opts...) if err != nil { return nil, err @@ -8278,8 +8278,8 @@ func (c *dataformClient) CreateWorkspace(ctx context.Context, in *CreateWorkspac return out, nil } -func (c *dataformClient) DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/DeleteWorkspace", in, out, opts...) if err != nil { return nil, err @@ -8296,8 +8296,8 @@ func (c *dataformClient) InstallNpmPackages(ctx context.Context, in *InstallNpmP return out, nil } -func (c *dataformClient) PullGitCommits(ctx context.Context, in *PullGitCommitsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) PullGitCommits(ctx context.Context, in *PullGitCommitsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/PullGitCommits", in, out, opts...) if err != nil { return nil, err @@ -8305,8 +8305,8 @@ func (c *dataformClient) PullGitCommits(ctx context.Context, in *PullGitCommitsR return out, nil } -func (c *dataformClient) PushGitCommits(ctx context.Context, in *PushGitCommitsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) PushGitCommits(ctx context.Context, in *PushGitCommitsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/PushGitCommits", in, out, opts...) if err != nil { return nil, err @@ -8332,8 +8332,8 @@ func (c *dataformClient) FetchGitAheadBehind(ctx context.Context, in *FetchGitAh return out, nil } -func (c *dataformClient) CommitWorkspaceChanges(ctx context.Context, in *CommitWorkspaceChangesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) CommitWorkspaceChanges(ctx context.Context, in *CommitWorkspaceChangesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/CommitWorkspaceChanges", in, out, opts...) if err != nil { return nil, err @@ -8341,8 +8341,8 @@ func (c *dataformClient) CommitWorkspaceChanges(ctx context.Context, in *CommitW return out, nil } -func (c *dataformClient) ResetWorkspaceChanges(ctx context.Context, in *ResetWorkspaceChangesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) ResetWorkspaceChanges(ctx context.Context, in *ResetWorkspaceChangesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/ResetWorkspaceChanges", in, out, opts...) if err != nil { return nil, err @@ -8377,8 +8377,8 @@ func (c *dataformClient) MakeDirectory(ctx context.Context, in *MakeDirectoryReq return out, nil } -func (c *dataformClient) RemoveDirectory(ctx context.Context, in *RemoveDirectoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) RemoveDirectory(ctx context.Context, in *RemoveDirectoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/RemoveDirectory", in, out, opts...) if err != nil { return nil, err @@ -8404,8 +8404,8 @@ func (c *dataformClient) ReadFile(ctx context.Context, in *ReadFileRequest, opts return out, nil } -func (c *dataformClient) RemoveFile(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) RemoveFile(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/RemoveFile", in, out, opts...) if err != nil { return nil, err @@ -8494,8 +8494,8 @@ func (c *dataformClient) CreateWorkflowInvocation(ctx context.Context, in *Creat return out, nil } -func (c *dataformClient) DeleteWorkflowInvocation(ctx context.Context, in *DeleteWorkflowInvocationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) DeleteWorkflowInvocation(ctx context.Context, in *DeleteWorkflowInvocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/DeleteWorkflowInvocation", in, out, opts...) if err != nil { return nil, err @@ -8503,8 +8503,8 @@ func (c *dataformClient) DeleteWorkflowInvocation(ctx context.Context, in *Delet return out, nil } -func (c *dataformClient) CancelWorkflowInvocation(ctx context.Context, in *CancelWorkflowInvocationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataformClient) CancelWorkflowInvocation(ctx context.Context, in *CancelWorkflowInvocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dataform.v1alpha2.Dataform/CancelWorkflowInvocation", in, out, opts...) if err != nil { return nil, err @@ -8532,7 +8532,7 @@ type DataformServer interface { // Updates a single Repository. UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error) // Deletes a single Repository. - DeleteRepository(context.Context, *DeleteRepositoryRequest) (*emptypb.Empty, error) + DeleteRepository(context.Context, *DeleteRepositoryRequest) (*empty.Empty, error) // Fetches a Repository's remote branches. FetchRemoteBranches(context.Context, *FetchRemoteBranchesRequest) (*FetchRemoteBranchesResponse, error) // Lists Workspaces in a given Repository. @@ -8542,21 +8542,21 @@ type DataformServer interface { // Creates a new Workspace in a given Repository. CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error) // Deletes a single Workspace. - DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*emptypb.Empty, error) + DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*empty.Empty, error) // Installs dependency NPM packages (inside a Workspace). InstallNpmPackages(context.Context, *InstallNpmPackagesRequest) (*InstallNpmPackagesResponse, error) // Pulls Git commits from the Repository's remote into a Workspace. - PullGitCommits(context.Context, *PullGitCommitsRequest) (*emptypb.Empty, error) + PullGitCommits(context.Context, *PullGitCommitsRequest) (*empty.Empty, error) // Pushes Git commits from a Workspace to the Repository's remote. - PushGitCommits(context.Context, *PushGitCommitsRequest) (*emptypb.Empty, error) + PushGitCommits(context.Context, *PushGitCommitsRequest) (*empty.Empty, error) // Fetches Git statuses for the files in a Workspace. FetchFileGitStatuses(context.Context, *FetchFileGitStatusesRequest) (*FetchFileGitStatusesResponse, error) // Fetches Git ahead/behind against a remote branch. FetchGitAheadBehind(context.Context, *FetchGitAheadBehindRequest) (*FetchGitAheadBehindResponse, error) // Applies a Git commit for uncommitted files in a Workspace. - CommitWorkspaceChanges(context.Context, *CommitWorkspaceChangesRequest) (*emptypb.Empty, error) + CommitWorkspaceChanges(context.Context, *CommitWorkspaceChangesRequest) (*empty.Empty, error) // Performs a Git reset for uncommitted files in a Workspace. - ResetWorkspaceChanges(context.Context, *ResetWorkspaceChangesRequest) (*emptypb.Empty, error) + ResetWorkspaceChanges(context.Context, *ResetWorkspaceChangesRequest) (*empty.Empty, error) // Fetches Git diff for an uncommitted file in a Workspace. FetchFileDiff(context.Context, *FetchFileDiffRequest) (*FetchFileDiffResponse, error) // Returns the contents of a given Workspace directory. @@ -8564,14 +8564,14 @@ type DataformServer interface { // Creates a directory inside a Workspace. MakeDirectory(context.Context, *MakeDirectoryRequest) (*MakeDirectoryResponse, error) // Deletes a directory (inside a Workspace) and all of its contents. - RemoveDirectory(context.Context, *RemoveDirectoryRequest) (*emptypb.Empty, error) + RemoveDirectory(context.Context, *RemoveDirectoryRequest) (*empty.Empty, error) // Moves a directory (inside a Workspace), and all of its contents, to a new // location. MoveDirectory(context.Context, *MoveDirectoryRequest) (*MoveDirectoryResponse, error) // Returns the contents of a file (inside a Workspace). ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) // Deletes a file (inside a Workspace). - RemoveFile(context.Context, *RemoveFileRequest) (*emptypb.Empty, error) + RemoveFile(context.Context, *RemoveFileRequest) (*empty.Empty, error) // Moves a file (inside a Workspace) to a new location. MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error) // Writes to a file (inside a Workspace). @@ -8591,9 +8591,9 @@ type DataformServer interface { // Creates a new WorkflowInvocation in a given Repository. CreateWorkflowInvocation(context.Context, *CreateWorkflowInvocationRequest) (*WorkflowInvocation, error) // Deletes a single WorkflowInvocation. - DeleteWorkflowInvocation(context.Context, *DeleteWorkflowInvocationRequest) (*emptypb.Empty, error) + DeleteWorkflowInvocation(context.Context, *DeleteWorkflowInvocationRequest) (*empty.Empty, error) // Requests cancellation of a running WorkflowInvocation. - CancelWorkflowInvocation(context.Context, *CancelWorkflowInvocationRequest) (*emptypb.Empty, error) + CancelWorkflowInvocation(context.Context, *CancelWorkflowInvocationRequest) (*empty.Empty, error) // Returns WorkflowInvocationActions in a given WorkflowInvocation. QueryWorkflowInvocationActions(context.Context, *QueryWorkflowInvocationActionsRequest) (*QueryWorkflowInvocationActionsResponse, error) } @@ -8614,7 +8614,7 @@ func (*UnimplementedDataformServer) CreateRepository(context.Context, *CreateRep func (*UnimplementedDataformServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateRepository not implemented") } -func (*UnimplementedDataformServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteRepository not implemented") } func (*UnimplementedDataformServer) FetchRemoteBranches(context.Context, *FetchRemoteBranchesRequest) (*FetchRemoteBranchesResponse, error) { @@ -8629,16 +8629,16 @@ func (*UnimplementedDataformServer) GetWorkspace(context.Context, *GetWorkspaceR func (*UnimplementedDataformServer) CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWorkspace not implemented") } -func (*UnimplementedDataformServer) DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkspace not implemented") } func (*UnimplementedDataformServer) InstallNpmPackages(context.Context, *InstallNpmPackagesRequest) (*InstallNpmPackagesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InstallNpmPackages not implemented") } -func (*UnimplementedDataformServer) PullGitCommits(context.Context, *PullGitCommitsRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) PullGitCommits(context.Context, *PullGitCommitsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PullGitCommits not implemented") } -func (*UnimplementedDataformServer) PushGitCommits(context.Context, *PushGitCommitsRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) PushGitCommits(context.Context, *PushGitCommitsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PushGitCommits not implemented") } func (*UnimplementedDataformServer) FetchFileGitStatuses(context.Context, *FetchFileGitStatusesRequest) (*FetchFileGitStatusesResponse, error) { @@ -8647,10 +8647,10 @@ func (*UnimplementedDataformServer) FetchFileGitStatuses(context.Context, *Fetch func (*UnimplementedDataformServer) FetchGitAheadBehind(context.Context, *FetchGitAheadBehindRequest) (*FetchGitAheadBehindResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FetchGitAheadBehind not implemented") } -func (*UnimplementedDataformServer) CommitWorkspaceChanges(context.Context, *CommitWorkspaceChangesRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) CommitWorkspaceChanges(context.Context, *CommitWorkspaceChangesRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CommitWorkspaceChanges not implemented") } -func (*UnimplementedDataformServer) ResetWorkspaceChanges(context.Context, *ResetWorkspaceChangesRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) ResetWorkspaceChanges(context.Context, *ResetWorkspaceChangesRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetWorkspaceChanges not implemented") } func (*UnimplementedDataformServer) FetchFileDiff(context.Context, *FetchFileDiffRequest) (*FetchFileDiffResponse, error) { @@ -8662,7 +8662,7 @@ func (*UnimplementedDataformServer) QueryDirectoryContents(context.Context, *Que func (*UnimplementedDataformServer) MakeDirectory(context.Context, *MakeDirectoryRequest) (*MakeDirectoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MakeDirectory not implemented") } -func (*UnimplementedDataformServer) RemoveDirectory(context.Context, *RemoveDirectoryRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) RemoveDirectory(context.Context, *RemoveDirectoryRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveDirectory not implemented") } func (*UnimplementedDataformServer) MoveDirectory(context.Context, *MoveDirectoryRequest) (*MoveDirectoryResponse, error) { @@ -8671,7 +8671,7 @@ func (*UnimplementedDataformServer) MoveDirectory(context.Context, *MoveDirector func (*UnimplementedDataformServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReadFile not implemented") } -func (*UnimplementedDataformServer) RemoveFile(context.Context, *RemoveFileRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) RemoveFile(context.Context, *RemoveFileRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveFile not implemented") } func (*UnimplementedDataformServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error) { @@ -8701,10 +8701,10 @@ func (*UnimplementedDataformServer) GetWorkflowInvocation(context.Context, *GetW func (*UnimplementedDataformServer) CreateWorkflowInvocation(context.Context, *CreateWorkflowInvocationRequest) (*WorkflowInvocation, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowInvocation not implemented") } -func (*UnimplementedDataformServer) DeleteWorkflowInvocation(context.Context, *DeleteWorkflowInvocationRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) DeleteWorkflowInvocation(context.Context, *DeleteWorkflowInvocationRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowInvocation not implemented") } -func (*UnimplementedDataformServer) CancelWorkflowInvocation(context.Context, *CancelWorkflowInvocationRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataformServer) CancelWorkflowInvocation(context.Context, *CancelWorkflowInvocationRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelWorkflowInvocation not implemented") } func (*UnimplementedDataformServer) QueryWorkflowInvocationActions(context.Context, *QueryWorkflowInvocationActionsRequest) (*QueryWorkflowInvocationActionsResponse, error) { diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go index b615d511f3a..97ef1d12cae 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/annotation.proto package datalabelingpb @@ -25,9 +25,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -1311,10 +1311,10 @@ type TimeSegment struct { // Start of the time segment (inclusive), represented as the duration since // the example start. - StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` + StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` // End of the time segment (exclusive), represented as the duration since the // example start. - EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` + EndTimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` } func (x *TimeSegment) Reset() { @@ -1349,14 +1349,14 @@ func (*TimeSegment) Descriptor() ([]byte, []int) { return file_google_cloud_datalabeling_v1beta1_annotation_proto_rawDescGZIP(), []int{15} } -func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration { +func (x *TimeSegment) GetStartTimeOffset() *duration.Duration { if x != nil { return x.StartTimeOffset } return nil } -func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration { +func (x *TimeSegment) GetEndTimeOffset() *duration.Duration { if x != nil { return x.EndTimeOffset } @@ -1435,7 +1435,7 @@ type ObjectTrackingFrame struct { // *ObjectTrackingFrame_NormalizedBoundingPoly BoundedArea isObjectTrackingFrame_BoundedArea `protobuf_oneof:"bounded_area"` // The time offset of this frame relative to the beginning of the video. - TimeOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,3,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` } func (x *ObjectTrackingFrame) Reset() { @@ -1491,7 +1491,7 @@ func (x *ObjectTrackingFrame) GetNormalizedBoundingPoly() *NormalizedBoundingPol return nil } -func (x *ObjectTrackingFrame) GetTimeOffset() *durationpb.Duration { +func (x *ObjectTrackingFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -2207,7 +2207,7 @@ var file_google_cloud_datalabeling_v1beta1_annotation_proto_goTypes = []interfac (*OperatorMetadata)(nil), // 24: google.cloud.datalabeling.v1beta1.OperatorMetadata nil, // 25: google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry (*AnnotationSpec)(nil), // 26: google.cloud.datalabeling.v1beta1.AnnotationSpec - (*durationpb.Duration)(nil), // 27: google.protobuf.Duration + (*duration.Duration)(nil), // 27: google.protobuf.Duration } var file_google_cloud_datalabeling_v1beta1_annotation_proto_depIdxs = []int32{ 0, // 0: google.cloud.datalabeling.v1beta1.Annotation.annotation_source:type_name -> google.cloud.datalabeling.v1beta1.AnnotationSource diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go index 0b22ad8b378..09452211a6a 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/annotation_spec_set.proto package datalabelingpb diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go index 713dd08e9ba..7f0d6a5ffae 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/data_labeling_service.proto package datalabelingpb @@ -26,15 +26,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -2782,7 +2782,7 @@ type UpdateEvaluationJobRequest struct { // // You can provide more than one of these fields by separating them with // commas. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEvaluationJobRequest) Reset() { @@ -2824,7 +2824,7 @@ func (x *UpdateEvaluationJobRequest) GetEvaluationJob() *EvaluationJob { return nil } -func (x *UpdateEvaluationJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEvaluationJobRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -4390,8 +4390,8 @@ var file_google_cloud_datalabeling_v1beta1_data_labeling_service_proto_goTypes = (*Instruction)(nil), // 65: google.cloud.datalabeling.v1beta1.Instruction (*Evaluation)(nil), // 66: google.cloud.datalabeling.v1beta1.Evaluation (*EvaluationJob)(nil), // 67: google.cloud.datalabeling.v1beta1.EvaluationJob - (*fieldmaskpb.FieldMask)(nil), // 68: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 69: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 68: google.protobuf.FieldMask + (*empty.Empty)(nil), // 69: google.protobuf.Empty (*longrunning.Operation)(nil), // 70: google.longrunning.Operation } var file_google_cloud_datalabeling_v1beta1_data_labeling_service_proto_depIdxs = []int32{ @@ -5102,7 +5102,7 @@ type DataLabelingServiceClient interface { // Lists datasets under a project. Pagination is supported. ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) // Deletes a dataset by resource name. - DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Imports data into dataset based on source locations defined in request. // It can be called multiple times for the same dataset. Each dataset can // only have one long running operation running on it. For example, no @@ -5122,7 +5122,7 @@ type DataLabelingServiceClient interface { // Lists annotated datasets for a dataset. Pagination is supported. ListAnnotatedDatasets(ctx context.Context, in *ListAnnotatedDatasetsRequest, opts ...grpc.CallOption) (*ListAnnotatedDatasetsResponse, error) // Deletes an annotated dataset by resource name. - DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Starts a labeling task for image. The type of image labeling task is // configured by feature in the request. LabelImage(ctx context.Context, in *LabelImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) @@ -5143,7 +5143,7 @@ type DataLabelingServiceClient interface { // Lists annotation spec sets for a project. Pagination is supported. ListAnnotationSpecSets(ctx context.Context, in *ListAnnotationSpecSetsRequest, opts ...grpc.CallOption) (*ListAnnotationSpecSetsResponse, error) // Deletes an annotation spec set by resource name. - DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates an instruction for how data should be labeled. CreateInstruction(ctx context.Context, in *CreateInstructionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets an instruction by resource name. @@ -5151,7 +5151,7 @@ type DataLabelingServiceClient interface { // Lists instructions for a project. Pagination is supported. ListInstructions(ctx context.Context, in *ListInstructionsRequest, opts ...grpc.CallOption) (*ListInstructionsResponse, error) // Deletes an instruction object by resource name. - DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets an evaluation by resource name (to search, use // [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]). GetEvaluation(ctx context.Context, in *GetEvaluationRequest, opts ...grpc.CallOption) (*Evaluation, error) @@ -5174,12 +5174,12 @@ type DataLabelingServiceClient interface { GetEvaluationJob(ctx context.Context, in *GetEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) // Pauses an evaluation job. Pausing an evaluation job that is already in a // `PAUSED` state is a no-op. - PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Resumes a paused evaluation job. A deleted evaluation job can't be resumed. // Resuming a running or scheduled evaluation job is a no-op. - ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Stops and deletes an evaluation job. - DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all evaluation jobs within a project with possible filters. // Pagination is supported. ListEvaluationJobs(ctx context.Context, in *ListEvaluationJobsRequest, opts ...grpc.CallOption) (*ListEvaluationJobsResponse, error) @@ -5220,8 +5220,8 @@ func (c *dataLabelingServiceClient) ListDatasets(ctx context.Context, in *ListDa return out, nil } -func (c *dataLabelingServiceClient) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteDataset", in, out, opts...) if err != nil { return nil, err @@ -5283,8 +5283,8 @@ func (c *dataLabelingServiceClient) ListAnnotatedDatasets(ctx context.Context, i return out, nil } -func (c *dataLabelingServiceClient) DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteAnnotatedDataset", in, out, opts...) if err != nil { return nil, err @@ -5364,8 +5364,8 @@ func (c *dataLabelingServiceClient) ListAnnotationSpecSets(ctx context.Context, return out, nil } -func (c *dataLabelingServiceClient) DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteAnnotationSpecSet", in, out, opts...) if err != nil { return nil, err @@ -5400,8 +5400,8 @@ func (c *dataLabelingServiceClient) ListInstructions(ctx context.Context, in *Li return out, nil } -func (c *dataLabelingServiceClient) DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteInstruction", in, out, opts...) if err != nil { return nil, err @@ -5463,8 +5463,8 @@ func (c *dataLabelingServiceClient) GetEvaluationJob(ctx context.Context, in *Ge return out, nil } -func (c *dataLabelingServiceClient) PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/PauseEvaluationJob", in, out, opts...) if err != nil { return nil, err @@ -5472,8 +5472,8 @@ func (c *dataLabelingServiceClient) PauseEvaluationJob(ctx context.Context, in * return out, nil } -func (c *dataLabelingServiceClient) ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ResumeEvaluationJob", in, out, opts...) if err != nil { return nil, err @@ -5481,8 +5481,8 @@ func (c *dataLabelingServiceClient) ResumeEvaluationJob(ctx context.Context, in return out, nil } -func (c *dataLabelingServiceClient) DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *dataLabelingServiceClient) DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteEvaluationJob", in, out, opts...) if err != nil { return nil, err @@ -5508,7 +5508,7 @@ type DataLabelingServiceServer interface { // Lists datasets under a project. Pagination is supported. ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) // Deletes a dataset by resource name. - DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error) + DeleteDataset(context.Context, *DeleteDatasetRequest) (*empty.Empty, error) // Imports data into dataset based on source locations defined in request. // It can be called multiple times for the same dataset. Each dataset can // only have one long running operation running on it. For example, no @@ -5528,7 +5528,7 @@ type DataLabelingServiceServer interface { // Lists annotated datasets for a dataset. Pagination is supported. ListAnnotatedDatasets(context.Context, *ListAnnotatedDatasetsRequest) (*ListAnnotatedDatasetsResponse, error) // Deletes an annotated dataset by resource name. - DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*emptypb.Empty, error) + DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*empty.Empty, error) // Starts a labeling task for image. The type of image labeling task is // configured by feature in the request. LabelImage(context.Context, *LabelImageRequest) (*longrunning.Operation, error) @@ -5549,7 +5549,7 @@ type DataLabelingServiceServer interface { // Lists annotation spec sets for a project. Pagination is supported. ListAnnotationSpecSets(context.Context, *ListAnnotationSpecSetsRequest) (*ListAnnotationSpecSetsResponse, error) // Deletes an annotation spec set by resource name. - DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*emptypb.Empty, error) + DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*empty.Empty, error) // Creates an instruction for how data should be labeled. CreateInstruction(context.Context, *CreateInstructionRequest) (*longrunning.Operation, error) // Gets an instruction by resource name. @@ -5557,7 +5557,7 @@ type DataLabelingServiceServer interface { // Lists instructions for a project. Pagination is supported. ListInstructions(context.Context, *ListInstructionsRequest) (*ListInstructionsResponse, error) // Deletes an instruction object by resource name. - DeleteInstruction(context.Context, *DeleteInstructionRequest) (*emptypb.Empty, error) + DeleteInstruction(context.Context, *DeleteInstructionRequest) (*empty.Empty, error) // Gets an evaluation by resource name (to search, use // [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]). GetEvaluation(context.Context, *GetEvaluationRequest) (*Evaluation, error) @@ -5580,12 +5580,12 @@ type DataLabelingServiceServer interface { GetEvaluationJob(context.Context, *GetEvaluationJobRequest) (*EvaluationJob, error) // Pauses an evaluation job. Pausing an evaluation job that is already in a // `PAUSED` state is a no-op. - PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*emptypb.Empty, error) + PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*empty.Empty, error) // Resumes a paused evaluation job. A deleted evaluation job can't be resumed. // Resuming a running or scheduled evaluation job is a no-op. - ResumeEvaluationJob(context.Context, *ResumeEvaluationJobRequest) (*emptypb.Empty, error) + ResumeEvaluationJob(context.Context, *ResumeEvaluationJobRequest) (*empty.Empty, error) // Stops and deletes an evaluation job. - DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*emptypb.Empty, error) + DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*empty.Empty, error) // Lists all evaluation jobs within a project with possible filters. // Pagination is supported. ListEvaluationJobs(context.Context, *ListEvaluationJobsRequest) (*ListEvaluationJobsResponse, error) @@ -5604,7 +5604,7 @@ func (*UnimplementedDataLabelingServiceServer) GetDataset(context.Context, *GetD func (*UnimplementedDataLabelingServiceServer) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") } -func (*UnimplementedDataLabelingServiceServer) DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) DeleteDataset(context.Context, *DeleteDatasetRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDataset not implemented") } func (*UnimplementedDataLabelingServiceServer) ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) { @@ -5625,7 +5625,7 @@ func (*UnimplementedDataLabelingServiceServer) GetAnnotatedDataset(context.Conte func (*UnimplementedDataLabelingServiceServer) ListAnnotatedDatasets(context.Context, *ListAnnotatedDatasetsRequest) (*ListAnnotatedDatasetsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAnnotatedDatasets not implemented") } -func (*UnimplementedDataLabelingServiceServer) DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnotatedDataset not implemented") } func (*UnimplementedDataLabelingServiceServer) LabelImage(context.Context, *LabelImageRequest) (*longrunning.Operation, error) { @@ -5652,7 +5652,7 @@ func (*UnimplementedDataLabelingServiceServer) GetAnnotationSpecSet(context.Cont func (*UnimplementedDataLabelingServiceServer) ListAnnotationSpecSets(context.Context, *ListAnnotationSpecSetsRequest) (*ListAnnotationSpecSetsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAnnotationSpecSets not implemented") } -func (*UnimplementedDataLabelingServiceServer) DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnotationSpecSet not implemented") } func (*UnimplementedDataLabelingServiceServer) CreateInstruction(context.Context, *CreateInstructionRequest) (*longrunning.Operation, error) { @@ -5664,7 +5664,7 @@ func (*UnimplementedDataLabelingServiceServer) GetInstruction(context.Context, * func (*UnimplementedDataLabelingServiceServer) ListInstructions(context.Context, *ListInstructionsRequest) (*ListInstructionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListInstructions not implemented") } -func (*UnimplementedDataLabelingServiceServer) DeleteInstruction(context.Context, *DeleteInstructionRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) DeleteInstruction(context.Context, *DeleteInstructionRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteInstruction not implemented") } func (*UnimplementedDataLabelingServiceServer) GetEvaluation(context.Context, *GetEvaluationRequest) (*Evaluation, error) { @@ -5685,13 +5685,13 @@ func (*UnimplementedDataLabelingServiceServer) UpdateEvaluationJob(context.Conte func (*UnimplementedDataLabelingServiceServer) GetEvaluationJob(context.Context, *GetEvaluationJobRequest) (*EvaluationJob, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEvaluationJob not implemented") } -func (*UnimplementedDataLabelingServiceServer) PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PauseEvaluationJob not implemented") } -func (*UnimplementedDataLabelingServiceServer) ResumeEvaluationJob(context.Context, *ResumeEvaluationJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) ResumeEvaluationJob(context.Context, *ResumeEvaluationJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResumeEvaluationJob not implemented") } -func (*UnimplementedDataLabelingServiceServer) DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedDataLabelingServiceServer) DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteEvaluationJob not implemented") } func (*UnimplementedDataLabelingServiceServer) ListEvaluationJobs(context.Context, *ListEvaluationJobsRequest) (*ListEvaluationJobsResponse, error) { diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go index f3a7009db87..16c4966982d 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/data_payloads.proto package datalabelingpb @@ -25,9 +25,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -172,7 +172,7 @@ type VideoThumbnail struct { Thumbnail []byte `protobuf:"bytes,1,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` // Time offset relative to the beginning of the video, corresponding to the // video frame where the thumbnail has been extracted from. - TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` } func (x *VideoThumbnail) Reset() { @@ -214,7 +214,7 @@ func (x *VideoThumbnail) GetThumbnail() []byte { return nil } -func (x *VideoThumbnail) GetTimeOffset() *durationpb.Duration { +func (x *VideoThumbnail) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -382,11 +382,11 @@ func file_google_cloud_datalabeling_v1beta1_data_payloads_proto_rawDescGZIP() [] var file_google_cloud_datalabeling_v1beta1_data_payloads_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_google_cloud_datalabeling_v1beta1_data_payloads_proto_goTypes = []interface{}{ - (*ImagePayload)(nil), // 0: google.cloud.datalabeling.v1beta1.ImagePayload - (*TextPayload)(nil), // 1: google.cloud.datalabeling.v1beta1.TextPayload - (*VideoThumbnail)(nil), // 2: google.cloud.datalabeling.v1beta1.VideoThumbnail - (*VideoPayload)(nil), // 3: google.cloud.datalabeling.v1beta1.VideoPayload - (*durationpb.Duration)(nil), // 4: google.protobuf.Duration + (*ImagePayload)(nil), // 0: google.cloud.datalabeling.v1beta1.ImagePayload + (*TextPayload)(nil), // 1: google.cloud.datalabeling.v1beta1.TextPayload + (*VideoThumbnail)(nil), // 2: google.cloud.datalabeling.v1beta1.VideoThumbnail + (*VideoPayload)(nil), // 3: google.cloud.datalabeling.v1beta1.VideoPayload + (*duration.Duration)(nil), // 4: google.protobuf.Duration } var file_google_cloud_datalabeling_v1beta1_data_payloads_proto_depIdxs = []int32{ 4, // 0: google.cloud.datalabeling.v1beta1.VideoThumbnail.time_offset:type_name -> google.protobuf.Duration diff --git a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go index 6fa856d7906..1a779c21043 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/dataset.proto package datalabelingpb @@ -25,10 +25,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -112,7 +112,7 @@ type Dataset struct { // The description can be up to 10000 characters long. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. Time the dataset is created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. This is populated with the original input configs // where ImportData is called. It is available only after the clients // import data to this dataset. @@ -177,7 +177,7 @@ func (x *Dataset) GetDescription() string { return "" } -func (x *Dataset) GetCreateTime() *timestamppb.Timestamp { +func (x *Dataset) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -919,7 +919,7 @@ type AnnotatedDataset struct { // Output only. Per label statistics. LabelStats *LabelStats `protobuf:"bytes,6,opt,name=label_stats,json=labelStats,proto3" json:"label_stats,omitempty"` // Output only. Time the AnnotatedDataset was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Additional information about AnnotatedDataset. Metadata *AnnotatedDatasetMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"` // Output only. The names of any related resources that are blocking changes @@ -1015,7 +1015,7 @@ func (x *AnnotatedDataset) GetLabelStats() *LabelStats { return nil } -func (x *AnnotatedDataset) GetCreateTime() *timestamppb.Timestamp { +func (x *AnnotatedDataset) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1821,7 +1821,7 @@ var file_google_cloud_datalabeling_v1beta1_dataset_proto_goTypes = []interface{} (*AnnotatedDatasetMetadata)(nil), // 13: google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata (*Example)(nil), // 14: google.cloud.datalabeling.v1beta1.Example nil, // 15: google.cloud.datalabeling.v1beta1.LabelStats.ExampleCountEntry - (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 16: google.protobuf.Timestamp (AnnotationType)(0), // 17: google.cloud.datalabeling.v1beta1.AnnotationType (*ImagePayload)(nil), // 18: google.cloud.datalabeling.v1beta1.ImagePayload (*TextPayload)(nil), // 19: google.cloud.datalabeling.v1beta1.TextPayload diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go index 0270f308355..3c52cb62286 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/evaluation.proto package datalabelingpb @@ -25,10 +25,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -55,9 +55,9 @@ type Evaluation struct { Config *EvaluationConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Output only. Timestamp for when the evaluation job that created this // evaluation ran. - EvaluationJobRunTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=evaluation_job_run_time,json=evaluationJobRunTime,proto3" json:"evaluation_job_run_time,omitempty"` + EvaluationJobRunTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=evaluation_job_run_time,json=evaluationJobRunTime,proto3" json:"evaluation_job_run_time,omitempty"` // Output only. Timestamp for when this evaluation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Metrics comparing predictions to ground truth labels. EvaluationMetrics *EvaluationMetrics `protobuf:"bytes,5,opt,name=evaluation_metrics,json=evaluationMetrics,proto3" json:"evaluation_metrics,omitempty"` // Output only. Type of task that the model version being evaluated performs, @@ -118,14 +118,14 @@ func (x *Evaluation) GetConfig() *EvaluationConfig { return nil } -func (x *Evaluation) GetEvaluationJobRunTime() *timestamppb.Timestamp { +func (x *Evaluation) GetEvaluationJobRunTime() *timestamp.Timestamp { if x != nil { return x.EvaluationJobRunTime } return nil } -func (x *Evaluation) GetCreateTime() *timestamppb.Timestamp { +func (x *Evaluation) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1080,7 +1080,7 @@ var file_google_cloud_datalabeling_v1beta1_evaluation_proto_goTypes = []interfac (*PrCurve_ConfidenceMetricsEntry)(nil), // 8: google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry (*ConfusionMatrix_ConfusionMatrixEntry)(nil), // 9: google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry (*ConfusionMatrix_Row)(nil), // 10: google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp (AnnotationType)(0), // 12: google.cloud.datalabeling.v1beta1.AnnotationType (*AnnotationSpec)(nil), // 13: google.cloud.datalabeling.v1beta1.AnnotationSpec } diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go index fc7626adb0e..74aeb8368ca 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/evaluation_job.proto package datalabelingpb @@ -25,11 +25,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -190,7 +190,7 @@ type EvaluationJob struct { // failed attempt is appended to this array. Attempts []*Attempt `protobuf:"bytes,9,rep,name=attempts,proto3" json:"attempts,omitempty"` // Output only. Timestamp of when this evaluation job was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *EvaluationJob) Reset() { @@ -288,7 +288,7 @@ func (x *EvaluationJob) GetAttempts() []*Attempt { return nil } -func (x *EvaluationJob) GetCreateTime() *timestamppb.Timestamp { +func (x *EvaluationJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -593,7 +593,7 @@ type Attempt struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AttemptTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=attempt_time,json=attemptTime,proto3" json:"attempt_time,omitempty"` + AttemptTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=attempt_time,json=attemptTime,proto3" json:"attempt_time,omitempty"` // Details of errors that occurred. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` } @@ -630,7 +630,7 @@ func (*Attempt) Descriptor() ([]byte, []int) { return file_google_cloud_datalabeling_v1beta1_evaluation_job_proto_rawDescGZIP(), []int{3} } -func (x *Attempt) GetAttemptTime() *timestamppb.Timestamp { +func (x *Attempt) GetAttemptTime() *timestamp.Timestamp { if x != nil { return x.AttemptTime } @@ -842,7 +842,7 @@ var file_google_cloud_datalabeling_v1beta1_evaluation_job_proto_goTypes = []inte (*EvaluationJobAlertConfig)(nil), // 3: google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig (*Attempt)(nil), // 4: google.cloud.datalabeling.v1beta1.Attempt nil, // 5: google.cloud.datalabeling.v1beta1.EvaluationJobConfig.BigqueryImportKeysEntry - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*ImageClassificationConfig)(nil), // 7: google.cloud.datalabeling.v1beta1.ImageClassificationConfig (*BoundingPolyConfig)(nil), // 8: google.cloud.datalabeling.v1beta1.BoundingPolyConfig (*TextClassificationConfig)(nil), // 9: google.cloud.datalabeling.v1beta1.TextClassificationConfig diff --git a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go index 99749c2e80c..b2ff8b7aab4 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/human_annotation_config.proto package datalabelingpb @@ -25,10 +25,10 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -124,7 +124,7 @@ type HumanAnnotationConfig struct { ReplicaCount int32 `protobuf:"varint,6,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"` // Optional. Maximum duration for contributors to answer a question. Maximum // is 3600 seconds. Default is 3600 seconds. - QuestionDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=question_duration,json=questionDuration,proto3" json:"question_duration,omitempty"` + QuestionDuration *duration.Duration `protobuf:"bytes,7,opt,name=question_duration,json=questionDuration,proto3" json:"question_duration,omitempty"` // Optional. If you want your own labeling contributors to manage and work on // this labeling request, you can set these contributors here. We will give // them access to the question types in crowdcompute. Note that these @@ -210,7 +210,7 @@ func (x *HumanAnnotationConfig) GetReplicaCount() int32 { return 0 } -func (x *HumanAnnotationConfig) GetQuestionDuration() *durationpb.Duration { +func (x *HumanAnnotationConfig) GetQuestionDuration() *duration.Duration { if x != nil { return x.QuestionDuration } @@ -1135,7 +1135,7 @@ var file_google_cloud_datalabeling_v1beta1_human_annotation_config_proto_goTypes (*SentimentConfig)(nil), // 11: google.cloud.datalabeling.v1beta1.SentimentConfig (*TextEntityExtractionConfig)(nil), // 12: google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig (*VideoClassificationConfig_AnnotationSpecSetConfig)(nil), // 13: google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig - (*durationpb.Duration)(nil), // 14: google.protobuf.Duration + (*duration.Duration)(nil), // 14: google.protobuf.Duration } var file_google_cloud_datalabeling_v1beta1_human_annotation_config_proto_depIdxs = []int32{ 14, // 0: google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.question_duration:type_name -> google.protobuf.Duration diff --git a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go index cdf9692a1b7..1e61dddefd8 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/instruction.proto package datalabelingpb @@ -25,10 +25,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -54,9 +54,9 @@ type Instruction struct { // The description can be up to 10000 characters long. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. Creation time of instruction. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Last update time of instruction. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. The data type of this instruction. DataType DataType `protobuf:"varint,6,opt,name=data_type,json=dataType,proto3,enum=google.cloud.datalabeling.v1beta1.DataType" json:"data_type,omitempty"` // Deprecated: this instruction format is not supported any more. @@ -129,14 +129,14 @@ func (x *Instruction) GetDescription() string { return "" } -func (x *Instruction) GetCreateTime() *timestamppb.Timestamp { +func (x *Instruction) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Instruction) GetUpdateTime() *timestamppb.Timestamp { +func (x *Instruction) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -364,11 +364,11 @@ func file_google_cloud_datalabeling_v1beta1_instruction_proto_rawDescGZIP() []by var file_google_cloud_datalabeling_v1beta1_instruction_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_google_cloud_datalabeling_v1beta1_instruction_proto_goTypes = []interface{}{ - (*Instruction)(nil), // 0: google.cloud.datalabeling.v1beta1.Instruction - (*CsvInstruction)(nil), // 1: google.cloud.datalabeling.v1beta1.CsvInstruction - (*PdfInstruction)(nil), // 2: google.cloud.datalabeling.v1beta1.PdfInstruction - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (DataType)(0), // 4: google.cloud.datalabeling.v1beta1.DataType + (*Instruction)(nil), // 0: google.cloud.datalabeling.v1beta1.Instruction + (*CsvInstruction)(nil), // 1: google.cloud.datalabeling.v1beta1.CsvInstruction + (*PdfInstruction)(nil), // 2: google.cloud.datalabeling.v1beta1.PdfInstruction + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp + (DataType)(0), // 4: google.cloud.datalabeling.v1beta1.DataType } var file_google_cloud_datalabeling_v1beta1_instruction_proto_depIdxs = []int32{ 3, // 0: google.cloud.datalabeling.v1beta1.Instruction.create_time:type_name -> google.protobuf.Timestamp diff --git a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go index ae66503e39a..ee6333d1947 100644 --- a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datalabeling/v1beta1/operations.proto package datalabelingpb @@ -25,10 +25,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -205,7 +205,7 @@ type ImportDataOperationMetadata struct { // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Output only. Timestamp when import dataset request was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *ImportDataOperationMetadata) Reset() { @@ -254,7 +254,7 @@ func (x *ImportDataOperationMetadata) GetPartialFailures() []*status.Status { return nil } -func (x *ImportDataOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ImportDataOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -275,7 +275,7 @@ type ExportDataOperationMetadata struct { // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Output only. Timestamp when export dataset request was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *ExportDataOperationMetadata) Reset() { @@ -324,7 +324,7 @@ func (x *ExportDataOperationMetadata) GetPartialFailures() []*status.Status { return nil } -func (x *ExportDataOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ExportDataOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -362,7 +362,7 @@ type LabelOperationMetadata struct { // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Output only. Timestamp when labeling request was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *LabelOperationMetadata) Reset() { @@ -502,7 +502,7 @@ func (x *LabelOperationMetadata) GetPartialFailures() []*status.Status { return nil } -func (x *LabelOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *LabelOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1199,7 +1199,7 @@ type CreateInstructionMetadata struct { // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Timestamp when create instruction request was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *CreateInstructionMetadata) Reset() { @@ -1248,7 +1248,7 @@ func (x *CreateInstructionMetadata) GetPartialFailures() []*status.Status { return nil } -func (x *CreateInstructionMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *CreateInstructionMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1611,7 +1611,7 @@ var file_google_cloud_datalabeling_v1beta1_operations_proto_goTypes = []interfac (*LabelStats)(nil), // 18: google.cloud.datalabeling.v1beta1.LabelStats (*OutputConfig)(nil), // 19: google.cloud.datalabeling.v1beta1.OutputConfig (*status.Status)(nil), // 20: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 21: google.protobuf.Timestamp (*HumanAnnotationConfig)(nil), // 22: google.cloud.datalabeling.v1beta1.HumanAnnotationConfig } var file_google_cloud_datalabeling_v1beta1_operations_proto_depIdxs = []int32{ diff --git a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go index b1c06244f37..fab6485b33d 100644 --- a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dataqna/v1alpha/annotated_string.proto package dataqnapb diff --git a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go index 96d2bb77ca3..ac9aed9b64b 100644 --- a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dataqna/v1alpha/auto_suggestion_service.proto package dataqnapb diff --git a/dataqna/apiv1alpha/dataqnapb/question.pb.go b/dataqna/apiv1alpha/dataqnapb/question.pb.go index ffc387a5e3d..4ac80cf8e6c 100644 --- a/dataqna/apiv1alpha/dataqnapb/question.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dataqna/v1alpha/question.proto package dataqnapb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + any1 "github.com/golang/protobuf/ptypes/any" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -357,7 +357,7 @@ type Question struct { // A list of interpretations for this question. Interpretations []*Interpretation `protobuf:"bytes,6,rep,name=interpretations,proto3" json:"interpretations,omitempty"` // Time when the question was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The e-mail address of the user that created this question. UserEmail string `protobuf:"bytes,8,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` // Input only. Immutable. Flags to request additional information for debugging purposes. @@ -366,7 +366,7 @@ type Question struct { // This will be stored as the type DebugInformation. // Using Any so clients don't need to pull in anything // inside the debug message. - DebugInfo *anypb.Any `protobuf:"bytes,10,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` + DebugInfo *any1.Any `protobuf:"bytes,10,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` } func (x *Question) Reset() { @@ -443,7 +443,7 @@ func (x *Question) GetInterpretations() []*Interpretation { return nil } -func (x *Question) GetCreateTime() *timestamppb.Timestamp { +func (x *Question) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -464,7 +464,7 @@ func (x *Question) GetDebugFlags() *DebugFlags { return nil } -func (x *Question) GetDebugInfo() *anypb.Any { +func (x *Question) GetDebugInfo() *any1.Any { if x != nil { return x.DebugInfo } @@ -549,7 +549,7 @@ type ExecutionInfo struct { // Status of the job execution. JobExecutionState ExecutionInfo_JobExecutionState `protobuf:"varint,2,opt,name=job_execution_state,json=jobExecutionState,proto3,enum=google.cloud.dataqna.v1alpha.ExecutionInfo_JobExecutionState" json:"job_execution_state,omitempty"` // Time when the execution was triggered. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // BigQuery job information. // Future versions will have different backends. Hence, clients must make sure // they can handle it when this field is not populated. @@ -602,7 +602,7 @@ func (x *ExecutionInfo) GetJobExecutionState() ExecutionInfo_JobExecutionState { return ExecutionInfo_JOB_EXECUTION_STATE_UNSPECIFIED } -func (x *ExecutionInfo) GetCreateTime() *timestamppb.Timestamp { +func (x *ExecutionInfo) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1732,8 +1732,8 @@ var file_google_cloud_dataqna_v1alpha_question_proto_goTypes = []interface{}{ (*InterpretError_InterpretIncompleteQueryDetails)(nil), // 15: google.cloud.dataqna.v1alpha.InterpretError.InterpretIncompleteQueryDetails (*InterpretError_InterpretAmbiguityDetails)(nil), // 16: google.cloud.dataqna.v1alpha.InterpretError.InterpretAmbiguityDetails (*InterpretationStructure_ColumnInfo)(nil), // 17: google.cloud.dataqna.v1alpha.InterpretationStructure.ColumnInfo - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp - (*anypb.Any)(nil), // 19: google.protobuf.Any + (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*any1.Any)(nil), // 19: google.protobuf.Any (*status.Status)(nil), // 20: google.rpc.Status (*AnnotatedString)(nil), // 21: google.cloud.dataqna.v1alpha.AnnotatedString } diff --git a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go index 52e9e7b7173..1ae94a37313 100644 --- a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dataqna/v1alpha/question_service.proto package dataqnapb @@ -26,12 +26,12 @@ import ( sync "sync" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -51,7 +51,7 @@ type GetQuestionRequest struct { // Example: `projects/foo/locations/bar/questions/1234` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The list of fields to be retrieved. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *GetQuestionRequest) Reset() { @@ -93,7 +93,7 @@ func (x *GetQuestionRequest) GetName() string { return "" } -func (x *GetQuestionRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *GetQuestionRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -281,7 +281,7 @@ type UpdateUserFeedbackRequest struct { // corresponding question) to update. UserFeedback *UserFeedback `protobuf:"bytes,1,opt,name=user_feedback,json=userFeedback,proto3" json:"user_feedback,omitempty"` // The list of fields to be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateUserFeedbackRequest) Reset() { @@ -323,7 +323,7 @@ func (x *UpdateUserFeedbackRequest) GetUserFeedback() *UserFeedback { return nil } -func (x *UpdateUserFeedbackRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateUserFeedbackRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -503,7 +503,7 @@ var file_google_cloud_dataqna_v1alpha_question_service_proto_goTypes = []interfa (*ExecuteQuestionRequest)(nil), // 2: google.cloud.dataqna.v1alpha.ExecuteQuestionRequest (*GetUserFeedbackRequest)(nil), // 3: google.cloud.dataqna.v1alpha.GetUserFeedbackRequest (*UpdateUserFeedbackRequest)(nil), // 4: google.cloud.dataqna.v1alpha.UpdateUserFeedbackRequest - (*fieldmaskpb.FieldMask)(nil), // 5: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 5: google.protobuf.FieldMask (*Question)(nil), // 6: google.cloud.dataqna.v1alpha.Question (*UserFeedback)(nil), // 7: google.cloud.dataqna.v1alpha.UserFeedback } diff --git a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go index 3522235de10..5e35e2f2463 100644 --- a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dataqna/v1alpha/user_feedback.proto package dataqnapb diff --git a/datastream/apiv1alpha1/datastreampb/datastream.pb.go b/datastream/apiv1alpha1/datastreampb/datastream.pb.go index 03c4d869cda..494f5a1011c 100644 --- a/datastream/apiv1alpha1/datastreampb/datastream.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datastream/v1alpha1/datastream.proto package datastreampb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -848,7 +848,7 @@ type UpdateConnectionProfileRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The ConnectionProfile to update. ConnectionProfile *ConnectionProfile `protobuf:"bytes,2,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"` // Optional. A request ID to identify requests. Specify a unique request ID @@ -899,7 +899,7 @@ func (*UpdateConnectionProfileRequest) Descriptor() ([]byte, []int) { return file_google_cloud_datastream_v1alpha1_datastream_proto_rawDescGZIP(), []int{10} } -func (x *UpdateConnectionProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateConnectionProfileRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1310,7 +1310,7 @@ type UpdateStreamRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The stream resource to update. Stream *Stream `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"` // Optional. A request ID to identify requests. Specify a unique request ID @@ -1366,7 +1366,7 @@ func (*UpdateStreamRequest) Descriptor() ([]byte, []int) { return file_google_cloud_datastream_v1alpha1_datastream_proto_rawDescGZIP(), []int{16} } -func (x *UpdateStreamRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateStreamRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1477,9 +1477,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -1529,14 +1529,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_datastream_v1alpha1_datastream_proto_rawDescGZIP(), []int{18} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -3093,9 +3093,9 @@ var file_google_cloud_datastream_v1alpha1_datastream_proto_goTypes = []interface (*OracleRdbms)(nil), // 30: google.cloud.datastream.v1alpha1.OracleRdbms (*MysqlRdbms)(nil), // 31: google.cloud.datastream.v1alpha1.MysqlRdbms (*Error)(nil), // 32: google.cloud.datastream.v1alpha1.Error - (*fieldmaskpb.FieldMask)(nil), // 33: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 33: google.protobuf.FieldMask (*Stream)(nil), // 34: google.cloud.datastream.v1alpha1.Stream - (*timestamppb.Timestamp)(nil), // 35: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 35: google.protobuf.Timestamp (*ValidationResult)(nil), // 36: google.cloud.datastream.v1alpha1.ValidationResult (*PrivateConnection)(nil), // 37: google.cloud.datastream.v1alpha1.PrivateConnection (*Route)(nil), // 38: google.cloud.datastream.v1alpha1.Route diff --git a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go index 195828ef941..2a98c4dc56e 100644 --- a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package datastreampb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -939,9 +939,9 @@ type PrivateConnection struct { // Output only. The resource's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The create time of the resource. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The update time of the resource. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Required. Display name. @@ -993,14 +993,14 @@ func (x *PrivateConnection) GetName() string { return "" } -func (x *PrivateConnection) GetCreateTime() *timestamppb.Timestamp { +func (x *PrivateConnection) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *PrivateConnection) GetUpdateTime() *timestamppb.Timestamp { +func (x *PrivateConnection) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1100,9 +1100,9 @@ type Route struct { // Output only. The resource's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The create time of the resource. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The update time of the resource. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Required. Display name. @@ -1152,14 +1152,14 @@ func (x *Route) GetName() string { return "" } -func (x *Route) GetCreateTime() *timestamppb.Timestamp { +func (x *Route) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Route) GetUpdateTime() *timestamppb.Timestamp { +func (x *Route) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1301,9 +1301,9 @@ type ConnectionProfile struct { // Output only. The resource's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The create time of the resource. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The update time of the resource. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Required. Display name. @@ -1366,14 +1366,14 @@ func (x *ConnectionProfile) GetName() string { return "" } -func (x *ConnectionProfile) GetCreateTime() *timestamppb.Timestamp { +func (x *ConnectionProfile) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ConnectionProfile) GetUpdateTime() *timestamppb.Timestamp { +func (x *ConnectionProfile) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2398,7 +2398,7 @@ type GcsDestinationConfig struct { FileRotationMb int32 `protobuf:"varint,3,opt,name=file_rotation_mb,json=fileRotationMb,proto3" json:"file_rotation_mb,omitempty"` // The maximum duration for which new events are added before a file is // closed and a new file is created. - FileRotationInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=file_rotation_interval,json=fileRotationInterval,proto3" json:"file_rotation_interval,omitempty"` + FileRotationInterval *duration.Duration `protobuf:"bytes,4,opt,name=file_rotation_interval,json=fileRotationInterval,proto3" json:"file_rotation_interval,omitempty"` // File Format that the data should be written in. // // Types that are assignable to FileFormat: @@ -2462,7 +2462,7 @@ func (x *GcsDestinationConfig) GetFileRotationMb() int32 { return 0 } -func (x *GcsDestinationConfig) GetFileRotationInterval() *durationpb.Duration { +func (x *GcsDestinationConfig) GetFileRotationInterval() *duration.Duration { if x != nil { return x.FileRotationInterval } @@ -2595,9 +2595,9 @@ type Stream struct { // Output only. The stream's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The creation time of the stream. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update time of the stream. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Required. Display name. @@ -2658,14 +2658,14 @@ func (x *Stream) GetName() string { return "" } -func (x *Stream) GetCreateTime() *timestamppb.Timestamp { +func (x *Stream) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Stream) GetUpdateTime() *timestamppb.Timestamp { +func (x *Stream) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2768,7 +2768,7 @@ type Error struct { // A message containing more information about the error that occurred. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // The time when the error occurred. - ErrorTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=error_time,json=errorTime,proto3" json:"error_time,omitempty"` + ErrorTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=error_time,json=errorTime,proto3" json:"error_time,omitempty"` // Additional information about the error. Details map[string]string `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -2826,7 +2826,7 @@ func (x *Error) GetMessage() string { return "" } -func (x *Error) GetErrorTime() *timestamppb.Timestamp { +func (x *Error) GetErrorTime() *timestamp.Timestamp { if x != nil { return x.ErrorTime } @@ -3874,8 +3874,8 @@ var file_google_cloud_datastream_v1alpha1_datastream_resources_proto_goTypes = [ nil, // 45: google.cloud.datastream.v1alpha1.Stream.LabelsEntry nil, // 46: google.cloud.datastream.v1alpha1.Error.DetailsEntry nil, // 47: google.cloud.datastream.v1alpha1.ValidationMessage.MetadataEntry - (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 49: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 48: google.protobuf.Timestamp + (*duration.Duration)(nil), // 49: google.protobuf.Duration } var file_google_cloud_datastream_v1alpha1_datastream_resources_proto_depIdxs = []int32{ 39, // 0: google.cloud.datastream.v1alpha1.OracleProfile.connection_attributes:type_name -> google.cloud.datastream.v1alpha1.OracleProfile.ConnectionAttributesEntry diff --git a/dialogflow/cx/apiv3/agents_client.go b/dialogflow/cx/apiv3/agents_client.go index cfd0de2d51e..7d84fe395db 100644 --- a/dialogflow/cx/apiv3/agents_client.go +++ b/dialogflow/cx/apiv3/agents_client.go @@ -25,6 +25,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" @@ -37,7 +38,6 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newAgentsClientHook clientHook diff --git a/dialogflow/cx/apiv3/environments_client.go b/dialogflow/cx/apiv3/environments_client.go index ce12bf9b3cb..c398b6acdd2 100644 --- a/dialogflow/cx/apiv3/environments_client.go +++ b/dialogflow/cx/apiv3/environments_client.go @@ -25,6 +25,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" @@ -37,7 +38,6 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newEnvironmentsClientHook clientHook diff --git a/dialogflow/cx/apiv3/flows_client.go b/dialogflow/cx/apiv3/flows_client.go index e5675c6faa0..c3579638ef9 100644 --- a/dialogflow/cx/apiv3/flows_client.go +++ b/dialogflow/cx/apiv3/flows_client.go @@ -25,6 +25,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" @@ -37,7 +38,6 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newFlowsClientHook clientHook diff --git a/dialogflow/cx/apiv3/versions_client.go b/dialogflow/cx/apiv3/versions_client.go index 5207145e28d..3d34e983594 100644 --- a/dialogflow/cx/apiv3/versions_client.go +++ b/dialogflow/cx/apiv3/versions_client.go @@ -25,6 +25,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" @@ -37,7 +38,6 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newVersionsClientHook clientHook diff --git a/dialogflow/cx/apiv3beta1/agents_client.go b/dialogflow/cx/apiv3beta1/agents_client.go index d5059a82118..b834c6a6b53 100644 --- a/dialogflow/cx/apiv3beta1/agents_client.go +++ b/dialogflow/cx/apiv3beta1/agents_client.go @@ -29,6 +29,7 @@ import ( cxpb "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb" "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -43,7 +44,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newAgentsClientHook clientHook diff --git a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go index b417d9bacf4..8ea4ef1bac2 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto package cxpb diff --git a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go index bce6291a788..2dea5308e6a 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/agent.proto package cxpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -646,7 +646,7 @@ type UpdateAgentRequest struct { Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateAgentRequest) Reset() { @@ -688,7 +688,7 @@ func (x *UpdateAgentRequest) GetAgent() *Agent { return nil } -func (x *UpdateAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAgentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1604,9 +1604,9 @@ var file_google_cloud_dialogflow_cx_v3beta1_agent_proto_goTypes = []interface{}{ (*GetAgentValidationResultRequest)(nil), // 14: google.cloud.dialogflow.cx.v3beta1.GetAgentValidationResultRequest (*AgentValidationResult)(nil), // 15: google.cloud.dialogflow.cx.v3beta1.AgentValidationResult (*AdvancedSettings)(nil), // 16: google.cloud.dialogflow.cx.v3beta1.AdvancedSettings - (*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 17: google.protobuf.FieldMask (*FlowValidationResult)(nil), // 18: google.cloud.dialogflow.cx.v3beta1.FlowValidationResult - (*emptypb.Empty)(nil), // 19: google.protobuf.Empty + (*empty.Empty)(nil), // 19: google.protobuf.Empty (*longrunning.Operation)(nil), // 20: google.longrunning.Operation } var file_google_cloud_dialogflow_cx_v3beta1_agent_proto_depIdxs = []int32{ @@ -1879,7 +1879,7 @@ type AgentsClient interface { // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error) // Deletes the specified agent. - DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Exports the specified agent to a binary file. // // This method is a [long-running @@ -1961,8 +1961,8 @@ func (c *agentsClient) UpdateAgent(ctx context.Context, in *UpdateAgentRequest, return out, nil } -func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/DeleteAgent", in, out, opts...) if err != nil { return nil, err @@ -2025,7 +2025,7 @@ type AgentsServer interface { // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error) // Deletes the specified agent. - DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) + DeleteAgent(context.Context, *DeleteAgentRequest) (*empty.Empty, error) // Exports the specified agent to a binary file. // // This method is a [long-running @@ -2079,7 +2079,7 @@ func (*UnimplementedAgentsServer) CreateAgent(context.Context, *CreateAgentReque func (*UnimplementedAgentsServer) UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateAgent not implemented") } -func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) { +func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAgent not implemented") } func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) { diff --git a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go index 1139dcb2bc2..942c5e642e1 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/audio_config.proto package cxpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -356,11 +356,11 @@ type SpeechWordInfo struct { // Time offset relative to the beginning of the audio that corresponds to the // start of the spoken word. This is an experimental feature and the accuracy // of the time offset can vary. - StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` + StartOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` // Time offset relative to the beginning of the audio that corresponds to the // end of the spoken word. This is an experimental feature and the accuracy of // the time offset can vary. - EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` + EndOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` // The Speech confidence between 0.0 and 1.0 for this word. A higher number // indicates an estimated greater likelihood that the recognized word is // correct. The default of 0.0 is a sentinel value indicating that confidence @@ -410,14 +410,14 @@ func (x *SpeechWordInfo) GetWord() string { return "" } -func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration { +func (x *SpeechWordInfo) GetStartOffset() *duration.Duration { if x != nil { return x.StartOffset } return nil } -func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration { +func (x *SpeechWordInfo) GetEndOffset() *duration.Duration { if x != nil { return x.EndOffset } @@ -986,7 +986,7 @@ var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_goTypes = []inter (*VoiceSelectionParams)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams (*SynthesizeSpeechConfig)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig (*OutputAudioConfig)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*duration.Duration)(nil), // 9: google.protobuf.Duration } var file_google_cloud_dialogflow_cx_v3beta1_audio_config_proto_depIdxs = []int32{ 9, // 0: google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.start_offset:type_name -> google.protobuf.Duration diff --git a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go index 0d297a823ae..7fbe1fbfc00 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/changelog.proto package cxpb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -271,7 +271,7 @@ type Changelog struct { // The affected resource name of the change. Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // The timestamp of the change. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *Changelog) Reset() { @@ -348,7 +348,7 @@ func (x *Changelog) GetResource() string { return "" } -func (x *Changelog) GetCreateTime() *timestamppb.Timestamp { +func (x *Changelog) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -490,7 +490,7 @@ var file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_goTypes = []interfac (*ListChangelogsResponse)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse (*GetChangelogRequest)(nil), // 2: google.cloud.dialogflow.cx.v3beta1.GetChangelogRequest (*Changelog)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.Changelog - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp } var file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_depIdxs = []int32{ 3, // 0: google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse.changelogs:type_name -> google.cloud.dialogflow.cx.v3beta1.Changelog diff --git a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go index db7dfcda6b7..44558f4c9cd 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/deployment.proto package cxpb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -120,9 +120,9 @@ type Deployment struct { // Result of the deployment. Result *Deployment_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // Start time of this deployment. - StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time of this deployment. - EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *Deployment) Reset() { @@ -185,14 +185,14 @@ func (x *Deployment) GetResult() *Deployment_Result { return nil } -func (x *Deployment) GetStartTime() *timestamppb.Timestamp { +func (x *Deployment) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Deployment) GetEndTime() *timestamppb.Timestamp { +func (x *Deployment) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -611,7 +611,7 @@ var file_google_cloud_dialogflow_cx_v3beta1_deployment_proto_goTypes = []interfa (*ListDeploymentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse (*GetDeploymentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest (*Deployment_Result)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.Deployment.Result - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_google_cloud_dialogflow_cx_v3beta1_deployment_proto_depIdxs = []int32{ 0, // 0: google.cloud.dialogflow.cx.v3beta1.Deployment.state:type_name -> google.cloud.dialogflow.cx.v3beta1.Deployment.State diff --git a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go index 1f80b80d33a..c7fd4773e4c 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/entity_type.proto package cxpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -621,7 +621,7 @@ type UpdateEntityTypeRequest struct { // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEntityTypeRequest) Reset() { @@ -670,7 +670,7 @@ func (x *UpdateEntityTypeRequest) GetLanguageCode() string { return "" } -func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1132,8 +1132,8 @@ var file_google_cloud_dialogflow_cx_v3beta1_entity_type_proto_goTypes = []interf (*DeleteEntityTypeRequest)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.DeleteEntityTypeRequest (*EntityType_Entity)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.EntityType.Entity (*EntityType_ExcludedPhrase)(nil), // 10: google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase - (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask + (*empty.Empty)(nil), // 12: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_entity_type_proto_depIdxs = []int32{ 0, // 0: google.cloud.dialogflow.cx.v3beta1.EntityType.kind:type_name -> google.cloud.dialogflow.cx.v3beta1.EntityType.Kind @@ -1326,7 +1326,7 @@ type EntityTypesClient interface { // Note: You should always train a flow prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). - DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type entityTypesClient struct { @@ -1373,8 +1373,8 @@ func (c *entityTypesClient) UpdateEntityType(ctx context.Context, in *UpdateEnti return out, nil } -func (c *entityTypesClient) DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *entityTypesClient) DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.EntityTypes/DeleteEntityType", in, out, opts...) if err != nil { return nil, err @@ -1401,7 +1401,7 @@ type EntityTypesServer interface { // Note: You should always train a flow prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). - DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error) + DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error) } // UnimplementedEntityTypesServer can be embedded to have forward compatible implementations. @@ -1420,7 +1420,7 @@ func (*UnimplementedEntityTypesServer) CreateEntityType(context.Context, *Create func (*UnimplementedEntityTypesServer) UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateEntityType not implemented") } -func (*UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error) { +func (*UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteEntityType not implemented") } diff --git a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go index a5c14855f71..ed2b40e9c0b 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/environment.proto package cxpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -126,7 +126,7 @@ type Environment struct { // returned. VersionConfigs []*Environment_VersionConfig `protobuf:"bytes,6,rep,name=version_configs,json=versionConfigs,proto3" json:"version_configs,omitempty"` // Output only. Update time of this environment. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The test cases config for continuous tests of this environment. TestCasesConfig *Environment_TestCasesConfig `protobuf:"bytes,7,opt,name=test_cases_config,json=testCasesConfig,proto3" json:"test_cases_config,omitempty"` // The webhook configuration for this environment. @@ -193,7 +193,7 @@ func (x *Environment) GetVersionConfigs() []*Environment_VersionConfig { return nil } -func (x *Environment) GetUpdateTime() *timestamppb.Timestamp { +func (x *Environment) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -464,7 +464,7 @@ type UpdateEnvironmentRequest struct { // Required. The environment to update. Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` // Required. The mask to control which fields get updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEnvironmentRequest) Reset() { @@ -506,7 +506,7 @@ func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment { return nil } -func (x *UpdateEnvironmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEnvironmentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -711,7 +711,7 @@ type ContinuousTestResult struct { // A list of individual test case results names in this continuous test run. TestCaseResults []string `protobuf:"bytes,3,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"` // Time when the continuous testing run starts. - RunTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` + RunTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` } func (x *ContinuousTestResult) Reset() { @@ -767,7 +767,7 @@ func (x *ContinuousTestResult) GetTestCaseResults() []string { return nil } -func (x *ContinuousTestResult) GetRunTime() *timestamppb.Timestamp { +func (x *ContinuousTestResult) GetRunTime() *timestamp.Timestamp { if x != nil { return x.RunTime } @@ -1874,12 +1874,12 @@ var file_google_cloud_dialogflow_cx_v3beta1_environment_proto_goTypes = []interf (*Environment_VersionConfig)(nil), // 19: google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig (*Environment_TestCasesConfig)(nil), // 20: google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig (*Environment_WebhookConfig)(nil), // 21: google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig - (*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 23: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 22: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 23: google.protobuf.FieldMask (*TestError)(nil), // 24: google.cloud.dialogflow.cx.v3beta1.TestError (*Webhook)(nil), // 25: google.cloud.dialogflow.cx.v3beta1.Webhook (*longrunning.Operation)(nil), // 26: google.longrunning.Operation - (*emptypb.Empty)(nil), // 27: google.protobuf.Empty + (*empty.Empty)(nil), // 27: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_environment_proto_depIdxs = []int32{ 19, // 0: google.cloud.dialogflow.cx.v3beta1.Environment.version_configs:type_name -> google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig @@ -2243,7 +2243,7 @@ type EnvironmentsClient interface { // - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. - DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. LookupEnvironmentHistory(ctx context.Context, in *LookupEnvironmentHistoryRequest, opts ...grpc.CallOption) (*LookupEnvironmentHistoryResponse, error) // Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. @@ -2312,8 +2312,8 @@ func (c *environmentsClient) UpdateEnvironment(ctx context.Context, in *UpdateEn return out, nil } -func (c *environmentsClient) DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *environmentsClient) DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Environments/DeleteEnvironment", in, out, opts...) if err != nil { return nil, err @@ -2384,7 +2384,7 @@ type EnvironmentsServer interface { // - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunning.Operation, error) // Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. - DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error) + DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*empty.Empty, error) // Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error) // Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. @@ -2425,7 +2425,7 @@ func (*UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *Crea func (*UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunning.Operation, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateEnvironment not implemented") } -func (*UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error) { +func (*UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteEnvironment not implemented") } func (*UnimplementedEnvironmentsServer) LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error) { diff --git a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go index 0ca155c69d9..6b34b11d6e2 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/experiment.proto package cxpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -264,17 +264,17 @@ type Experiment struct { // Inference result of the experiment. Result *Experiment_Result `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` // Creation time of this experiment. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Start time of this experiment. - StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time of this experiment. - EndTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Last update time of this experiment. - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` + LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // Maximum number of days to run the experiment. If auto-rollout is // not enabled, default value and maximum will be 30 days. If auto-rollout is // enabled, default value and maximum will be 6 days. - ExperimentLength *durationpb.Duration `protobuf:"bytes,11,opt,name=experiment_length,json=experimentLength,proto3" json:"experiment_length,omitempty"` + ExperimentLength *duration.Duration `protobuf:"bytes,11,opt,name=experiment_length,json=experimentLength,proto3" json:"experiment_length,omitempty"` // The history of updates to the experiment variants. VariantsHistory []*VariantsHistory `protobuf:"bytes,12,rep,name=variants_history,json=variantsHistory,proto3" json:"variants_history,omitempty"` } @@ -374,35 +374,35 @@ func (x *Experiment) GetResult() *Experiment_Result { return nil } -func (x *Experiment) GetCreateTime() *timestamppb.Timestamp { +func (x *Experiment) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Experiment) GetStartTime() *timestamppb.Timestamp { +func (x *Experiment) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Experiment) GetEndTime() *timestamppb.Timestamp { +func (x *Experiment) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *Experiment) GetLastUpdateTime() *timestamppb.Timestamp { +func (x *Experiment) GetLastUpdateTime() *timestamp.Timestamp { if x != nil { return x.LastUpdateTime } return nil } -func (x *Experiment) GetExperimentLength() *durationpb.Duration { +func (x *Experiment) GetExperimentLength() *duration.Duration { if x != nil { return x.ExperimentLength } @@ -551,7 +551,7 @@ type RolloutState struct { // Index of the current step in the auto rollout steps list. StepIndex int32 `protobuf:"varint,3,opt,name=step_index,json=stepIndex,proto3" json:"step_index,omitempty"` // Start time of the current step. - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` } func (x *RolloutState) Reset() { @@ -600,7 +600,7 @@ func (x *RolloutState) GetStepIndex() int32 { return 0 } -func (x *RolloutState) GetStartTime() *timestamppb.Timestamp { +func (x *RolloutState) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -621,7 +621,7 @@ type VariantsHistory struct { // *VariantsHistory_VersionVariants Variants isVariantsHistory_Variants `protobuf_oneof:"variants"` // Update time of the variants. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *VariantsHistory) Reset() { @@ -670,7 +670,7 @@ func (x *VariantsHistory) GetVersionVariants() *VersionVariants { return nil } -func (x *VariantsHistory) GetUpdateTime() *timestamppb.Timestamp { +func (x *VariantsHistory) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -940,7 +940,7 @@ type UpdateExperimentRequest struct { // Required. The experiment to update. Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // Required. The mask to control which fields get updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateExperimentRequest) Reset() { @@ -982,7 +982,7 @@ func (x *UpdateExperimentRequest) GetExperiment() *Experiment { return nil } -func (x *UpdateExperimentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateExperimentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1237,7 +1237,7 @@ type Experiment_Result struct { VersionMetrics []*Experiment_Result_VersionMetrics `protobuf:"bytes,1,rep,name=version_metrics,json=versionMetrics,proto3" json:"version_metrics,omitempty"` // The last time the experiment's stats data was updated. Will have default // value if stats have never been computed for this experiment. - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` + LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` } func (x *Experiment_Result) Reset() { @@ -1279,7 +1279,7 @@ func (x *Experiment_Result) GetVersionMetrics() []*Experiment_Result_VersionMetr return nil } -func (x *Experiment_Result) GetLastUpdateTime() *timestamppb.Timestamp { +func (x *Experiment_Result) GetLastUpdateTime() *timestamp.Timestamp { if x != nil { return x.LastUpdateTime } @@ -1635,7 +1635,7 @@ type RolloutConfig_RolloutStep struct { // The minimum time that this step should last. Should be longer than 1 // hour. If not set, the default minimum duration for each step will be 1 // hour. - MinDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"` + MinDuration *duration.Duration `protobuf:"bytes,3,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"` } func (x *RolloutConfig_RolloutStep) Reset() { @@ -1684,7 +1684,7 @@ func (x *RolloutConfig_RolloutStep) GetTrafficPercent() int32 { return 0 } -func (x *RolloutConfig_RolloutStep) GetMinDuration() *durationpb.Duration { +func (x *RolloutConfig_RolloutStep) GetMinDuration() *duration.Duration { if x != nil { return x.MinDuration } @@ -2165,10 +2165,10 @@ var file_google_cloud_dialogflow_cx_v3beta1_experiment_proto_goTypes = []interfa (*Experiment_Result_VersionMetrics)(nil), // 20: google.cloud.dialogflow.cx.v3beta1.Experiment.Result.VersionMetrics (*VersionVariants_Variant)(nil), // 21: google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant (*RolloutConfig_RolloutStep)(nil), // 22: google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep - (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 24: google.protobuf.Duration - (*fieldmaskpb.FieldMask)(nil), // 25: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 26: google.protobuf.Empty + (*timestamp.Timestamp)(nil), // 23: google.protobuf.Timestamp + (*duration.Duration)(nil), // 24: google.protobuf.Duration + (*field_mask.FieldMask)(nil), // 25: google.protobuf.FieldMask + (*empty.Empty)(nil), // 26: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_experiment_proto_depIdxs = []int32{ 0, // 0: google.cloud.dialogflow.cx.v3beta1.Experiment.state:type_name -> google.cloud.dialogflow.cx.v3beta1.Experiment.State @@ -2519,7 +2519,7 @@ type ExperimentsClient interface { // Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. UpdateExperiment(ctx context.Context, in *UpdateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) // Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. - DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of // experiment from PENDING to RUNNING. StartExperiment(ctx context.Context, in *StartExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) @@ -2572,8 +2572,8 @@ func (c *experimentsClient) UpdateExperiment(ctx context.Context, in *UpdateExpe return out, nil } -func (c *experimentsClient) DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *experimentsClient) DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Experiments/DeleteExperiment", in, out, opts...) if err != nil { return nil, err @@ -2610,7 +2610,7 @@ type ExperimentsServer interface { // Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error) // Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. - DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error) + DeleteExperiment(context.Context, *DeleteExperimentRequest) (*empty.Empty, error) // Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of // experiment from PENDING to RUNNING. StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error) @@ -2635,7 +2635,7 @@ func (*UnimplementedExperimentsServer) CreateExperiment(context.Context, *Create func (*UnimplementedExperimentsServer) UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateExperiment not implemented") } -func (*UnimplementedExperimentsServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error) { +func (*UnimplementedExperimentsServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteExperiment not implemented") } func (*UnimplementedExperimentsServer) StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error) { diff --git a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go index 6bacde8e3f6..a030e2dd7ea 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/flow.proto package cxpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -815,7 +815,7 @@ type UpdateFlowRequest struct { Flow *Flow `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The language of the following fields in `flow`: // // * `Flow.event_handlers.trigger_fulfillment.messages` @@ -870,7 +870,7 @@ func (x *UpdateFlowRequest) GetFlow() *Flow { return nil } -func (x *UpdateFlowRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateFlowRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1068,7 +1068,7 @@ type FlowValidationResult struct { // Contains all validation messages. ValidationMessages []*ValidationMessage `protobuf:"bytes,2,rep,name=validation_messages,json=validationMessages,proto3" json:"validation_messages,omitempty"` // Last time the flow was validated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *FlowValidationResult) Reset() { @@ -1117,7 +1117,7 @@ func (x *FlowValidationResult) GetValidationMessages() []*ValidationMessage { return nil } -func (x *FlowValidationResult) GetUpdateTime() *timestamppb.Timestamp { +func (x *FlowValidationResult) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1884,10 +1884,10 @@ var file_google_cloud_dialogflow_cx_v3beta1_flow_proto_goTypes = []interface{}{ (*ExportFlowResponse)(nil), // 18: google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse (*TransitionRoute)(nil), // 19: google.cloud.dialogflow.cx.v3beta1.TransitionRoute (*EventHandler)(nil), // 20: google.cloud.dialogflow.cx.v3beta1.EventHandler - (*fieldmaskpb.FieldMask)(nil), // 21: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 21: google.protobuf.FieldMask (*ValidationMessage)(nil), // 22: google.cloud.dialogflow.cx.v3beta1.ValidationMessage - (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp - (*emptypb.Empty)(nil), // 24: google.protobuf.Empty + (*timestamp.Timestamp)(nil), // 23: google.protobuf.Timestamp + (*empty.Empty)(nil), // 24: google.protobuf.Empty (*longrunning.Operation)(nil), // 25: google.longrunning.Operation } var file_google_cloud_dialogflow_cx_v3beta1_flow_proto_depIdxs = []int32{ @@ -2179,7 +2179,7 @@ type FlowsClient interface { // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). CreateFlow(ctx context.Context, in *CreateFlowRequest, opts ...grpc.CallOption) (*Flow, error) // Deletes a specified flow. - DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns the list of all flows in the specified agent. ListFlows(ctx context.Context, in *ListFlowsRequest, opts ...grpc.CallOption) (*ListFlowsResponse, error) // Retrieves the specified flow. @@ -2259,8 +2259,8 @@ func (c *flowsClient) CreateFlow(ctx context.Context, in *CreateFlowRequest, opt return out, nil } -func (c *flowsClient) DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *flowsClient) DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Flows/DeleteFlow", in, out, opts...) if err != nil { return nil, err @@ -2349,7 +2349,7 @@ type FlowsServer interface { // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error) // Deletes a specified flow. - DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error) + DeleteFlow(context.Context, *DeleteFlowRequest) (*empty.Empty, error) // Returns the list of all flows in the specified agent. ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error) // Retrieves the specified flow. @@ -2419,7 +2419,7 @@ type UnimplementedFlowsServer struct { func (*UnimplementedFlowsServer) CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateFlow not implemented") } -func (*UnimplementedFlowsServer) DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error) { +func (*UnimplementedFlowsServer) DeleteFlow(context.Context, *DeleteFlowRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteFlow not implemented") } func (*UnimplementedFlowsServer) ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error) { diff --git a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go index 1c17a34fb94..2f78bdfe4ac 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/fulfillment.proto package cxpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -165,7 +165,7 @@ type Fulfillment_SetParameterAction struct { // Display name of the parameter. Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"` // The new value of the parameter. A null value clears the parameter. - Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value *_struct.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *Fulfillment_SetParameterAction) Reset() { @@ -207,7 +207,7 @@ func (x *Fulfillment_SetParameterAction) GetParameter() string { return "" } -func (x *Fulfillment_SetParameterAction) GetValue() *structpb.Value { +func (x *Fulfillment_SetParameterAction) GetValue() *_struct.Value { if x != nil { return x.Value } @@ -536,7 +536,7 @@ var file_google_cloud_dialogflow_cx_v3beta1_fulfillment_proto_goTypes = []interf (*Fulfillment_ConditionalCases_Case)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case (*Fulfillment_ConditionalCases_Case_CaseContent)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent (*ResponseMessage)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.ResponseMessage - (*structpb.Value)(nil), // 6: google.protobuf.Value + (*_struct.Value)(nil), // 6: google.protobuf.Value } var file_google_cloud_dialogflow_cx_v3beta1_fulfillment_proto_depIdxs = []int32{ 5, // 0: google.cloud.dialogflow.cx.v3beta1.Fulfillment.messages:type_name -> google.cloud.dialogflow.cx.v3beta1.ResponseMessage diff --git a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go index e1d570b9d84..aaf63eae495 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/intent.proto package cxpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -563,7 +563,7 @@ type UpdateIntentRequest struct { LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateIntentRequest) Reset() { @@ -612,7 +612,7 @@ func (x *UpdateIntentRequest) GetLanguageCode() string { return "" } -func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateIntentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1166,8 +1166,8 @@ var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes = []interface{} (*Intent_Parameter)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.Intent.Parameter nil, // 10: google.cloud.dialogflow.cx.v3beta1.Intent.LabelsEntry (*Intent_TrainingPhrase_Part)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part - (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 13: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 12: google.protobuf.FieldMask + (*empty.Empty)(nil), // 13: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs = []int32{ 8, // 0: google.cloud.dialogflow.cx.v3beta1.Intent.training_phrases:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase @@ -1377,7 +1377,7 @@ type IntentsClient interface { // Note: You should always train a flow prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). - DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type intentsClient struct { @@ -1424,8 +1424,8 @@ func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentReques return out, nil } -func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/DeleteIntent", in, out, opts...) if err != nil { return nil, err @@ -1456,7 +1456,7 @@ type IntentsServer interface { // Note: You should always train a flow prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). - DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) + DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error) } // UnimplementedIntentsServer can be embedded to have forward compatible implementations. @@ -1475,7 +1475,7 @@ func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRe func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") } -func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) { +func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") } diff --git a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go index 33597598d92..bbb795ad70c 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/page.proto package cxpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -891,7 +891,7 @@ type UpdatePageRequest struct { LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdatePageRequest) Reset() { @@ -940,7 +940,7 @@ func (x *UpdatePageRequest) GetLanguageCode() string { return "" } -func (x *UpdatePageRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdatePageRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1042,7 +1042,7 @@ type Form_Parameter struct { FillBehavior *Form_Parameter_FillBehavior `protobuf:"bytes,7,opt,name=fill_behavior,json=fillBehavior,proto3" json:"fill_behavior,omitempty"` // The default value of an optional parameter. If the parameter is required, // the default value will be ignored. - DefaultValue *structpb.Value `protobuf:"bytes,9,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + DefaultValue *_struct.Value `protobuf:"bytes,9,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Indicates whether the parameter content should be redacted in log. If // redaction is enabled, the parameter content will be replaced by parameter // name during logging. @@ -1119,7 +1119,7 @@ func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehavior { return nil } -func (x *Form_Parameter) GetDefaultValue() *structpb.Value { +func (x *Form_Parameter) GetDefaultValue() *_struct.Value { if x != nil { return x.DefaultValue } @@ -1546,9 +1546,9 @@ var file_google_cloud_dialogflow_cx_v3beta1_page_proto_goTypes = []interface{}{ (*Form_Parameter)(nil), // 10: google.cloud.dialogflow.cx.v3beta1.Form.Parameter (*Form_Parameter_FillBehavior)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior (*Fulfillment)(nil), // 12: google.cloud.dialogflow.cx.v3beta1.Fulfillment - (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask - (*structpb.Value)(nil), // 14: google.protobuf.Value - (*emptypb.Empty)(nil), // 15: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 13: google.protobuf.FieldMask + (*_struct.Value)(nil), // 14: google.protobuf.Value + (*empty.Empty)(nil), // 15: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_page_proto_depIdxs = []int32{ 12, // 0: google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment:type_name -> google.cloud.dialogflow.cx.v3beta1.Fulfillment @@ -1784,7 +1784,7 @@ type PagesClient interface { // Updates the specified page. UpdatePage(ctx context.Context, in *UpdatePageRequest, opts ...grpc.CallOption) (*Page, error) // Deletes the specified page. - DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type pagesClient struct { @@ -1831,8 +1831,8 @@ func (c *pagesClient) UpdatePage(ctx context.Context, in *UpdatePageRequest, opt return out, nil } -func (c *pagesClient) DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *pagesClient) DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Pages/DeletePage", in, out, opts...) if err != nil { return nil, err @@ -1851,7 +1851,7 @@ type PagesServer interface { // Updates the specified page. UpdatePage(context.Context, *UpdatePageRequest) (*Page, error) // Deletes the specified page. - DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error) + DeletePage(context.Context, *DeletePageRequest) (*empty.Empty, error) } // UnimplementedPagesServer can be embedded to have forward compatible implementations. @@ -1870,7 +1870,7 @@ func (*UnimplementedPagesServer) CreatePage(context.Context, *CreatePageRequest) func (*UnimplementedPagesServer) UpdatePage(context.Context, *UpdatePageRequest) (*Page, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdatePage not implemented") } -func (*UnimplementedPagesServer) DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error) { +func (*UnimplementedPagesServer) DeletePage(context.Context, *DeletePageRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePage not implemented") } diff --git a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go index e0ec6437f55..9e8f605c1f4 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/response_message.proto package cxpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -121,7 +121,7 @@ func (x *ResponseMessage) GetText() *ResponseMessage_Text { return nil } -func (x *ResponseMessage) GetPayload() *structpb.Struct { +func (x *ResponseMessage) GetPayload() *_struct.Struct { if x, ok := x.GetMessage().(*ResponseMessage_Payload); ok { return x.Payload } @@ -188,7 +188,7 @@ type ResponseMessage_Text_ struct { type ResponseMessage_Payload struct { // Returns a response containing a custom, platform-specific payload. - Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3,oneof"` + Payload *_struct.Struct `protobuf:"bytes,2,opt,name=payload,proto3,oneof"` } type ResponseMessage_ConversationSuccess_ struct { @@ -337,7 +337,7 @@ type ResponseMessage_LiveAgentHandoff struct { // Custom metadata for your handoff procedure. Dialogflow doesn't impose // any structure on this. - Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *ResponseMessage_LiveAgentHandoff) Reset() { @@ -372,7 +372,7 @@ func (*ResponseMessage_LiveAgentHandoff) Descriptor() ([]byte, []int) { return file_google_cloud_dialogflow_cx_v3beta1_response_message_proto_rawDescGZIP(), []int{0, 1} } -func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { +func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *_struct.Struct { if x != nil { return x.Metadata } @@ -399,7 +399,7 @@ type ResponseMessage_ConversationSuccess struct { unknownFields protoimpl.UnknownFields // Custom metadata. Dialogflow doesn't impose any structure on this. - Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *_struct.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *ResponseMessage_ConversationSuccess) Reset() { @@ -434,7 +434,7 @@ func (*ResponseMessage_ConversationSuccess) Descriptor() ([]byte, []int) { return file_google_cloud_dialogflow_cx_v3beta1_response_message_proto_rawDescGZIP(), []int{0, 2} } -func (x *ResponseMessage_ConversationSuccess) GetMetadata() *structpb.Struct { +func (x *ResponseMessage_ConversationSuccess) GetMetadata() *_struct.Struct { if x != nil { return x.Metadata } @@ -1038,7 +1038,7 @@ var file_google_cloud_dialogflow_cx_v3beta1_response_message_proto_goTypes = []i (*ResponseMessage_MixedAudio)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio (*ResponseMessage_TelephonyTransferCall)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall (*ResponseMessage_MixedAudio_Segment)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment - (*structpb.Struct)(nil), // 10: google.protobuf.Struct + (*_struct.Struct)(nil), // 10: google.protobuf.Struct } var file_google_cloud_dialogflow_cx_v3beta1_response_message_proto_depIdxs = []int32{ 1, // 0: google.cloud.dialogflow.cx.v3beta1.ResponseMessage.text:type_name -> google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text diff --git a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go index 688a45a7d32..088d51c5f18 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/security_settings.proto package cxpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -312,7 +312,7 @@ type UpdateSecuritySettingsRequest struct { SecuritySettings *SecuritySettings `protobuf:"bytes,1,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Required. The mask to control which fields get updated. If the mask is not present, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSecuritySettingsRequest) Reset() { @@ -354,7 +354,7 @@ func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings return nil } -func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1293,8 +1293,8 @@ var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_goTypes = [] (*SecuritySettings)(nil), // 10: google.cloud.dialogflow.cx.v3beta1.SecuritySettings (*SecuritySettings_AudioExportSettings)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings (*SecuritySettings_InsightsExportSettings)(nil), // 12: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.InsightsExportSettings - (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 14: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 13: google.protobuf.FieldMask + (*empty.Empty)(nil), // 14: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_depIdxs = []int32{ 10, // 0: google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings @@ -1485,7 +1485,7 @@ type SecuritySettingsServiceClient interface { // Returns the list of all security settings in the specified location. ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. - DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type securitySettingsServiceClient struct { @@ -1532,8 +1532,8 @@ func (c *securitySettingsServiceClient) ListSecuritySettings(ctx context.Context return out, nil } -func (c *securitySettingsServiceClient) DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *securitySettingsServiceClient) DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/DeleteSecuritySettings", in, out, opts...) if err != nil { return nil, err @@ -1553,7 +1553,7 @@ type SecuritySettingsServiceServer interface { // Returns the list of all security settings in the specified location. ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. - DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) + DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*empty.Empty, error) } // UnimplementedSecuritySettingsServiceServer can be embedded to have forward compatible implementations. @@ -1572,7 +1572,7 @@ func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(contex func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListSecuritySettings not implemented") } -func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) { +func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSecuritySettings not implemented") } diff --git a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go index ea561b6292c..784a9f2622b 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/session.proto package cxpb @@ -25,6 +25,8 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -33,8 +35,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -741,7 +741,7 @@ type StreamingRecognitionResult struct { // Time offset of the end of this Speech recognition result relative to the // beginning of the audio. Only populated for `message_type` = // `TRANSCRIPT`. - SpeechEndOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"` + SpeechEndOffset *duration.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"` // Detected language code for the transcript. LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` } @@ -820,7 +820,7 @@ func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo { return nil } -func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Duration { +func (x *StreamingRecognitionResult) GetSpeechEndOffset() *duration.Duration { if x != nil { return x.SpeechEndOffset } @@ -866,7 +866,7 @@ type QueryParameters struct { // } // // ``` - Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` + Payload *_struct.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // Additional parameters to be put into [session // parameters][SessionInfo.parameters]. To remove a // parameter from the session, clients should explicitly set the parameter @@ -887,7 +887,7 @@ type QueryParameters struct { // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. - Parameters *structpb.Struct `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *_struct.Struct `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` // The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current // page][QueryResult.current_page] in the session. // Format: `projects//locations//agents/ google.cloud.dialogflow.cx.v3beta1.SessionEntityType.EntityOverrideMode @@ -1013,7 +1013,7 @@ type SessionEntityTypesClient interface { // Updates the specified session entity type. UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Deletes the specified session entity type. - DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type sessionEntityTypesClient struct { @@ -1060,8 +1060,8 @@ func (c *sessionEntityTypesClient) UpdateSessionEntityType(ctx context.Context, return out, nil } -func (c *sessionEntityTypesClient) DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *sessionEntityTypesClient) DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes/DeleteSessionEntityType", in, out, opts...) if err != nil { return nil, err @@ -1080,7 +1080,7 @@ type SessionEntityTypesServer interface { // Updates the specified session entity type. UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) // Deletes the specified session entity type. - DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error) + DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*empty.Empty, error) } // UnimplementedSessionEntityTypesServer can be embedded to have forward compatible implementations. @@ -1099,7 +1099,7 @@ func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(context.Co func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSessionEntityType not implemented") } -func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error) { +func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSessionEntityType not implemented") } diff --git a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go index ba05ae2a3dd..c505a09cd7a 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/test_case.proto package cxpb @@ -25,18 +25,18 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -352,7 +352,7 @@ type TestCase struct { // that should occur when the agent is working properly. TestCaseConversationTurns []*ConversationTurn `protobuf:"bytes,5,rep,name=test_case_conversation_turns,json=testCaseConversationTurns,proto3" json:"test_case_conversation_turns,omitempty"` // Output only. When the test was created. - CreationTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` + CreationTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // The latest test result. LastTestResult *TestCaseResult `protobuf:"bytes,12,opt,name=last_test_result,json=lastTestResult,proto3" json:"last_test_result,omitempty"` } @@ -431,7 +431,7 @@ func (x *TestCase) GetTestCaseConversationTurns() []*ConversationTurn { return nil } -func (x *TestCase) GetCreationTime() *timestamppb.Timestamp { +func (x *TestCase) GetCreationTime() *timestamp.Timestamp { if x != nil { return x.CreationTime } @@ -464,7 +464,7 @@ type TestCaseResult struct { // Whether the test case passed in the agent environment. TestResult TestResult `protobuf:"varint,4,opt,name=test_result,json=testResult,proto3,enum=google.cloud.dialogflow.cx.v3beta1.TestResult" json:"test_result,omitempty"` // The time that the test was run. - TestTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` + TestTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` } func (x *TestCaseResult) Reset() { @@ -527,7 +527,7 @@ func (x *TestCaseResult) GetTestResult() TestResult { return TestResult_TEST_RESULT_UNSPECIFIED } -func (x *TestCaseResult) GetTestTime() *timestamppb.Timestamp { +func (x *TestCaseResult) GetTestTime() *timestamp.Timestamp { if x != nil { return x.TestTime } @@ -1351,7 +1351,7 @@ type UpdateTestCaseRequest struct { // Required. The mask to specify which fields should be updated. The // [`creationTime`][google.cloud.dialogflow.cx.v3beta1.TestCase.creation_time] and // [`lastTestResult`][google.cloud.dialogflow.cx.v3beta1.TestCase.last_test_result] cannot be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTestCaseRequest) Reset() { @@ -1393,7 +1393,7 @@ func (x *UpdateTestCaseRequest) GetTestCase() *TestCase { return nil } -func (x *UpdateTestCaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTestCaseRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1784,7 +1784,7 @@ type TestError struct { // The status associated with the test. Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // The timestamp when the test was completed. - TestTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` + TestTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` } func (x *TestError) Reset() { @@ -1833,7 +1833,7 @@ func (x *TestError) GetStatus() *status.Status { return nil } -func (x *TestError) GetTestTime() *timestamppb.Timestamp { +func (x *TestError) GetTestTime() *timestamp.Timestamp { if x != nil { return x.TestTime } @@ -2574,7 +2574,7 @@ type ConversationTurn_UserInput struct { Input *QueryInput `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` // Parameters that need to be injected into the conversation during intent // detection. - InjectedParameters *structpb.Struct `protobuf:"bytes,2,opt,name=injected_parameters,json=injectedParameters,proto3" json:"injected_parameters,omitempty"` + InjectedParameters *_struct.Struct `protobuf:"bytes,2,opt,name=injected_parameters,json=injectedParameters,proto3" json:"injected_parameters,omitempty"` // If webhooks should be allowed to trigger in response to the user // utterance. Often if parameters are injected, webhooks should not be // enabled. @@ -2622,7 +2622,7 @@ func (x *ConversationTurn_UserInput) GetInput() *QueryInput { return nil } -func (x *ConversationTurn_UserInput) GetInjectedParameters() *structpb.Struct { +func (x *ConversationTurn_UserInput) GetInjectedParameters() *_struct.Struct { if x != nil { return x.InjectedParameters } @@ -2650,7 +2650,7 @@ type ConversationTurn_VirtualAgentOutput struct { unknownFields protoimpl.UnknownFields // The session parameters available to the bot at this point. - SessionParameters *structpb.Struct `protobuf:"bytes,4,opt,name=session_parameters,json=sessionParameters,proto3" json:"session_parameters,omitempty"` + SessionParameters *_struct.Struct `protobuf:"bytes,4,opt,name=session_parameters,json=sessionParameters,proto3" json:"session_parameters,omitempty"` // Output only. If this is part of a [result conversation // turn][TestCaseResult.conversation_turns], the list of differences // between the original run and the replay for this output, if any. @@ -2658,7 +2658,7 @@ type ConversationTurn_VirtualAgentOutput struct { // Required. Input only. The diagnostic // [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] // output for the turn. Required to calculate the testing coverage. - DiagnosticInfo *structpb.Struct `protobuf:"bytes,6,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"` + DiagnosticInfo *_struct.Struct `protobuf:"bytes,6,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"` // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response. Only name and displayName // will be set. TriggeredIntent *Intent `protobuf:"bytes,7,opt,name=triggered_intent,json=triggeredIntent,proto3" json:"triggered_intent,omitempty"` @@ -2704,7 +2704,7 @@ func (*ConversationTurn_VirtualAgentOutput) Descriptor() ([]byte, []int) { return file_google_cloud_dialogflow_cx_v3beta1_test_case_proto_rawDescGZIP(), []int{3, 1} } -func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *structpb.Struct { +func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *_struct.Struct { if x != nil { return x.SessionParameters } @@ -2718,7 +2718,7 @@ func (x *ConversationTurn_VirtualAgentOutput) GetDifferences() []*TestRunDiffere return nil } -func (x *ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo() *structpb.Struct { +func (x *ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo() *_struct.Struct { if x != nil { return x.DiagnosticInfo } @@ -3975,11 +3975,11 @@ var file_google_cloud_dialogflow_cx_v3beta1_test_case_proto_goTypes = []interfac (*TransitionRouteGroupCoverage_Coverage)(nil), // 42: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage (*TransitionRouteGroupCoverage_Coverage_Transition)(nil), // 43: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition (*IntentCoverage_Intent)(nil), // 44: google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent - (*timestamppb.Timestamp)(nil), // 45: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 46: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 45: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 46: google.protobuf.FieldMask (*status.Status)(nil), // 47: google.rpc.Status (*QueryInput)(nil), // 48: google.cloud.dialogflow.cx.v3beta1.QueryInput - (*structpb.Struct)(nil), // 49: google.protobuf.Struct + (*_struct.Struct)(nil), // 49: google.protobuf.Struct (*Intent)(nil), // 50: google.cloud.dialogflow.cx.v3beta1.Intent (*Page)(nil), // 51: google.cloud.dialogflow.cx.v3beta1.Page (*ResponseMessage_Text)(nil), // 52: google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text @@ -3987,7 +3987,7 @@ var file_google_cloud_dialogflow_cx_v3beta1_test_case_proto_goTypes = []interfac (*TransitionRoute)(nil), // 54: google.cloud.dialogflow.cx.v3beta1.TransitionRoute (*EventHandler)(nil), // 55: google.cloud.dialogflow.cx.v3beta1.EventHandler (*TransitionRouteGroup)(nil), // 56: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup - (*emptypb.Empty)(nil), // 57: google.protobuf.Empty + (*empty.Empty)(nil), // 57: google.protobuf.Empty (*longrunning.Operation)(nil), // 58: google.longrunning.Operation } var file_google_cloud_dialogflow_cx_v3beta1_test_case_proto_depIdxs = []int32{ @@ -4625,7 +4625,7 @@ type TestCasesClient interface { // Fetches a list of test cases for a given agent. ListTestCases(ctx context.Context, in *ListTestCasesRequest, opts ...grpc.CallOption) (*ListTestCasesResponse, error) // Batch deletes test cases. - BatchDeleteTestCases(ctx context.Context, in *BatchDeleteTestCasesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + BatchDeleteTestCases(ctx context.Context, in *BatchDeleteTestCasesRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets a test case. GetTestCase(ctx context.Context, in *GetTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error) // Creates a test case for the given agent. @@ -4696,8 +4696,8 @@ func (c *testCasesClient) ListTestCases(ctx context.Context, in *ListTestCasesRe return out, nil } -func (c *testCasesClient) BatchDeleteTestCases(ctx context.Context, in *BatchDeleteTestCasesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *testCasesClient) BatchDeleteTestCases(ctx context.Context, in *BatchDeleteTestCasesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.TestCases/BatchDeleteTestCases", in, out, opts...) if err != nil { return nil, err @@ -4800,7 +4800,7 @@ type TestCasesServer interface { // Fetches a list of test cases for a given agent. ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error) // Batch deletes test cases. - BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error) + BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*empty.Empty, error) // Gets a test case. GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error) // Creates a test case for the given agent. @@ -4861,7 +4861,7 @@ type UnimplementedTestCasesServer struct { func (*UnimplementedTestCasesServer) ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error) { return nil, status1.Errorf(codes.Unimplemented, "method ListTestCases not implemented") } -func (*UnimplementedTestCasesServer) BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error) { +func (*UnimplementedTestCasesServer) BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*empty.Empty, error) { return nil, status1.Errorf(codes.Unimplemented, "method BatchDeleteTestCases not implemented") } func (*UnimplementedTestCasesServer) GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error) { diff --git a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go index 8729c05f5da..ef4bd62e259 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto package cxpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -426,7 +426,7 @@ type UpdateTransitionRouteGroupRequest struct { // Required. The transition route group to update. TransitionRouteGroup *TransitionRouteGroup `protobuf:"bytes,1,opt,name=transition_route_group,json=transitionRouteGroup,proto3" json:"transition_route_group,omitempty"` // The mask to control which fields get updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The language of the following fields in `TransitionRouteGroup`: // // * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` @@ -480,7 +480,7 @@ func (x *UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup() *Transitio return nil } -func (x *UpdateTransitionRouteGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTransitionRouteGroupRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -816,8 +816,8 @@ var file_google_cloud_dialogflow_cx_v3beta1_transition_route_group_proto_goTypes (*UpdateTransitionRouteGroupRequest)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.UpdateTransitionRouteGroupRequest (*DeleteTransitionRouteGroupRequest)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.DeleteTransitionRouteGroupRequest (*TransitionRoute)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.TransitionRoute - (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 9: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 8: google.protobuf.FieldMask + (*empty.Empty)(nil), // 9: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_transition_route_group_proto_depIdxs = []int32{ 7, // 0: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup.transition_routes:type_name -> google.cloud.dialogflow.cx.v3beta1.TransitionRoute @@ -987,7 +987,7 @@ type TransitionRouteGroupsClient interface { // Note: You should always train a flow prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). - DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type transitionRouteGroupsClient struct { @@ -1034,8 +1034,8 @@ func (c *transitionRouteGroupsClient) UpdateTransitionRouteGroup(ctx context.Con return out, nil } -func (c *transitionRouteGroupsClient) DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *transitionRouteGroupsClient) DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups/DeleteTransitionRouteGroup", in, out, opts...) if err != nil { return nil, err @@ -1066,7 +1066,7 @@ type TransitionRouteGroupsServer interface { // Note: You should always train a flow prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). - DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error) + DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*empty.Empty, error) } // UnimplementedTransitionRouteGroupsServer can be embedded to have forward compatible implementations. @@ -1085,7 +1085,7 @@ func (*UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup(cont func (*UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateTransitionRouteGroup not implemented") } -func (*UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error) { +func (*UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTransitionRouteGroup not implemented") } diff --git a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go index 87c14034b39..9bb0f17ae2b 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/validation_message.proto package cxpb diff --git a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go index c095b827959..f8c16f70f64 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/version.proto package cxpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -171,7 +171,7 @@ type Version struct { // Output only. The NLU settings of the flow at version creation. NluSettings *NluSettings `protobuf:"bytes,4,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"` // Output only. Create time of the version. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The state of this version. This field is read-only and cannot be set by // create and update methods. State Version_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3beta1.Version_State" json:"state,omitempty"` @@ -237,7 +237,7 @@ func (x *Version) GetNluSettings() *NluSettings { return nil } -func (x *Version) GetCreateTime() *timestamppb.Timestamp { +func (x *Version) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -503,7 +503,7 @@ type UpdateVersionRequest struct { Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Required. The mask to control which fields get updated. Currently only `description` // and `display_name` can be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateVersionRequest) Reset() { @@ -545,7 +545,7 @@ func (x *UpdateVersionRequest) GetVersion() *Version { return nil } -func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateVersionRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -757,7 +757,7 @@ type CompareVersionsResponse struct { // JSON representation of the target version content. TargetVersionContentJson string `protobuf:"bytes,2,opt,name=target_version_content_json,json=targetVersionContentJson,proto3" json:"target_version_content_json,omitempty"` // The timestamp when the two version compares. - CompareTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"` + CompareTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"` } func (x *CompareVersionsResponse) Reset() { @@ -806,7 +806,7 @@ func (x *CompareVersionsResponse) GetTargetVersionContentJson() string { return "" } -func (x *CompareVersionsResponse) GetCompareTime() *timestamppb.Timestamp { +func (x *CompareVersionsResponse) GetCompareTime() *timestamp.Timestamp { if x != nil { return x.CompareTime } @@ -1119,10 +1119,10 @@ var file_google_cloud_dialogflow_cx_v3beta1_version_proto_goTypes = []interface{ (*CompareVersionsRequest)(nil), // 10: google.cloud.dialogflow.cx.v3beta1.CompareVersionsRequest (*CompareVersionsResponse)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.CompareVersionsResponse (*NluSettings)(nil), // 12: google.cloud.dialogflow.cx.v3beta1.NluSettings - (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 14: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 15: google.longrunning.Operation - (*emptypb.Empty)(nil), // 16: google.protobuf.Empty + (*empty.Empty)(nil), // 16: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_version_proto_depIdxs = []int32{ 12, // 0: google.cloud.dialogflow.cx.v3beta1.Version.nlu_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.NluSettings @@ -1343,7 +1343,7 @@ type VersionsClient interface { // Updates the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, error) // Deletes the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. - DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Loads resources in the specified version to the draft flow. // // This method is a [long-running @@ -1403,8 +1403,8 @@ func (c *versionsClient) UpdateVersion(ctx context.Context, in *UpdateVersionReq return out, nil } -func (c *versionsClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *versionsClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Versions/DeleteVersion", in, out, opts...) if err != nil { return nil, err @@ -1448,7 +1448,7 @@ type VersionsServer interface { // Updates the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error) // Deletes the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. - DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error) + DeleteVersion(context.Context, *DeleteVersionRequest) (*empty.Empty, error) // Loads resources in the specified version to the draft flow. // // This method is a [long-running @@ -1480,7 +1480,7 @@ func (*UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersio func (*UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateVersion not implemented") } -func (*UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error) { +func (*UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteVersion not implemented") } func (*UnimplementedVersionsServer) LoadVersion(context.Context, *LoadVersionRequest) (*longrunning.Operation, error) { diff --git a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go index 3b9062e9a76..cdc15cc11dd 100644 --- a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/dialogflow/cx/v3beta1/webhook.proto package cxpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + empty "github.com/golang/protobuf/ptypes/empty" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -185,7 +185,7 @@ type Webhook struct { // Webhook execution timeout. Execution is considered failed if Dialogflow // doesn't receive a response from webhook at the end of the timeout period. // Defaults to 5 seconds, maximum allowed timeout is 30 seconds. - Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *duration.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` // Indicates whether the webhook is disabled. Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` } @@ -257,7 +257,7 @@ func (x *Webhook) GetServiceDirectory() *Webhook_ServiceDirectoryConfig { return nil } -func (x *Webhook) GetTimeout() *durationpb.Duration { +func (x *Webhook) GetTimeout() *duration.Duration { if x != nil { return x.Timeout } @@ -539,7 +539,7 @@ type UpdateWebhookRequest struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateWebhookRequest) Reset() { @@ -581,7 +581,7 @@ func (x *UpdateWebhookRequest) GetWebhook() *Webhook { return nil } -func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateWebhookRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -695,7 +695,7 @@ type WebhookRequest struct { // [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response]; Messages []*ResponseMessage `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"` // Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload]. - Payload *structpb.Struct `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` + Payload *_struct.Struct `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // The sentiment analysis result of the current user request. The field is // filled when sentiment analysis is configured to be enabled for the request. SentimentAnalysisResult *WebhookRequest_SentimentAnalysisResult `protobuf:"bytes,9,opt,name=sentiment_analysis_result,json=sentimentAnalysisResult,proto3" json:"sentiment_analysis_result,omitempty"` @@ -817,7 +817,7 @@ func (x *WebhookRequest) GetMessages() []*ResponseMessage { return nil } -func (x *WebhookRequest) GetPayload() *structpb.Struct { +func (x *WebhookRequest) GetPayload() *_struct.Struct { if x != nil { return x.Payload } @@ -885,7 +885,7 @@ type WebhookResponse struct { // if it does not intend to modify session status. SessionInfo *SessionInfo `protobuf:"bytes,3,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` // Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads]. - Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` + Payload *_struct.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // The target to transition to. This can be set optionally to indicate an // immediate transition to a different page in the same host flow, or a // different flow in the same agent. @@ -950,7 +950,7 @@ func (x *WebhookResponse) GetSessionInfo() *SessionInfo { return nil } -func (x *WebhookResponse) GetPayload() *structpb.Struct { +func (x *WebhookResponse) GetPayload() *_struct.Struct { if x != nil { return x.Payload } @@ -1092,7 +1092,7 @@ type SessionInfo struct { // parameter from the session, the webhook should explicitly set the parameter // value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters' // display names. - Parameters map[string]*structpb.Value `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Parameters map[string]*_struct.Value `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *SessionInfo) Reset() { @@ -1134,7 +1134,7 @@ func (x *SessionInfo) GetSession() string { return "" } -func (x *SessionInfo) GetParameters() map[string]*structpb.Value { +func (x *SessionInfo) GetParameters() map[string]*_struct.Value { if x != nil { return x.Parameters } @@ -1518,7 +1518,7 @@ type WebhookRequest_IntentInfo_IntentParameterValue struct { OriginalValue string `protobuf:"bytes,1,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"` // Always present. Structured value for the parameter extracted from user // utterance. - ResolvedValue *structpb.Value `protobuf:"bytes,2,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"` + ResolvedValue *_struct.Value `protobuf:"bytes,2,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"` } func (x *WebhookRequest_IntentInfo_IntentParameterValue) Reset() { @@ -1560,7 +1560,7 @@ func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue() stri return "" } -func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue() *structpb.Value { +func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue() *_struct.Value { if x != nil { return x.ResolvedValue } @@ -1701,7 +1701,7 @@ type PageInfo_FormInfo_ParameterInfo struct { // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // The value of the parameter. This field can be set by the webhook to // change the parameter value. - Value *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + Value *_struct.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. // Indicates if the parameter value was just collected on the last // conversation turn. @@ -1761,7 +1761,7 @@ func (x *PageInfo_FormInfo_ParameterInfo) GetState() PageInfo_FormInfo_Parameter return PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED } -func (x *PageInfo_FormInfo_ParameterInfo) GetValue() *structpb.Value { +func (x *PageInfo_FormInfo_ParameterInfo) GetValue() *_struct.Value { if x != nil { return x.Value } @@ -2267,12 +2267,12 @@ var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_goTypes = []interface{ (*PageInfo_FormInfo)(nil), // 22: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo (*PageInfo_FormInfo_ParameterInfo)(nil), // 23: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo nil, // 24: google.cloud.dialogflow.cx.v3beta1.SessionInfo.ParametersEntry - (*durationpb.Duration)(nil), // 25: google.protobuf.Duration - (*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask + (*duration.Duration)(nil), // 25: google.protobuf.Duration + (*field_mask.FieldMask)(nil), // 26: google.protobuf.FieldMask (*ResponseMessage)(nil), // 27: google.cloud.dialogflow.cx.v3beta1.ResponseMessage - (*structpb.Struct)(nil), // 28: google.protobuf.Struct - (*structpb.Value)(nil), // 29: google.protobuf.Value - (*emptypb.Empty)(nil), // 30: google.protobuf.Empty + (*_struct.Struct)(nil), // 28: google.protobuf.Struct + (*_struct.Value)(nil), // 29: google.protobuf.Value + (*empty.Empty)(nil), // 30: google.protobuf.Empty } var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_depIdxs = []int32{ 13, // 0: google.cloud.dialogflow.cx.v3beta1.Webhook.generic_web_service:type_name -> google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService @@ -2627,7 +2627,7 @@ type WebhooksClient interface { // Updates the specified webhook. UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) // Deletes the specified webhook. - DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type webhooksClient struct { @@ -2674,8 +2674,8 @@ func (c *webhooksClient) UpdateWebhook(ctx context.Context, in *UpdateWebhookReq return out, nil } -func (c *webhooksClient) DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *webhooksClient) DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Webhooks/DeleteWebhook", in, out, opts...) if err != nil { return nil, err @@ -2694,7 +2694,7 @@ type WebhooksServer interface { // Updates the specified webhook. UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error) // Deletes the specified webhook. - DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error) + DeleteWebhook(context.Context, *DeleteWebhookRequest) (*empty.Empty, error) } // UnimplementedWebhooksServer can be embedded to have forward compatible implementations. @@ -2713,7 +2713,7 @@ func (*UnimplementedWebhooksServer) CreateWebhook(context.Context, *CreateWebhoo func (*UnimplementedWebhooksServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateWebhook not implemented") } -func (*UnimplementedWebhooksServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error) { +func (*UnimplementedWebhooksServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWebhook not implemented") } diff --git a/dialogflow/cx/apiv3beta1/environments_client.go b/dialogflow/cx/apiv3beta1/environments_client.go index 127f5249344..5425e54ac4e 100644 --- a/dialogflow/cx/apiv3beta1/environments_client.go +++ b/dialogflow/cx/apiv3beta1/environments_client.go @@ -29,6 +29,7 @@ import ( cxpb "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb" "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -43,7 +44,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newEnvironmentsClientHook clientHook diff --git a/dialogflow/cx/apiv3beta1/flows_client.go b/dialogflow/cx/apiv3beta1/flows_client.go index ce3a3c54cf7..e21a6113d1b 100644 --- a/dialogflow/cx/apiv3beta1/flows_client.go +++ b/dialogflow/cx/apiv3beta1/flows_client.go @@ -29,6 +29,7 @@ import ( cxpb "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb" "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -43,7 +44,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newFlowsClientHook clientHook diff --git a/dialogflow/cx/apiv3beta1/versions_client.go b/dialogflow/cx/apiv3beta1/versions_client.go index 723fd6cef03..98c2dd4fc20 100644 --- a/dialogflow/cx/apiv3beta1/versions_client.go +++ b/dialogflow/cx/apiv3beta1/versions_client.go @@ -29,6 +29,7 @@ import ( cxpb "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb" "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + structpb "github.com/golang/protobuf/ptypes/struct" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -43,7 +44,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - structpb "google.golang.org/protobuf/types/known/structpb" ) var newVersionsClientHook clientHook diff --git a/documentai/apiv1beta3/documentaipb/barcode.pb.go b/documentai/apiv1beta3/documentaipb/barcode.pb.go index 52b2c83ad99..b8ca4b49e36 100644 --- a/documentai/apiv1beta3/documentaipb/barcode.pb.go +++ b/documentai/apiv1beta3/documentaipb/barcode.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/barcode.proto package documentaipb diff --git a/documentai/apiv1beta3/documentaipb/document.pb.go b/documentai/apiv1beta3/documentaipb/document.pb.go index be749f16deb..1e9e5cfedb7 100644 --- a/documentai/apiv1beta3/documentaipb/document.pb.go +++ b/documentai/apiv1beta3/documentaipb/document.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/document.proto package documentaipb @@ -24,6 +24,7 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -33,7 +34,6 @@ import ( postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -1306,7 +1306,7 @@ type Document_Revision struct { // `provenance.parent.revision` fields that index into this field. ParentIds []string `protobuf:"bytes,7,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // The time that the revision was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Human Review information of this revision. HumanReview *Document_Revision_HumanReview `protobuf:"bytes,6,opt,name=human_review,json=humanReview,proto3" json:"human_review,omitempty"` } @@ -1386,7 +1386,7 @@ func (x *Document_Revision) GetParentIds() []string { return nil } -func (x *Document_Revision) GetCreateTime() *timestamppb.Timestamp { +func (x *Document_Revision) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -3943,7 +3943,7 @@ var file_google_cloud_documentai_v1beta3_document_proto_goTypes = []interface{}{ (*Document_Revision_HumanReview)(nil), // 37: google.cloud.documentai.v1beta3.Document.Revision.HumanReview (*status.Status)(nil), // 38: google.rpc.Status (*color.Color)(nil), // 39: google.type.Color - (*timestamppb.Timestamp)(nil), // 40: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 40: google.protobuf.Timestamp (*BoundingPoly)(nil), // 41: google.cloud.documentai.v1beta3.BoundingPoly (*Barcode)(nil), // 42: google.cloud.documentai.v1beta3.Barcode (*money.Money)(nil), // 43: google.type.Money diff --git a/documentai/apiv1beta3/documentaipb/document_io.pb.go b/documentai/apiv1beta3/documentaipb/document_io.pb.go index 7ed3e04fc41..faca82dea33 100644 --- a/documentai/apiv1beta3/documentaipb/document_io.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_io.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/document_io.proto package documentaipb diff --git a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go index de821463079..02f54ac53b0 100644 --- a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/document_processor_service.proto package documentaipb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -373,7 +373,7 @@ type ProcessRequest struct { // false. SkipHumanReview bool `protobuf:"varint,3,opt,name=skip_human_review,json=skipHumanReview,proto3" json:"skip_human_review,omitempty"` // Specifies which fields to include in ProcessResponse's document. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` } func (x *ProcessRequest) Reset() { @@ -451,7 +451,7 @@ func (x *ProcessRequest) GetSkipHumanReview() bool { return false } -func (x *ProcessRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ProcessRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -776,9 +776,9 @@ type BatchProcessMetadata struct { // For example, the error message if the operation is failed. StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` // The creation time of the operation. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last update time of the operation. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The list of response details of each document. IndividualProcessStatuses []*BatchProcessMetadata_IndividualProcessStatus `protobuf:"bytes,5,rep,name=individual_process_statuses,json=individualProcessStatuses,proto3" json:"individual_process_statuses,omitempty"` } @@ -829,14 +829,14 @@ func (x *BatchProcessMetadata) GetStateMessage() string { return "" } -func (x *BatchProcessMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *BatchProcessMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *BatchProcessMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *BatchProcessMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2593,9 +2593,9 @@ type ReviewDocumentOperationMetadata struct { // For example, the error message if the operation is failed. StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` // The creation time of the operation. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last update time of the operation. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The basic metadata of the long running operation. CommonMetadata *CommonOperationMetadata `protobuf:"bytes,5,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"` // The Crowd Compute question ID. @@ -2648,14 +2648,14 @@ func (x *ReviewDocumentOperationMetadata) GetStateMessage() string { return "" } -func (x *ReviewDocumentOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ReviewDocumentOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ReviewDocumentOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *ReviewDocumentOperationMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -3755,10 +3755,10 @@ var file_google_cloud_documentai_v1beta3_document_processor_service_proto_goType (*BatchProcessMetadata_IndividualProcessStatus)(nil), // 46: google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus (*Document)(nil), // 47: google.cloud.documentai.v1beta3.Document (*RawDocument)(nil), // 48: google.cloud.documentai.v1beta3.RawDocument - (*fieldmaskpb.FieldMask)(nil), // 49: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 49: google.protobuf.FieldMask (*BatchDocumentsInputConfig)(nil), // 50: google.cloud.documentai.v1beta3.BatchDocumentsInputConfig (*DocumentOutputConfig)(nil), // 51: google.cloud.documentai.v1beta3.DocumentOutputConfig - (*timestamppb.Timestamp)(nil), // 52: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 52: google.protobuf.Timestamp (*ProcessorType)(nil), // 53: google.cloud.documentai.v1beta3.ProcessorType (*Processor)(nil), // 54: google.cloud.documentai.v1beta3.Processor (*ProcessorVersion)(nil), // 55: google.cloud.documentai.v1beta3.ProcessorVersion diff --git a/documentai/apiv1beta3/documentaipb/document_schema.pb.go b/documentai/apiv1beta3/documentaipb/document_schema.pb.go index 5b5afdc21c1..334cbf0bf08 100644 --- a/documentai/apiv1beta3/documentaipb/document_schema.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_schema.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/document_schema.proto package documentaipb diff --git a/documentai/apiv1beta3/documentaipb/geometry.pb.go b/documentai/apiv1beta3/documentaipb/geometry.pb.go index 9c7055cbc0a..948eadff46b 100644 --- a/documentai/apiv1beta3/documentaipb/geometry.pb.go +++ b/documentai/apiv1beta3/documentaipb/geometry.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/geometry.proto package documentaipb diff --git a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go index 7ed19942905..923abf6ebbc 100644 --- a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/operation_metadata.proto package documentaipb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -114,9 +114,9 @@ type CommonOperationMetadata struct { // A related resource to this operation. Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` // The creation time of the operation. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last update time of the operation. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *CommonOperationMetadata) Reset() { @@ -172,14 +172,14 @@ func (x *CommonOperationMetadata) GetResource() string { return "" } -func (x *CommonOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *CommonOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *CommonOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *CommonOperationMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -257,7 +257,7 @@ var file_google_cloud_documentai_v1beta3_operation_metadata_proto_msgTypes = mak var file_google_cloud_documentai_v1beta3_operation_metadata_proto_goTypes = []interface{}{ (CommonOperationMetadata_State)(0), // 0: google.cloud.documentai.v1beta3.CommonOperationMetadata.State (*CommonOperationMetadata)(nil), // 1: google.cloud.documentai.v1beta3.CommonOperationMetadata - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_documentai_v1beta3_operation_metadata_proto_depIdxs = []int32{ 0, // 0: google.cloud.documentai.v1beta3.CommonOperationMetadata.state:type_name -> google.cloud.documentai.v1beta3.CommonOperationMetadata.State diff --git a/documentai/apiv1beta3/documentaipb/processor.pb.go b/documentai/apiv1beta3/documentaipb/processor.pb.go index 58698a1f3b2..c7f6ff94555 100644 --- a/documentai/apiv1beta3/documentaipb/processor.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/processor.proto package documentaipb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -210,7 +210,7 @@ type ProcessorVersion struct { // The state of the processor version. State ProcessorVersion_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.documentai.v1beta3.ProcessorVersion_State" json:"state,omitempty"` // The time the processor version was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The KMS key name used for encryption. KmsKeyName string `protobuf:"bytes,9,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // The KMS key version with which data is encrypted. @@ -274,7 +274,7 @@ func (x *ProcessorVersion) GetState() ProcessorVersion_State { return ProcessorVersion_STATE_UNSPECIFIED } -func (x *ProcessorVersion) GetCreateTime() *timestamppb.Timestamp { +func (x *ProcessorVersion) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -332,7 +332,7 @@ type Processor struct { // Output only. Immutable. The http endpoint that can be called to invoke processing. ProcessEndpoint string `protobuf:"bytes,6,opt,name=process_endpoint,json=processEndpoint,proto3" json:"process_endpoint,omitempty"` // The time the processor was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The KMS key used for encryption/decryption in CMEK scenarios. // See https://cloud.google.com/security-key-management. KmsKeyName string `protobuf:"bytes,8,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` @@ -412,7 +412,7 @@ func (x *Processor) GetProcessEndpoint() string { return "" } -func (x *Processor) GetCreateTime() *timestamppb.Timestamp { +func (x *Processor) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -433,7 +433,7 @@ type ProcessorVersion_DeprecationInfo struct { unknownFields protoimpl.UnknownFields // The time at which this processor version will be deprecated. - DeprecationTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=deprecation_time,json=deprecationTime,proto3" json:"deprecation_time,omitempty"` + DeprecationTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=deprecation_time,json=deprecationTime,proto3" json:"deprecation_time,omitempty"` // If set, the processor version that will be used as a replacement. ReplacementProcessorVersion string `protobuf:"bytes,2,opt,name=replacement_processor_version,json=replacementProcessorVersion,proto3" json:"replacement_processor_version,omitempty"` } @@ -470,7 +470,7 @@ func (*ProcessorVersion_DeprecationInfo) Descriptor() ([]byte, []int) { return file_google_cloud_documentai_v1beta3_processor_proto_rawDescGZIP(), []int{0, 0} } -func (x *ProcessorVersion_DeprecationInfo) GetDeprecationTime() *timestamppb.Timestamp { +func (x *ProcessorVersion_DeprecationInfo) GetDeprecationTime() *timestamp.Timestamp { if x != nil { return x.DeprecationTime } @@ -637,7 +637,7 @@ var file_google_cloud_documentai_v1beta3_processor_proto_goTypes = []interface{} (*ProcessorVersion)(nil), // 2: google.cloud.documentai.v1beta3.ProcessorVersion (*Processor)(nil), // 3: google.cloud.documentai.v1beta3.Processor (*ProcessorVersion_DeprecationInfo)(nil), // 4: google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp } var file_google_cloud_documentai_v1beta3_processor_proto_depIdxs = []int32{ 0, // 0: google.cloud.documentai.v1beta3.ProcessorVersion.state:type_name -> google.cloud.documentai.v1beta3.ProcessorVersion.State diff --git a/documentai/apiv1beta3/documentaipb/processor_type.pb.go b/documentai/apiv1beta3/documentaipb/processor_type.pb.go index 521cdeef406..edbb8c9005b 100644 --- a/documentai/apiv1beta3/documentaipb/processor_type.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor_type.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/documentai/v1beta3/processor_type.proto package documentaipb diff --git a/domains/apiv1beta1/domainspb/domains.pb.go b/domains/apiv1beta1/domainspb/domains.pb.go index af0fb5bd541..337b40b42a3 100644 --- a/domains/apiv1beta1/domainspb/domains.pb.go +++ b/domains/apiv1beta1/domainspb/domains.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/domains/v1beta1/domains.proto package domainspb @@ -25,17 +25,17 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" money "google.golang.org/genproto/googleapis/type/money" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -799,9 +799,9 @@ type Registration struct { // Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format. DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` // Output only. The creation timestamp of the `Registration` resource. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The expiration timestamp of the `Registration`. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Output only. The state of the `Registration` State Registration_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.domains.v1beta1.Registration_State" json:"state,omitempty"` // Output only. The set of issues with the `Registration` that require attention. @@ -880,14 +880,14 @@ func (x *Registration) GetDomainName() string { return "" } -func (x *Registration) GetCreateTime() *timestamppb.Timestamp { +func (x *Registration) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Registration) GetExpireTime() *timestamppb.Timestamp { +func (x *Registration) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -1934,7 +1934,7 @@ type UpdateRegistrationRequest struct { // Required. The field mask describing which fields to update as a comma-separated list. // For example, if only the labels are being updated, the `update_mask` is // `"labels"`. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateRegistrationRequest) Reset() { @@ -1976,7 +1976,7 @@ func (x *UpdateRegistrationRequest) GetRegistration() *Registration { return nil } -func (x *UpdateRegistrationRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateRegistrationRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1997,7 +1997,7 @@ type ConfigureManagementSettingsRequest struct { // Required. The field mask describing which fields to update as a comma-separated list. // For example, if only the transfer lock is being updated, the `update_mask` // is `"transfer_lock_state"`. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *ConfigureManagementSettingsRequest) Reset() { @@ -2046,7 +2046,7 @@ func (x *ConfigureManagementSettingsRequest) GetManagementSettings() *Management return nil } -func (x *ConfigureManagementSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ConfigureManagementSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2073,7 +2073,7 @@ type ConfigureDnsSettingsRequest struct { // provider's field name as part of the field mask. For example, when changing // from a Google Domains DNS configuration to a Custom DNS configuration, the // `update_mask` is `"custom_dns"`. // - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Validate the request without actually updating the DNS settings. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` } @@ -2124,7 +2124,7 @@ func (x *ConfigureDnsSettingsRequest) GetDnsSettings() *DnsSettings { return nil } -func (x *ConfigureDnsSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ConfigureDnsSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2152,7 +2152,7 @@ type ConfigureContactSettingsRequest struct { // Required. The field mask describing which fields to update as a comma-separated list. // For example, if only the registrant contact is being updated, the // `update_mask` is `"registrant_contact"`. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The list of contact notices that the caller acknowledges. The notices // needed here depend on the values specified in `contact_settings`. ContactNotices []ContactNotice `protobuf:"varint,4,rep,packed,name=contact_notices,json=contactNotices,proto3,enum=google.cloud.domains.v1beta1.ContactNotice" json:"contact_notices,omitempty"` @@ -2206,7 +2206,7 @@ func (x *ConfigureContactSettingsRequest) GetContactSettings() *ContactSettings return nil } -func (x *ConfigureContactSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ConfigureContactSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2667,9 +2667,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Name of the verb executed by the operation. @@ -2712,14 +2712,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{26} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -4028,9 +4028,9 @@ var file_google_cloud_domains_v1beta1_domains_proto_goTypes = []interface{}{ (*DnsSettings_DsRecord)(nil), // 41: google.cloud.domains.v1beta1.DnsSettings.DsRecord (*DnsSettings_GlueRecord)(nil), // 42: google.cloud.domains.v1beta1.DnsSettings.GlueRecord (*ContactSettings_Contact)(nil), // 43: google.cloud.domains.v1beta1.ContactSettings.Contact - (*timestamppb.Timestamp)(nil), // 44: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 44: google.protobuf.Timestamp (*money.Money)(nil), // 45: google.type.Money - (*fieldmaskpb.FieldMask)(nil), // 46: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 46: google.protobuf.FieldMask (*postaladdress.PostalAddress)(nil), // 47: google.type.PostalAddress (*longrunning.Operation)(nil), // 48: google.longrunning.Operation } diff --git a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go index c55d8e513c7..15ef1996f0a 100644 --- a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/edgecontainer/v1/resources.proto package edgecontainerpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -212,9 +212,9 @@ type Cluster struct { // Required. The resource name of the cluster. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the cluster was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the cluster was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels associated with this resource. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. Fleet configuration. @@ -279,14 +279,14 @@ func (x *Cluster) GetName() string { return "" } -func (x *Cluster) GetCreateTime() *timestamppb.Timestamp { +func (x *Cluster) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Cluster) GetUpdateTime() *timestamppb.Timestamp { +func (x *Cluster) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -603,9 +603,9 @@ type NodePool struct { // Required. The resource name of the node pool. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the node pool was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the node pool was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels associated with this resource. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Name of the Google Distributed Cloud Edge zone where this node pool will be @@ -663,14 +663,14 @@ func (x *NodePool) GetName() string { return "" } -func (x *NodePool) GetCreateTime() *timestamppb.Timestamp { +func (x *NodePool) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *NodePool) GetUpdateTime() *timestamppb.Timestamp { +func (x *NodePool) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -729,9 +729,9 @@ type Machine struct { // Required. The resource name of the machine. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the node pool was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the node pool was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels associated with this resource. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Canonical resource name of the node that this machine is responsible for @@ -784,14 +784,14 @@ func (x *Machine) GetName() string { return "" } -func (x *Machine) GetCreateTime() *timestamppb.Timestamp { +func (x *Machine) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Machine) GetUpdateTime() *timestamppb.Timestamp { +func (x *Machine) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -835,9 +835,9 @@ type VpnConnection struct { // Required. The resource name of VPN connection Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the VPN connection was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the VPN connection was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels associated with this resource. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the @@ -902,14 +902,14 @@ func (x *VpnConnection) GetName() string { return "" } -func (x *VpnConnection) GetCreateTime() *timestamppb.Timestamp { +func (x *VpnConnection) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *VpnConnection) GetUpdateTime() *timestamppb.Timestamp { +func (x *VpnConnection) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1304,10 +1304,10 @@ type TimeWindow struct { unknownFields protoimpl.UnknownFields // The time that the window first starts. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time that the window ends. The end time must take place after the // start time. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *TimeWindow) Reset() { @@ -1342,14 +1342,14 @@ func (*TimeWindow) Descriptor() ([]byte, []int) { return file_google_cloud_edgecontainer_v1_resources_proto_rawDescGZIP(), []int{14} } -func (x *TimeWindow) GetStartTime() *timestamppb.Timestamp { +func (x *TimeWindow) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *TimeWindow) GetEndTime() *timestamppb.Timestamp { +func (x *TimeWindow) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2115,7 +2115,7 @@ var file_google_cloud_edgecontainer_v1_resources_proto_goTypes = []interface{}{ (*VpnConnection_Details_CloudRouter)(nil), // 25: google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter (*VpnConnection_Details_CloudVpn)(nil), // 26: google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn nil, // 27: google.cloud.edgecontainer.v1.LocationMetadata.AvailableZonesEntry - (*timestamppb.Timestamp)(nil), // 28: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 28: google.protobuf.Timestamp (*status.Status)(nil), // 29: google.rpc.Status } var file_google_cloud_edgecontainer_v1_resources_proto_depIdxs = []int32{ diff --git a/edgecontainer/apiv1/edgecontainerpb/service.pb.go b/edgecontainer/apiv1/edgecontainerpb/service.pb.go index 7fc7e72f5ac..2b6776fcd20 100644 --- a/edgecontainer/apiv1/edgecontainerpb/service.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/edgecontainer/v1/service.proto package edgecontainerpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -50,9 +50,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // The verb executed by the operation. @@ -100,14 +100,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_edgecontainer_v1_service_proto_rawDescGZIP(), []int{0} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -440,7 +440,7 @@ type UpdateClusterRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The updated cluster. Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // A unique identifier for this request. Restricted to 36 ASCII characters. @@ -481,7 +481,7 @@ func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { return file_google_cloud_edgecontainer_v1_service_proto_rawDescGZIP(), []int{5} } -func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -620,7 +620,7 @@ type GenerateAccessTokenResponse struct { // Output only. Access token to authenticate to k8s api-server. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Output only. Timestamp at which the token will expire. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` } func (x *GenerateAccessTokenResponse) Reset() { @@ -662,7 +662,7 @@ func (x *GenerateAccessTokenResponse) GetAccessToken() string { return "" } -func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestamp { +func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -959,7 +959,7 @@ type UpdateNodePoolRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The updated node pool. NodePool *NodePool `protobuf:"bytes,2,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"` // A unique identifier for this request. Restricted to 36 ASCII characters. A @@ -1000,7 +1000,7 @@ func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { return file_google_cloud_edgecontainer_v1_service_proto_rawDescGZIP(), []int{13} } -func (x *UpdateNodePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateNodePoolRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2170,9 +2170,9 @@ var file_google_cloud_edgecontainer_v1_service_proto_goTypes = []interface{}{ (*GetVpnConnectionRequest)(nil), // 20: google.cloud.edgecontainer.v1.GetVpnConnectionRequest (*CreateVpnConnectionRequest)(nil), // 21: google.cloud.edgecontainer.v1.CreateVpnConnectionRequest (*DeleteVpnConnectionRequest)(nil), // 22: google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest - (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 23: google.protobuf.Timestamp (*Cluster)(nil), // 24: google.cloud.edgecontainer.v1.Cluster - (*fieldmaskpb.FieldMask)(nil), // 25: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 25: google.protobuf.FieldMask (*NodePool)(nil), // 26: google.cloud.edgecontainer.v1.NodePool (*Machine)(nil), // 27: google.cloud.edgecontainer.v1.Machine (*VpnConnection)(nil), // 28: google.cloud.edgecontainer.v1.VpnConnection diff --git a/functions/apiv2beta/functionspb/functions.pb.go b/functions/apiv2beta/functionspb/functions.pb.go index 0eb445860a1..cbf3f264de3 100644 --- a/functions/apiv2beta/functionspb/functions.pb.go +++ b/functions/apiv2beta/functionspb/functions.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/functions/v2beta/functions.proto package functionspb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + any1 "github.com/golang/protobuf/ptypes/any" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -614,7 +614,7 @@ type Function struct { // Output only. State of the function. State Function_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.functions.v2beta.Function_State" json:"state,omitempty"` // Output only. The last update timestamp of a Cloud Function. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Labels associated with this Cloud Function. Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. State Messages for this Cloud Function. @@ -702,7 +702,7 @@ func (x *Function) GetState() Function_State { return Function_STATE_UNSPECIFIED } -func (x *Function) GetUpdateTime() *timestamppb.Timestamp { +func (x *Function) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2186,7 +2186,7 @@ type UpdateFunctionRequest struct { // The list of fields to be updated. // If no field mask is provided, all provided fields in the request will be // updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateFunctionRequest) Reset() { @@ -2228,7 +2228,7 @@ func (x *UpdateFunctionRequest) GetFunction() *Function { return nil } -func (x *UpdateFunctionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateFunctionRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2617,9 +2617,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Name of the verb executed by the operation. @@ -2634,7 +2634,7 @@ type OperationMetadata struct { // API version used to start the operation. ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The original request that started the operation. - RequestResource *anypb.Any `protobuf:"bytes,8,opt,name=request_resource,json=requestResource,proto3" json:"request_resource,omitempty"` + RequestResource *any1.Any `protobuf:"bytes,8,opt,name=request_resource,json=requestResource,proto3" json:"request_resource,omitempty"` // Mechanism for reporting in-progress stages Stages []*Stage `protobuf:"bytes,9,rep,name=stages,proto3" json:"stages,omitempty"` } @@ -2671,14 +2671,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_functions_v2beta_functions_proto_rawDescGZIP(), []int{24} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2720,7 +2720,7 @@ func (x *OperationMetadata) GetApiVersion() string { return "" } -func (x *OperationMetadata) GetRequestResource() *anypb.Any { +func (x *OperationMetadata) GetRequestResource() *any1.Any { if x != nil { return x.RequestResource } @@ -3740,9 +3740,9 @@ var file_google_cloud_functions_v2beta_functions_proto_goTypes = []interface{}{ nil, // 37: google.cloud.functions.v2beta.ServiceConfig.EnvironmentVariablesEntry (*SecretVolume_SecretVersion)(nil), // 38: google.cloud.functions.v2beta.SecretVolume.SecretVersion (*ListRuntimesResponse_Runtime)(nil), // 39: google.cloud.functions.v2beta.ListRuntimesResponse.Runtime - (*timestamppb.Timestamp)(nil), // 40: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 41: google.protobuf.FieldMask - (*anypb.Any)(nil), // 42: google.protobuf.Any + (*timestamp.Timestamp)(nil), // 40: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 41: google.protobuf.FieldMask + (*any1.Any)(nil), // 42: google.protobuf.Any (*longrunning.Operation)(nil), // 43: google.longrunning.Operation } var file_google_cloud_functions_v2beta_functions_proto_depIdxs = []int32{ diff --git a/gaming/apiv1beta/gamingpb/common.pb.go b/gaming/apiv1beta/gamingpb/common.pb.go index 64ea47174f5..f786aa0ba40 100644 --- a/gaming/apiv1beta/gamingpb/common.pb.go +++ b/gaming/apiv1beta/gamingpb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/common.proto package gamingpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -97,9 +97,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -154,14 +154,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_gaming_v1beta_common_proto_rawDescGZIP(), []int{0} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -397,12 +397,12 @@ type Schedule struct { unknownFields protoimpl.UnknownFields // The start time of the event. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The end time of the event. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The duration for the cron job event. The duration of the event is effective // after the cron job's start time. - CronJobDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=cron_job_duration,json=cronJobDuration,proto3" json:"cron_job_duration,omitempty"` + CronJobDuration *duration.Duration `protobuf:"bytes,3,opt,name=cron_job_duration,json=cronJobDuration,proto3" json:"cron_job_duration,omitempty"` // The cron definition of the scheduled event. See // https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as // defined by the realm. @@ -441,21 +441,21 @@ func (*Schedule) Descriptor() ([]byte, []int) { return file_google_cloud_gaming_v1beta_common_proto_rawDescGZIP(), []int{4} } -func (x *Schedule) GetStartTime() *timestamppb.Timestamp { +func (x *Schedule) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Schedule) GetEndTime() *timestamppb.Timestamp { +func (x *Schedule) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } return nil } -func (x *Schedule) GetCronJobDuration() *durationpb.Duration { +func (x *Schedule) GetCronJobDuration() *duration.Duration { if x != nil { return x.CronJobDuration } @@ -1356,8 +1356,8 @@ var file_google_cloud_gaming_v1beta_common_proto_goTypes = []interface{}{ (*DeployedFleetDetails_DeployedFleet)(nil), // 15: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet (*DeployedFleetDetails_DeployedFleetAutoscaler)(nil), // 16: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus)(nil), // 17: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 19: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*duration.Duration)(nil), // 19: google.protobuf.Duration } var file_google_cloud_gaming_v1beta_common_proto_depIdxs = []int32{ 18, // 0: google.cloud.gaming.v1beta.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp diff --git a/gaming/apiv1beta/gamingpb/game_server_clusters.pb.go b/gaming/apiv1beta/gamingpb/game_server_clusters.pb.go index 96e08869a3e..38c106cf0fd 100644 --- a/gaming/apiv1beta/gamingpb/game_server_clusters.pb.go +++ b/gaming/apiv1beta/gamingpb/game_server_clusters.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/game_server_clusters.proto package gamingpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -331,7 +331,7 @@ type PreviewCreateGameServerClusterRequest struct { // Required. The game server cluster resource to be created. GameServerCluster *GameServerCluster `protobuf:"bytes,3,opt,name=game_server_cluster,json=gameServerCluster,proto3" json:"game_server_cluster,omitempty"` // Optional. The target timestamp to compute the preview. - PreviewTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` + PreviewTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` } func (x *PreviewCreateGameServerClusterRequest) Reset() { @@ -387,7 +387,7 @@ func (x *PreviewCreateGameServerClusterRequest) GetGameServerCluster() *GameServ return nil } -func (x *PreviewCreateGameServerClusterRequest) GetPreviewTime() *timestamppb.Timestamp { +func (x *PreviewCreateGameServerClusterRequest) GetPreviewTime() *timestamp.Timestamp { if x != nil { return x.PreviewTime } @@ -513,7 +513,7 @@ type PreviewDeleteGameServerClusterRequest struct { // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The target timestamp to compute the preview. - PreviewTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` + PreviewTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` } func (x *PreviewDeleteGameServerClusterRequest) Reset() { @@ -555,7 +555,7 @@ func (x *PreviewDeleteGameServerClusterRequest) GetName() string { return "" } -func (x *PreviewDeleteGameServerClusterRequest) GetPreviewTime() *timestamppb.Timestamp { +func (x *PreviewDeleteGameServerClusterRequest) GetPreviewTime() *timestamp.Timestamp { if x != nil { return x.PreviewTime } @@ -636,7 +636,7 @@ type UpdateGameServerClusterRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateGameServerClusterRequest) Reset() { @@ -678,7 +678,7 @@ func (x *UpdateGameServerClusterRequest) GetGameServerCluster() *GameServerClust return nil } -func (x *UpdateGameServerClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateGameServerClusterRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -700,9 +700,9 @@ type PreviewUpdateGameServerClusterRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. The target timestamp to compute the preview. - PreviewTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` + PreviewTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` } func (x *PreviewUpdateGameServerClusterRequest) Reset() { @@ -744,14 +744,14 @@ func (x *PreviewUpdateGameServerClusterRequest) GetGameServerCluster() *GameServ return nil } -func (x *PreviewUpdateGameServerClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *PreviewUpdateGameServerClusterRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } return nil } -func (x *PreviewUpdateGameServerClusterRequest) GetPreviewTime() *timestamppb.Timestamp { +func (x *PreviewUpdateGameServerClusterRequest) GetPreviewTime() *timestamp.Timestamp { if x != nil { return x.PreviewTime } @@ -970,9 +970,9 @@ type GameServerCluster struct { // `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels associated with this game server cluster. Each label is a // key-value pair. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -1024,14 +1024,14 @@ func (x *GameServerCluster) GetName() string { return "" } -func (x *GameServerCluster) GetCreateTime() *timestamppb.Timestamp { +func (x *GameServerCluster) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GameServerCluster) GetUpdateTime() *timestamppb.Timestamp { +func (x *GameServerCluster) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1327,9 +1327,9 @@ var file_google_cloud_gaming_v1beta_game_server_clusters_proto_goTypes = []inter (*GkeClusterReference)(nil), // 13: google.cloud.gaming.v1beta.GkeClusterReference (*GameServerCluster)(nil), // 14: google.cloud.gaming.v1beta.GameServerCluster nil, // 15: google.cloud.gaming.v1beta.GameServerCluster.LabelsEntry - (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 16: google.protobuf.Timestamp (*TargetState)(nil), // 17: google.cloud.gaming.v1beta.TargetState - (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 18: google.protobuf.FieldMask } var file_google_cloud_gaming_v1beta_game_server_clusters_proto_depIdxs = []int32{ 14, // 0: google.cloud.gaming.v1beta.ListGameServerClustersResponse.game_server_clusters:type_name -> google.cloud.gaming.v1beta.GameServerCluster diff --git a/gaming/apiv1beta/gamingpb/game_server_clusters_service.pb.go b/gaming/apiv1beta/gamingpb/game_server_clusters_service.pb.go index bcf0455225a..7c05e9450c8 100644 --- a/gaming/apiv1beta/gamingpb/game_server_clusters_service.pb.go +++ b/gaming/apiv1beta/gamingpb/game_server_clusters_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/game_server_clusters_service.proto package gamingpb diff --git a/gaming/apiv1beta/gamingpb/game_server_configs.pb.go b/gaming/apiv1beta/gamingpb/game_server_configs.pb.go index c5a22b21fbf..9c159084749 100644 --- a/gaming/apiv1beta/gamingpb/game_server_configs.pb.go +++ b/gaming/apiv1beta/gamingpb/game_server_configs.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/game_server_configs.proto package gamingpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -521,9 +521,9 @@ type GameServerConfig struct { // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels associated with this game server config. Each label is a // key-value pair. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -575,14 +575,14 @@ func (x *GameServerConfig) GetName() string { return "" } -func (x *GameServerConfig) GetCreateTime() *timestamppb.Timestamp { +func (x *GameServerConfig) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GameServerConfig) GetUpdateTime() *timestamppb.Timestamp { +func (x *GameServerConfig) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -786,7 +786,7 @@ var file_google_cloud_gaming_v1beta_game_server_configs_proto_goTypes = []interf nil, // 8: google.cloud.gaming.v1beta.GameServerConfig.LabelsEntry (*LabelSelector)(nil), // 9: google.cloud.gaming.v1beta.LabelSelector (*Schedule)(nil), // 10: google.cloud.gaming.v1beta.Schedule - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp } var file_google_cloud_gaming_v1beta_game_server_configs_proto_depIdxs = []int32{ 7, // 0: google.cloud.gaming.v1beta.ListGameServerConfigsResponse.game_server_configs:type_name -> google.cloud.gaming.v1beta.GameServerConfig diff --git a/gaming/apiv1beta/gamingpb/game_server_configs_service.pb.go b/gaming/apiv1beta/gamingpb/game_server_configs_service.pb.go index 40f20d60e65..8f5f3884810 100644 --- a/gaming/apiv1beta/gamingpb/game_server_configs_service.pb.go +++ b/gaming/apiv1beta/gamingpb/game_server_configs_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/game_server_configs_service.proto package gamingpb diff --git a/gaming/apiv1beta/gamingpb/game_server_deployments.pb.go b/gaming/apiv1beta/gamingpb/game_server_deployments.pb.go index b67e6e35650..6ab1ce83b41 100644 --- a/gaming/apiv1beta/gamingpb/game_server_deployments.pb.go +++ b/gaming/apiv1beta/gamingpb/game_server_deployments.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/game_server_deployments.proto package gamingpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -438,7 +438,7 @@ type UpdateGameServerDeploymentRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateGameServerDeploymentRequest) Reset() { @@ -480,7 +480,7 @@ func (x *UpdateGameServerDeploymentRequest) GetGameServerDeployment() *GameServe return nil } -func (x *UpdateGameServerDeploymentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateGameServerDeploymentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -503,7 +503,7 @@ type UpdateGameServerDeploymentRolloutRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateGameServerDeploymentRolloutRequest) Reset() { @@ -545,7 +545,7 @@ func (x *UpdateGameServerDeploymentRolloutRequest) GetRollout() *GameServerDeplo return nil } -func (x *UpdateGameServerDeploymentRolloutRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateGameServerDeploymentRolloutRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -675,9 +675,9 @@ type GameServerDeployment struct { // `projects/my-project/locations/{location}/gameServerDeployments/my-deployment`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels associated with this game server deployment. Each label is a // key-value pair. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -726,14 +726,14 @@ func (x *GameServerDeployment) GetName() string { return "" } -func (x *GameServerDeployment) GetCreateTime() *timestamppb.Timestamp { +func (x *GameServerDeployment) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GameServerDeployment) GetUpdateTime() *timestamppb.Timestamp { +func (x *GameServerDeployment) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -878,9 +878,9 @@ type GameServerDeploymentRollout struct { // `projects/my-project/locations/{location}/gameServerDeployments/my-deployment/rollout`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The default game server config is applied to all realms unless overridden // in the rollout. For example, // @@ -933,14 +933,14 @@ func (x *GameServerDeploymentRollout) GetName() string { return "" } -func (x *GameServerDeploymentRollout) GetCreateTime() *timestamppb.Timestamp { +func (x *GameServerDeploymentRollout) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GameServerDeploymentRollout) GetUpdateTime() *timestamppb.Timestamp { +func (x *GameServerDeploymentRollout) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -983,10 +983,10 @@ type PreviewGameServerDeploymentRolloutRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. The target timestamp to compute the preview. Defaults to the // immediately after the proposed rollout completes. - PreviewTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` + PreviewTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` } func (x *PreviewGameServerDeploymentRolloutRequest) Reset() { @@ -1028,14 +1028,14 @@ func (x *PreviewGameServerDeploymentRolloutRequest) GetRollout() *GameServerDepl return nil } -func (x *PreviewGameServerDeploymentRolloutRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *PreviewGameServerDeploymentRolloutRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } return nil } -func (x *PreviewGameServerDeploymentRolloutRequest) GetPreviewTime() *timestamppb.Timestamp { +func (x *PreviewGameServerDeploymentRolloutRequest) GetPreviewTime() *timestamp.Timestamp { if x != nil { return x.PreviewTime } @@ -1450,12 +1450,12 @@ var file_google_cloud_gaming_v1beta_game_server_deployments_proto_goTypes = []in (*PreviewGameServerDeploymentRolloutRequest)(nil), // 13: google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest (*PreviewGameServerDeploymentRolloutResponse)(nil), // 14: google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse (*FetchDeploymentStateResponse_DeployedClusterState)(nil), // 15: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState - nil, // 16: google.cloud.gaming.v1beta.GameServerDeployment.LabelsEntry - (*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp - (*RealmSelector)(nil), // 19: google.cloud.gaming.v1beta.RealmSelector - (*TargetState)(nil), // 20: google.cloud.gaming.v1beta.TargetState - (*DeployedFleetDetails)(nil), // 21: google.cloud.gaming.v1beta.DeployedFleetDetails + nil, // 16: google.cloud.gaming.v1beta.GameServerDeployment.LabelsEntry + (*field_mask.FieldMask)(nil), // 17: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*RealmSelector)(nil), // 19: google.cloud.gaming.v1beta.RealmSelector + (*TargetState)(nil), // 20: google.cloud.gaming.v1beta.TargetState + (*DeployedFleetDetails)(nil), // 21: google.cloud.gaming.v1beta.DeployedFleetDetails } var file_google_cloud_gaming_v1beta_game_server_deployments_proto_depIdxs = []int32{ 10, // 0: google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.game_server_deployments:type_name -> google.cloud.gaming.v1beta.GameServerDeployment diff --git a/gaming/apiv1beta/gamingpb/game_server_deployments_service.pb.go b/gaming/apiv1beta/gamingpb/game_server_deployments_service.pb.go index 073ac5e1471..5d889a7c82d 100644 --- a/gaming/apiv1beta/gamingpb/game_server_deployments_service.pb.go +++ b/gaming/apiv1beta/gamingpb/game_server_deployments_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/game_server_deployments_service.proto package gamingpb diff --git a/gaming/apiv1beta/gamingpb/realms.pb.go b/gaming/apiv1beta/gamingpb/realms.pb.go index ac11ef71d92..d3eaa2e9fdd 100644 --- a/gaming/apiv1beta/gamingpb/realms.pb.go +++ b/gaming/apiv1beta/gamingpb/realms.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/realms.proto package gamingpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -381,7 +381,7 @@ type UpdateRealmRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateRealmRequest) Reset() { @@ -423,7 +423,7 @@ func (x *UpdateRealmRequest) GetRealm() *Realm { return nil } -func (x *UpdateRealmRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateRealmRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -445,9 +445,9 @@ type PreviewRealmUpdateRequest struct { // https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. The target timestamp to compute the preview. - PreviewTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` + PreviewTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"` } func (x *PreviewRealmUpdateRequest) Reset() { @@ -489,14 +489,14 @@ func (x *PreviewRealmUpdateRequest) GetRealm() *Realm { return nil } -func (x *PreviewRealmUpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *PreviewRealmUpdateRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } return nil } -func (x *PreviewRealmUpdateRequest) GetPreviewTime() *timestamppb.Timestamp { +func (x *PreviewRealmUpdateRequest) GetPreviewTime() *timestamp.Timestamp { if x != nil { return x.PreviewTime } @@ -572,9 +572,9 @@ type Realm struct { // example, `projects/my-project/locations/{location}/realms/my-realm`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The labels associated with this realm. Each label is a key-value pair. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Required. Time zone where all policies targeting this realm are evaluated. @@ -626,14 +626,14 @@ func (x *Realm) GetName() string { return "" } -func (x *Realm) GetCreateTime() *timestamppb.Timestamp { +func (x *Realm) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Realm) GetUpdateTime() *timestamppb.Timestamp { +func (x *Realm) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -828,8 +828,8 @@ var file_google_cloud_gaming_v1beta_realms_proto_goTypes = []interface{}{ (*PreviewRealmUpdateResponse)(nil), // 7: google.cloud.gaming.v1beta.PreviewRealmUpdateResponse (*Realm)(nil), // 8: google.cloud.gaming.v1beta.Realm nil, // 9: google.cloud.gaming.v1beta.Realm.LabelsEntry - (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 10: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp (*TargetState)(nil), // 12: google.cloud.gaming.v1beta.TargetState } var file_google_cloud_gaming_v1beta_realms_proto_depIdxs = []int32{ diff --git a/gaming/apiv1beta/gamingpb/realms_service.pb.go b/gaming/apiv1beta/gamingpb/realms_service.pb.go index 94fa69cf288..44a2a572938 100644 --- a/gaming/apiv1beta/gamingpb/realms_service.pb.go +++ b/gaming/apiv1beta/gamingpb/realms_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gaming/v1beta/realms_service.proto package gamingpb diff --git a/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go b/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go index 78e691eb4cf..e96ff50fcc5 100644 --- a/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go +++ b/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gkeconnect/gateway/v1beta1/gateway.proto package gatewaypb diff --git a/gkehub/apiv1beta1/gkehubpb/membership.pb.go b/gkehub/apiv1beta1/gkehubpb/membership.pb.go index 19118c484e1..58b18e0ac72 100644 --- a/gkehub/apiv1beta1/gkehubpb/membership.pb.go +++ b/gkehub/apiv1beta1/gkehubpb/membership.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/gkehub/v1beta1/membership.proto package gkehubpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -266,11 +266,11 @@ type Membership struct { // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity Authority *Authority `protobuf:"bytes,9,opt,name=authority,proto3" json:"authority,omitempty"` // Output only. When the Membership was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. When the Membership was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. When the Membership was deleted. - DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` + DeleteTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Optional. An externally-generated and managed ID for this Membership. This ID may // be modified after creation, but this is not recommended. For GKE clusters, // external_id is managed by the Hub API and updates will be ignored. @@ -284,7 +284,7 @@ type Membership struct { // established with Google Cloud. This time is updated every several minutes, // not continuously. For clusters that do not use GKE Connect, or that have // never connected successfully, this field will be unset. - LastConnectionTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_connection_time,json=lastConnectionTime,proto3" json:"last_connection_time,omitempty"` + LastConnectionTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=last_connection_time,json=lastConnectionTime,proto3" json:"last_connection_time,omitempty"` // Output only. Google-generated UUID for this resource. This is unique across all // Membership resources. If a Membership resource is deleted and another // resource with the same name is created, it gets a different unique_id. @@ -374,21 +374,21 @@ func (x *Membership) GetAuthority() *Authority { return nil } -func (x *Membership) GetCreateTime() *timestamppb.Timestamp { +func (x *Membership) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Membership) GetUpdateTime() *timestamppb.Timestamp { +func (x *Membership) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *Membership) GetDeleteTime() *timestamppb.Timestamp { +func (x *Membership) GetDeleteTime() *timestamp.Timestamp { if x != nil { return x.DeleteTime } @@ -402,7 +402,7 @@ func (x *Membership) GetExternalId() string { return "" } -func (x *Membership) GetLastConnectionTime() *timestamppb.Timestamp { +func (x *Membership) GetLastConnectionTime() *timestamp.Timestamp { if x != nil { return x.LastConnectionTime } @@ -1164,7 +1164,7 @@ type KubernetesMetadata struct { // Output only. The time at which these details were last updated. This update_time is // different from the Membership-level update_time since EndpointDetails are // updated internally for API consumers. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,100,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *KubernetesMetadata) Reset() { @@ -1234,7 +1234,7 @@ func (x *KubernetesMetadata) GetMemoryMb() int32 { return 0 } -func (x *KubernetesMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *KubernetesMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1353,7 +1353,7 @@ type MembershipState struct { // This field is never set by the Hub Service. // // Deprecated: Do not use. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *MembershipState) Reset() { @@ -1404,7 +1404,7 @@ func (x *MembershipState) GetDescription() string { } // Deprecated: Do not use. -func (x *MembershipState) GetUpdateTime() *timestamppb.Timestamp { +func (x *MembershipState) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1819,7 +1819,7 @@ type UpdateMembershipRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Mask of fields to update. At least one field path must be specified in this // mask. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. Only fields specified in update_mask are updated. // If you specify a field in the update_mask but don't specify its value here // that field will be deleted. @@ -1884,7 +1884,7 @@ func (x *UpdateMembershipRequest) GetName() string { return "" } -func (x *UpdateMembershipRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateMembershipRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2515,9 +2515,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -2565,14 +2565,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_gkehub_v1beta1_membership_proto_rawDescGZIP(), []int{28} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -3233,8 +3233,8 @@ var file_google_cloud_gkehub_v1beta1_membership_proto_goTypes = []interface{}{ (*GenerateExclusivityManifestResponse)(nil), // 30: google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse (*OperationMetadata)(nil), // 31: google.cloud.gkehub.v1beta1.OperationMetadata nil, // 32: google.cloud.gkehub.v1beta1.Membership.LabelsEntry - (*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 34: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 33: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 34: google.protobuf.FieldMask (*status.Status)(nil), // 35: google.rpc.Status (*longrunning.Operation)(nil), // 36: google.longrunning.Operation } diff --git a/internal/generated/snippets/go.mod b/internal/generated/snippets/go.mod index 87eb9f221b0..1bc272a1fca 100644 --- a/internal/generated/snippets/go.mod +++ b/internal/generated/snippets/go.mod @@ -120,7 +120,7 @@ require ( cloud.google.com/go/workflows v1.6.0 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect google.golang.org/api v0.97.0 - google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce + google.golang.org/genproto v0.0.0-20220927151529-dcaddaf36704 ) require ( diff --git a/internal/generated/snippets/go.sum b/internal/generated/snippets/go.sum index 7629de66ae2..098adc23bc3 100644 --- a/internal/generated/snippets/go.sum +++ b/internal/generated/snippets/go.sum @@ -220,8 +220,9 @@ google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljW google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= -google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce h1:+2ye9vAK4F9F/LCex8dT2cDk0VnTAwUL8uRgX/6nAMU= google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20220927151529-dcaddaf36704 h1:H1AcWFV69NFCMeBJ8nVLtv8uHZZ5Ozcgoq012hHEFuU= +google.golang.org/genproto v0.0.0-20220927151529-dcaddaf36704/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= diff --git a/language/apiv1beta2/languagepb/language_service.pb.go b/language/apiv1beta2/languagepb/language_service.pb.go index 9de3b506aab..8889def0522 100644 --- a/language/apiv1beta2/languagepb/language_service.pb.go +++ b/language/apiv1beta2/languagepb/language_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/language/v1beta2/language_service.proto package languagepb diff --git a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go index 7d3abd1ac42..02e2d20467e 100644 --- a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go +++ b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/lifesciences/v2beta/workflows.proto package lifesciencespb @@ -25,6 +25,8 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" code "google.golang.org/genproto/googleapis/rpc/code" @@ -33,8 +35,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -190,7 +190,7 @@ type Pipeline struct { // will be set to DEADLINE_EXCEEDED. // // If unspecified, it will default to 7 days. - Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` } func (x *Pipeline) Reset() { @@ -246,7 +246,7 @@ func (x *Pipeline) GetEnvironment() map[string]string { return nil } -func (x *Pipeline) GetTimeout() *durationpb.Duration { +func (x *Pipeline) GetTimeout() *duration.Duration { if x != nil { return x.Timeout } @@ -351,7 +351,7 @@ type Action struct { // fails to complete before the timeout, it will be terminated and the exit // status will be non-zero. The pipeline will continue or terminate based // on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags. - Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *duration.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"` // Normally, a non-zero exit status causes the pipeline to fail. This flag // allows execution of other actions to continue instead. IgnoreExitStatus bool `protobuf:"varint,13,opt,name=ignore_exit_status,json=ignoreExitStatus,proto3" json:"ignore_exit_status,omitempty"` @@ -494,7 +494,7 @@ func (x *Action) GetCredentials() *Secret { return nil } -func (x *Action) GetTimeout() *durationpb.Duration { +func (x *Action) GetTimeout() *duration.Duration { if x != nil { return x.Timeout } @@ -1589,11 +1589,11 @@ type Metadata struct { // operation. Events []*Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // The time at which the operation was created by the API. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The first time at which resources were allocated to execute the pipeline. - StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time at which execution was completed and resources were cleaned up. - EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The name of the Cloud Pub/Sub topic where notifications of operation status // changes are sent. PubSubTopic string `protobuf:"bytes,7,opt,name=pub_sub_topic,json=pubSubTopic,proto3" json:"pub_sub_topic,omitempty"` @@ -1652,21 +1652,21 @@ func (x *Metadata) GetEvents() []*Event { return nil } -func (x *Metadata) GetCreateTime() *timestamppb.Timestamp { +func (x *Metadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Metadata) GetStartTime() *timestamppb.Timestamp { +func (x *Metadata) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Metadata) GetEndTime() *timestamppb.Timestamp { +func (x *Metadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1687,7 +1687,7 @@ type Event struct { unknownFields protoimpl.UnknownFields // The time at which the event occurred. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // A human-readable description of the event. Note that these strings can // change at any time without notice. Any application logic must use the // information in the `details` field. @@ -1741,7 +1741,7 @@ func (*Event) Descriptor() ([]byte, []int) { return file_google_cloud_lifesciences_v2beta_workflows_proto_rawDescGZIP(), []int{17} } -func (x *Event) GetTimestamp() *timestamppb.Timestamp { +func (x *Event) GetTimestamp() *timestamp.Timestamp { if x != nil { return x.Timestamp } @@ -3023,8 +3023,8 @@ var file_google_cloud_lifesciences_v2beta_workflows_proto_goTypes = []interface{ nil, // 33: google.cloud.lifesciences.v2beta.VirtualMachine.LabelsEntry nil, // 34: google.cloud.lifesciences.v2beta.Metadata.LabelsEntry nil, // 35: google.cloud.lifesciences.v2beta.ContainerStartedEvent.PortMappingsEntry - (*durationpb.Duration)(nil), // 36: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp + (*duration.Duration)(nil), // 36: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 37: google.protobuf.Timestamp (code.Code)(0), // 38: google.rpc.Code (*longrunning.Operation)(nil), // 39: google.longrunning.Operation } diff --git a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go index 8e7643b7ffe..458a0fe5177 100644 --- a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go +++ b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/mediatranslation/v1beta1/media_translation.proto package mediatranslationpb diff --git a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go index 2f68d4c0ff8..a176c814812 100644 --- a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/memcache/v1beta2/cloud_memcache.proto package memcachepb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -311,9 +311,9 @@ type Instance struct { // Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details. MemcacheNodes []*Instance_Node `protobuf:"bytes,12,rep,name=memcache_nodes,json=memcacheNodes,proto3" json:"memcache_nodes,omitempty"` // Output only. The time the instance was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the instance was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The state of this Memcached instance. State Instance_State `protobuf:"varint,15,opt,name=state,proto3,enum=google.cloud.memcache.v1beta2.Instance_State" json:"state,omitempty"` // Output only. The full version of memcached server running on this instance. @@ -431,14 +431,14 @@ func (x *Instance) GetMemcacheNodes() []*Instance_Node { return nil } -func (x *Instance) GetCreateTime() *timestamppb.Timestamp { +func (x *Instance) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Instance) GetUpdateTime() *timestamppb.Timestamp { +func (x *Instance) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -789,7 +789,7 @@ type UpdateInstanceRequest struct { // Required. Mask of fields to update. // - `displayName` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. A Memcached [Instance] resource. // Only fields specified in update_mask are updated. Resource *Instance `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` @@ -827,7 +827,7 @@ func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { return file_google_cloud_memcache_v1beta2_cloud_memcache_proto_rawDescGZIP(), []int{5} } -func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -974,7 +974,7 @@ type UpdateParametersRequest struct { // updated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Mask of fields to update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The parameters to apply to the instance. Parameters *MemcacheParameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` } @@ -1018,7 +1018,7 @@ func (x *UpdateParametersRequest) GetName() string { return "" } -func (x *UpdateParametersRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateParametersRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1172,9 +1172,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. Time when the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -1222,14 +1222,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_memcache_v1beta2_cloud_memcache_proto_rawDescGZIP(), []int{11} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2062,8 +2062,8 @@ var file_google_cloud_memcache_v1beta2_cloud_memcache_proto_goTypes = []interfac nil, // 21: google.cloud.memcache.v1beta2.Instance.LabelsEntry nil, // 22: google.cloud.memcache.v1beta2.MemcacheParameters.ParamsEntry nil, // 23: google.cloud.memcache.v1beta2.LocationMetadata.AvailableZonesEntry - (*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 25: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 24: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 25: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 26: google.longrunning.Operation } var file_google_cloud_memcache_v1beta2_cloud_memcache_proto_depIdxs = []int32{ diff --git a/metastore/apiv1alpha/metastorepb/metastore.pb.go b/metastore/apiv1alpha/metastorepb/metastore.pb.go index ea54a322b34..18f427527f7 100644 --- a/metastore/apiv1alpha/metastorepb/metastore.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/metastore/v1alpha/metastore.proto package metastorepb @@ -25,17 +25,17 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -762,9 +762,9 @@ type Service struct { // `projects/{project_number}/locations/{location_id}/services/{service_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the metastore service was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metastore service was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // User-defined labels for the metastore service. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Immutable. The relative resource name of the VPC network on which the instance can be @@ -864,14 +864,14 @@ func (x *Service) GetName() string { return "" } -func (x *Service) GetCreateTime() *timestamppb.Timestamp { +func (x *Service) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Service) GetUpdateTime() *timestamppb.Timestamp { +func (x *Service) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1222,7 +1222,7 @@ type MaintenanceWindow struct { unknownFields protoimpl.UnknownFields // The hour of day (0-23) when the window starts. - HourOfDay *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=hour_of_day,json=hourOfDay,proto3" json:"hour_of_day,omitempty"` + HourOfDay *wrappers.Int32Value `protobuf:"bytes,1,opt,name=hour_of_day,json=hourOfDay,proto3" json:"hour_of_day,omitempty"` // The day of week, when the window starts. DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` } @@ -1259,7 +1259,7 @@ func (*MaintenanceWindow) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1alpha_metastore_proto_rawDescGZIP(), []int{5} } -func (x *MaintenanceWindow) GetHourOfDay() *wrapperspb.Int32Value { +func (x *MaintenanceWindow) GetHourOfDay() *wrappers.Int32Value { if x != nil { return x.HourOfDay } @@ -1771,11 +1771,11 @@ type MetadataImport struct { // The description of the metadata import. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time when the metadata import was started. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metadata import was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The time when the metadata import finished. - EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the metadata import. State MetadataImport_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.metastore.v1alpha.MetadataImport_State" json:"state,omitempty"` } @@ -1840,21 +1840,21 @@ func (x *MetadataImport) GetDescription() string { return "" } -func (x *MetadataImport) GetCreateTime() *timestamppb.Timestamp { +func (x *MetadataImport) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *MetadataImport) GetUpdateTime() *timestamppb.Timestamp { +func (x *MetadataImport) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *MetadataImport) GetEndTime() *timestamppb.Timestamp { +func (x *MetadataImport) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1890,9 +1890,9 @@ type MetadataExport struct { // *MetadataExport_DestinationGcsUri Destination isMetadataExport_Destination `protobuf_oneof:"destination"` // Output only. The time when the export started. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time when the export ended. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the export. State MetadataExport_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.metastore.v1alpha.MetadataExport_State" json:"state,omitempty"` // Output only. The type of the database dump. @@ -1945,14 +1945,14 @@ func (x *MetadataExport) GetDestinationGcsUri() string { return "" } -func (x *MetadataExport) GetStartTime() *timestamppb.Timestamp { +func (x *MetadataExport) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *MetadataExport) GetEndTime() *timestamppb.Timestamp { +func (x *MetadataExport) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1997,9 +1997,9 @@ type Backup struct { // `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the backup was started. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the backup finished creating. - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the backup. State Backup_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.metastore.v1alpha.Backup_State" json:"state,omitempty"` // Output only. The revision of the service at the time of backup. @@ -2049,14 +2049,14 @@ func (x *Backup) GetName() string { return "" } -func (x *Backup) GetCreateTime() *timestamppb.Timestamp { +func (x *Backup) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Backup) GetEndTime() *timestamppb.Timestamp { +func (x *Backup) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2098,9 +2098,9 @@ type Restore struct { unknownFields protoimpl.UnknownFields // Output only. The time when the restore started. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time when the restore ended. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the restore. State Restore_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.metastore.v1alpha.Restore_State" json:"state,omitempty"` // Output only. The relative resource name of the metastore service backup to restore @@ -2147,14 +2147,14 @@ func (*Restore) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1alpha_metastore_proto_rawDescGZIP(), []int{16} } -func (x *Restore) GetStartTime() *timestamppb.Timestamp { +func (x *Restore) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Restore) GetEndTime() *timestamppb.Timestamp { +func (x *Restore) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2515,7 +2515,7 @@ type UpdateServiceRequest struct { // metastore service resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The metastore service to update. The server only merges fields // in the service if they are specified in `update_mask`. // @@ -2569,7 +2569,7 @@ func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1alpha_metastore_proto_rawDescGZIP(), []int{21} } -func (x *UpdateServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2988,7 +2988,7 @@ type UpdateMetadataImportRequest struct { // metadata import resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The metadata import to update. The server only merges fields // in the import if they are specified in `update_mask`. // @@ -3042,7 +3042,7 @@ func (*UpdateMetadataImportRequest) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1alpha_metastore_proto_rawDescGZIP(), []int{27} } -func (x *UpdateMetadataImportRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateMetadataImportRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3664,9 +3664,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -3714,14 +3714,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1alpha_metastore_proto_rawDescGZIP(), []int{35} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -5132,10 +5132,10 @@ var file_google_cloud_metastore_v1alpha_metastore_proto_goTypes = []interface{}{ (*NetworkConfig_Consumer)(nil), // 55: google.cloud.metastore.v1alpha.NetworkConfig.Consumer (*MetadataImport_DatabaseDump)(nil), // 56: google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump (*LocationMetadata_HiveMetastoreVersion)(nil), // 57: google.cloud.metastore.v1alpha.LocationMetadata.HiveMetastoreVersion - (*timestamppb.Timestamp)(nil), // 58: google.protobuf.Timestamp - (*wrapperspb.Int32Value)(nil), // 59: google.protobuf.Int32Value + (*timestamp.Timestamp)(nil), // 58: google.protobuf.Timestamp + (*wrappers.Int32Value)(nil), // 59: google.protobuf.Int32Value (dayofweek.DayOfWeek)(0), // 60: google.type.DayOfWeek - (*fieldmaskpb.FieldMask)(nil), // 61: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 61: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 62: google.longrunning.Operation } var file_google_cloud_metastore_v1alpha_metastore_proto_depIdxs = []int32{ diff --git a/metastore/apiv1beta/metastorepb/metastore.pb.go b/metastore/apiv1beta/metastorepb/metastore.pb.go index 20e72475403..1ae7880ae9b 100644 --- a/metastore/apiv1beta/metastorepb/metastore.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/metastore/v1beta/metastore.proto package metastorepb @@ -25,17 +25,17 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -649,9 +649,9 @@ type Service struct { // `projects/{project_number}/locations/{location_id}/services/{service_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the metastore service was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metastore service was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // User-defined labels for the metastore service. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Immutable. The relative resource name of the VPC network on which the @@ -742,14 +742,14 @@ func (x *Service) GetName() string { return "" } -func (x *Service) GetCreateTime() *timestamppb.Timestamp { +func (x *Service) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Service) GetUpdateTime() *timestamppb.Timestamp { +func (x *Service) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -967,7 +967,7 @@ type MaintenanceWindow struct { unknownFields protoimpl.UnknownFields // The hour of day (0-23) when the window starts. - HourOfDay *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=hour_of_day,json=hourOfDay,proto3" json:"hour_of_day,omitempty"` + HourOfDay *wrappers.Int32Value `protobuf:"bytes,1,opt,name=hour_of_day,json=hourOfDay,proto3" json:"hour_of_day,omitempty"` // The day of week, when the window starts. DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` } @@ -1004,7 +1004,7 @@ func (*MaintenanceWindow) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1beta_metastore_proto_rawDescGZIP(), []int{3} } -func (x *MaintenanceWindow) GetHourOfDay() *wrapperspb.Int32Value { +func (x *MaintenanceWindow) GetHourOfDay() *wrappers.Int32Value { if x != nil { return x.HourOfDay } @@ -1313,9 +1313,9 @@ type MetadataImport struct { // The description of the metadata import. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time when the metadata import was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metadata import was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The current state of the metadata import. State MetadataImport_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.metastore.v1beta.MetadataImport_State" json:"state,omitempty"` } @@ -1380,14 +1380,14 @@ func (x *MetadataImport) GetDescription() string { return "" } -func (x *MetadataImport) GetCreateTime() *timestamppb.Timestamp { +func (x *MetadataImport) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *MetadataImport) GetUpdateTime() *timestamppb.Timestamp { +func (x *MetadataImport) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1423,9 +1423,9 @@ type MetadataExport struct { // *MetadataExport_DestinationGcsUri Destination isMetadataExport_Destination `protobuf_oneof:"destination"` // Output only. The time when the export started. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time when the export ended. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the export. State MetadataExport_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.metastore.v1beta.MetadataExport_State" json:"state,omitempty"` // Output only. The type of the database dump. @@ -1478,14 +1478,14 @@ func (x *MetadataExport) GetDestinationGcsUri() string { return "" } -func (x *MetadataExport) GetStartTime() *timestamppb.Timestamp { +func (x *MetadataExport) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *MetadataExport) GetEndTime() *timestamppb.Timestamp { +func (x *MetadataExport) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1531,9 +1531,9 @@ type Backup struct { // `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the backup was started. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the backup finished creating. - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the backup. State Backup_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.metastore.v1beta.Backup_State" json:"state,omitempty"` // Output only. The revision of the service at the time of backup. @@ -1581,14 +1581,14 @@ func (x *Backup) GetName() string { return "" } -func (x *Backup) GetCreateTime() *timestamppb.Timestamp { +func (x *Backup) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Backup) GetEndTime() *timestamppb.Timestamp { +func (x *Backup) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1623,9 +1623,9 @@ type Restore struct { unknownFields protoimpl.UnknownFields // Output only. The time when the restore started. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time when the restore ended. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the restore. State Restore_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.metastore.v1beta.Restore_State" json:"state,omitempty"` // Output only. The relative resource name of the metastore service backup to @@ -1672,14 +1672,14 @@ func (*Restore) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1beta_metastore_proto_rawDescGZIP(), []int{11} } -func (x *Restore) GetStartTime() *timestamppb.Timestamp { +func (x *Restore) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Restore) GetEndTime() *timestamppb.Timestamp { +func (x *Restore) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2047,7 +2047,7 @@ type UpdateServiceRequest struct { // metastore service resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The metastore service to update. The server only merges fields // in the service if they are specified in `update_mask`. // @@ -2101,7 +2101,7 @@ func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1beta_metastore_proto_rawDescGZIP(), []int{16} } -func (x *UpdateServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2527,7 +2527,7 @@ type UpdateMetadataImportRequest struct { // metadata import resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The metadata import to update. The server only merges fields // in the import if they are specified in `update_mask`. // @@ -2581,7 +2581,7 @@ func (*UpdateMetadataImportRequest) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1beta_metastore_proto_rawDescGZIP(), []int{22} } -func (x *UpdateMetadataImportRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateMetadataImportRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3211,9 +3211,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -3262,14 +3262,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_metastore_v1beta_metastore_proto_rawDescGZIP(), []int{30} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -4447,10 +4447,10 @@ var file_google_cloud_metastore_v1beta_metastore_proto_goTypes = []interface{}{ nil, // 44: google.cloud.metastore.v1beta.HiveMetastoreConfig.ConfigOverridesEntry (*MetadataImport_DatabaseDump)(nil), // 45: google.cloud.metastore.v1beta.MetadataImport.DatabaseDump (*LocationMetadata_HiveMetastoreVersion)(nil), // 46: google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion - (*timestamppb.Timestamp)(nil), // 47: google.protobuf.Timestamp - (*wrapperspb.Int32Value)(nil), // 48: google.protobuf.Int32Value + (*timestamp.Timestamp)(nil), // 47: google.protobuf.Timestamp + (*wrappers.Int32Value)(nil), // 48: google.protobuf.Int32Value (dayofweek.DayOfWeek)(0), // 49: google.type.DayOfWeek - (*fieldmaskpb.FieldMask)(nil), // 50: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 50: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 51: google.longrunning.Operation } var file_google_cloud_metastore_v1beta_metastore_proto_depIdxs = []int32{ diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go index 98275ea0607..0ba031b8843 100644 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networkconnectivity/v1alpha1/common.proto package networkconnectivitypb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -44,9 +44,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -94,14 +94,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_networkconnectivity_v1alpha1_common_proto_rawDescGZIP(), []int{0} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -213,8 +213,8 @@ func file_google_cloud_networkconnectivity_v1alpha1_common_proto_rawDescGZIP() [ var file_google_cloud_networkconnectivity_v1alpha1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_networkconnectivity_v1alpha1_common_proto_goTypes = []interface{}{ - (*OperationMetadata)(nil), // 0: google.cloud.networkconnectivity.v1alpha1.OperationMetadata - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*OperationMetadata)(nil), // 0: google.cloud.networkconnectivity.v1alpha1.OperationMetadata + (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_google_cloud_networkconnectivity_v1alpha1_common_proto_depIdxs = []int32{ 1, // 0: google.cloud.networkconnectivity.v1alpha1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go index 778c3155e48..25b10b4f5c1 100644 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networkconnectivity/v1alpha1/hub.proto package networkconnectivitypb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -113,9 +113,9 @@ type Hub struct { // Immutable. The name of a Hub resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Time when the Hub was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time when the Hub was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // User-defined labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Short description of the hub resource. @@ -169,14 +169,14 @@ func (x *Hub) GetName() string { return "" } -func (x *Hub) GetCreateTime() *timestamppb.Timestamp { +func (x *Hub) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Hub) GetUpdateTime() *timestamppb.Timestamp { +func (x *Hub) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -229,9 +229,9 @@ type Spoke struct { // Immutable. The name of a Spoke resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The time when the Spoke was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the Spoke was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // User-defined labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Short description of the spoke resource @@ -291,14 +291,14 @@ func (x *Spoke) GetName() string { return "" } -func (x *Spoke) GetCreateTime() *timestamppb.Timestamp { +func (x *Spoke) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Spoke) GetUpdateTime() *timestamppb.Timestamp { +func (x *Spoke) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -662,7 +662,7 @@ type UpdateHubRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The state that the Hub should be in after the update. Hub *Hub `protobuf:"bytes,2,opt,name=hub,proto3" json:"hub,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID @@ -713,7 +713,7 @@ func (*UpdateHubRequest) Descriptor() ([]byte, []int) { return file_google_cloud_networkconnectivity_v1alpha1_hub_proto_rawDescGZIP(), []int{6} } -func (x *UpdateHubRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateHubRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1105,7 +1105,7 @@ type UpdateSpokeRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The state that the Spoke should be in after the update. Spoke *Spoke `protobuf:"bytes,2,opt,name=spoke,proto3" json:"spoke,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID @@ -1156,7 +1156,7 @@ func (*UpdateSpokeRequest) Descriptor() ([]byte, []int) { return file_google_cloud_networkconnectivity_v1alpha1_hub_proto_rawDescGZIP(), []int{12} } -func (x *UpdateSpokeRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSpokeRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1792,8 +1792,8 @@ var file_google_cloud_networkconnectivity_v1alpha1_hub_proto_goTypes = []interfa (*RouterApplianceInstance)(nil), // 15: google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance nil, // 16: google.cloud.networkconnectivity.v1alpha1.Hub.LabelsEntry nil, // 17: google.cloud.networkconnectivity.v1alpha1.Spoke.LabelsEntry - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 19: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 19: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 20: google.longrunning.Operation } var file_google_cloud_networkconnectivity_v1alpha1_hub_proto_depIdxs = []int32{ diff --git a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go index 2acd3fa88e1..652cce38185 100644 --- a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networksecurity/v1beta1/authorization_policy.proto package networksecuritypb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -108,9 +108,9 @@ type AuthorizationPolicy struct { // Optional. Free-text description of the resource. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The timestamp when the resource was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the resource was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Set of label tags associated with the AuthorizationPolicy // resource. Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -171,14 +171,14 @@ func (x *AuthorizationPolicy) GetDescription() string { return "" } -func (x *AuthorizationPolicy) GetCreateTime() *timestamppb.Timestamp { +func (x *AuthorizationPolicy) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *AuthorizationPolicy) GetUpdateTime() *timestamppb.Timestamp { +func (x *AuthorizationPolicy) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -470,7 +470,7 @@ type UpdateAuthorizationPolicyRequest struct { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. Updated AuthorizationPolicy resource. AuthorizationPolicy *AuthorizationPolicy `protobuf:"bytes,2,opt,name=authorization_policy,json=authorizationPolicy,proto3" json:"authorization_policy,omitempty"` } @@ -507,7 +507,7 @@ func (*UpdateAuthorizationPolicyRequest) Descriptor() ([]byte, []int) { return file_google_cloud_networksecurity_v1beta1_authorization_policy_proto_rawDescGZIP(), []int{5} } -func (x *UpdateAuthorizationPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAuthorizationPolicyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1099,8 +1099,8 @@ var file_google_cloud_networksecurity_v1beta1_authorization_policy_proto_goTypes (*AuthorizationPolicy_Rule_Source)(nil), // 10: google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source (*AuthorizationPolicy_Rule_Destination)(nil), // 11: google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination (*AuthorizationPolicy_Rule_Destination_HttpHeaderMatch)(nil), // 12: google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch - (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 14: google.protobuf.FieldMask } var file_google_cloud_networksecurity_v1beta1_authorization_policy_proto_depIdxs = []int32{ 13, // 0: google.cloud.networksecurity.v1beta1.AuthorizationPolicy.create_time:type_name -> google.protobuf.Timestamp diff --git a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go index 4f7835ae84e..8ce032ae726 100644 --- a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networksecurity/v1beta1/client_tls_policy.proto package networksecuritypb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -52,9 +52,9 @@ type ClientTlsPolicy struct { // Optional. Free-text description of the resource. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The timestamp when the resource was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the resource was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Set of label tags associated with the resource. Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. Server Name Indication string to present to the server during TLS @@ -116,14 +116,14 @@ func (x *ClientTlsPolicy) GetDescription() string { return "" } -func (x *ClientTlsPolicy) GetCreateTime() *timestamppb.Timestamp { +func (x *ClientTlsPolicy) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ClientTlsPolicy) GetUpdateTime() *timestamppb.Timestamp { +func (x *ClientTlsPolicy) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -422,7 +422,7 @@ type UpdateClientTlsPolicyRequest struct { // the full request. A field will be overwritten if it is in the // mask. If the user does not provide a mask then all fields will be // overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. Updated ClientTlsPolicy resource. ClientTlsPolicy *ClientTlsPolicy `protobuf:"bytes,2,opt,name=client_tls_policy,json=clientTlsPolicy,proto3" json:"client_tls_policy,omitempty"` } @@ -459,7 +459,7 @@ func (*UpdateClientTlsPolicyRequest) Descriptor() ([]byte, []int) { return file_google_cloud_networksecurity_v1beta1_client_tls_policy_proto_rawDescGZIP(), []int{5} } -func (x *UpdateClientTlsPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateClientTlsPolicyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -696,10 +696,10 @@ var file_google_cloud_networksecurity_v1beta1_client_tls_policy_proto_goTypes = (*UpdateClientTlsPolicyRequest)(nil), // 5: google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest (*DeleteClientTlsPolicyRequest)(nil), // 6: google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest nil, // 7: google.cloud.networksecurity.v1beta1.ClientTlsPolicy.LabelsEntry - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp (*CertificateProvider)(nil), // 9: google.cloud.networksecurity.v1beta1.CertificateProvider (*ValidationCA)(nil), // 10: google.cloud.networksecurity.v1beta1.ValidationCA - (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask } var file_google_cloud_networksecurity_v1beta1_client_tls_policy_proto_depIdxs = []int32{ 8, // 0: google.cloud.networksecurity.v1beta1.ClientTlsPolicy.create_time:type_name -> google.protobuf.Timestamp diff --git a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go index 9dc47ae3955..1210bea2042 100644 --- a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networksecurity/v1beta1/common.proto package networksecuritypb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -44,9 +44,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -95,14 +95,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_networksecurity_v1beta1_common_proto_rawDescGZIP(), []int{0} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -212,8 +212,8 @@ func file_google_cloud_networksecurity_v1beta1_common_proto_rawDescGZIP() []byte var file_google_cloud_networksecurity_v1beta1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_networksecurity_v1beta1_common_proto_goTypes = []interface{}{ - (*OperationMetadata)(nil), // 0: google.cloud.networksecurity.v1beta1.OperationMetadata - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*OperationMetadata)(nil), // 0: google.cloud.networksecurity.v1beta1.OperationMetadata + (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_google_cloud_networksecurity_v1beta1_common_proto_depIdxs = []int32{ 1, // 0: google.cloud.networksecurity.v1beta1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp diff --git a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go index d9ca1bcc562..dd94070f841 100644 --- a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networksecurity/v1beta1/network_security.proto package networksecuritypb diff --git a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go index 4f1aede9e02..32a3af44964 100644 --- a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networksecurity/v1beta1/server_tls_policy.proto package networksecuritypb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -52,9 +52,9 @@ type ServerTlsPolicy struct { // Free-text description of the resource. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The timestamp when the resource was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the resource was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Set of label tags associated with the resource. Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Determines if server allows plaintext connections. If set to true, server @@ -125,14 +125,14 @@ func (x *ServerTlsPolicy) GetDescription() string { return "" } -func (x *ServerTlsPolicy) GetCreateTime() *timestamppb.Timestamp { +func (x *ServerTlsPolicy) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ServerTlsPolicy) GetUpdateTime() *timestamppb.Timestamp { +func (x *ServerTlsPolicy) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -431,7 +431,7 @@ type UpdateServerTlsPolicyRequest struct { // the full request. A field will be overwritten if it is in the // mask. If the user does not provide a mask then all fields will be // overwritten. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. Updated ServerTlsPolicy resource. ServerTlsPolicy *ServerTlsPolicy `protobuf:"bytes,2,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"` } @@ -468,7 +468,7 @@ func (*UpdateServerTlsPolicyRequest) Descriptor() ([]byte, []int) { return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{5} } -func (x *UpdateServerTlsPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateServerTlsPolicyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -762,9 +762,9 @@ var file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_goTypes = (*DeleteServerTlsPolicyRequest)(nil), // 6: google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest (*ServerTlsPolicy_MTLSPolicy)(nil), // 7: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy nil, // 8: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.LabelsEntry - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp (*CertificateProvider)(nil), // 10: google.cloud.networksecurity.v1beta1.CertificateProvider - (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask (*ValidationCA)(nil), // 12: google.cloud.networksecurity.v1beta1.ValidationCA } var file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_depIdxs = []int32{ diff --git a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go index db0bde5c980..b96dcd5b347 100644 --- a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/networksecurity/v1beta1/tls.proto package networksecuritypb diff --git a/notebooks/apiv1beta1/notebookspb/environment.pb.go b/notebooks/apiv1beta1/notebookspb/environment.pb.go index 9155e122ddb..9f4c16bbca3 100644 --- a/notebooks/apiv1beta1/notebookspb/environment.pb.go +++ b/notebooks/apiv1beta1/notebookspb/environment.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/notebooks/v1beta1/environment.proto package notebookspb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -64,7 +64,7 @@ type Environment struct { // Cloud Storage path. Example: `"gs://path-to-file/file-name"` PostStartupScript string `protobuf:"bytes,8,opt,name=post_startup_script,json=postStartupScript,proto3" json:"post_startup_script,omitempty"` // Output only. The time at which this environment was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *Environment) Reset() { @@ -148,7 +148,7 @@ func (x *Environment) GetPostStartupScript() string { return "" } -func (x *Environment) GetCreateTime() *timestamppb.Timestamp { +func (x *Environment) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -420,10 +420,10 @@ func file_google_cloud_notebooks_v1beta1_environment_proto_rawDescGZIP() []byte var file_google_cloud_notebooks_v1beta1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_google_cloud_notebooks_v1beta1_environment_proto_goTypes = []interface{}{ - (*Environment)(nil), // 0: google.cloud.notebooks.v1beta1.Environment - (*VmImage)(nil), // 1: google.cloud.notebooks.v1beta1.VmImage - (*ContainerImage)(nil), // 2: google.cloud.notebooks.v1beta1.ContainerImage - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*Environment)(nil), // 0: google.cloud.notebooks.v1beta1.Environment + (*VmImage)(nil), // 1: google.cloud.notebooks.v1beta1.VmImage + (*ContainerImage)(nil), // 2: google.cloud.notebooks.v1beta1.ContainerImage + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_notebooks_v1beta1_environment_proto_depIdxs = []int32{ 1, // 0: google.cloud.notebooks.v1beta1.Environment.vm_image:type_name -> google.cloud.notebooks.v1beta1.VmImage diff --git a/notebooks/apiv1beta1/notebookspb/instance.pb.go b/notebooks/apiv1beta1/notebookspb/instance.pb.go index cf575fddb06..8d8f4d15a01 100644 --- a/notebooks/apiv1beta1/notebookspb/instance.pb.go +++ b/notebooks/apiv1beta1/notebookspb/instance.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/notebooks/v1beta1/instance.proto package notebookspb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -419,9 +419,9 @@ type Instance struct { // Custom metadata to apply to this instance. Metadata map[string]string `protobuf:"bytes,22,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Instance creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,23,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Instance update time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,24,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Instance) Reset() { @@ -638,14 +638,14 @@ func (x *Instance) GetMetadata() map[string]string { return nil } -func (x *Instance) GetCreateTime() *timestamppb.Timestamp { +func (x *Instance) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Instance) GetUpdateTime() *timestamppb.Timestamp { +func (x *Instance) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -947,7 +947,7 @@ var file_google_cloud_notebooks_v1beta1_instance_proto_goTypes = []interface{}{ nil, // 7: google.cloud.notebooks.v1beta1.Instance.MetadataEntry (*VmImage)(nil), // 8: google.cloud.notebooks.v1beta1.VmImage (*ContainerImage)(nil), // 9: google.cloud.notebooks.v1beta1.ContainerImage - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp } var file_google_cloud_notebooks_v1beta1_instance_proto_depIdxs = []int32{ 8, // 0: google.cloud.notebooks.v1beta1.Instance.vm_image:type_name -> google.cloud.notebooks.v1beta1.VmImage diff --git a/notebooks/apiv1beta1/notebookspb/service.pb.go b/notebooks/apiv1beta1/notebookspb/service.pb.go index 8713bca87f2..56e4dd5bbc1 100644 --- a/notebooks/apiv1beta1/notebookspb/service.pb.go +++ b/notebooks/apiv1beta1/notebookspb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/notebooks/v1beta1/service.proto package notebookspb @@ -25,6 +25,7 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" grpc "google.golang.org/grpc" @@ -32,7 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -49,9 +49,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Name of the verb executed by the operation. @@ -102,14 +102,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_notebooks_v1beta1_service_proto_rawDescGZIP(), []int{0} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1983,7 +1983,7 @@ var file_google_cloud_notebooks_v1beta1_service_proto_goTypes = []interface{}{ (*DeleteEnvironmentRequest)(nil), // 22: google.cloud.notebooks.v1beta1.DeleteEnvironmentRequest nil, // 23: google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest.LabelsEntry nil, // 24: google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest.MetadataEntry - (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 25: google.protobuf.Timestamp (*Instance)(nil), // 26: google.cloud.notebooks.v1beta1.Instance (Instance_AcceleratorType)(0), // 27: google.cloud.notebooks.v1beta1.Instance.AcceleratorType (*Environment)(nil), // 28: google.cloud.notebooks.v1beta1.Environment diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go index dc9a47e6ec7..ac0be9e17da 100644 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/agentendpoint/v1beta/agentendpoint.proto package agentendpointpb diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go index 17a7684e9c5..f9c95f554b6 100644 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/agentendpoint/v1beta/guest_policies.proto package agentendpointpb diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go index f9b317f1cea..fa0510ebdbd 100644 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/agentendpoint/v1beta/patch_jobs.proto package agentendpointpb diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go index 781357958c5..0b49a8ead07 100644 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/agentendpoint/v1beta/tasks.proto package agentendpointpb diff --git a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go index 1acc51e3928..a81c04644f5 100644 --- a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/config_common.proto package osconfigpb diff --git a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go index 0420386b5a0..85761924857 100644 --- a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto package osconfigpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -85,7 +85,7 @@ type InstanceOSPoliciesCompliance struct { // Output only. Compliance data for each `OSPolicy` that is applied to the VM. OsPolicyCompliances []*InstanceOSPoliciesCompliance_OSPolicyCompliance `protobuf:"bytes,6,rep,name=os_policy_compliances,json=osPolicyCompliances,proto3" json:"os_policy_compliances,omitempty"` // Output only. Timestamp of the last compliance check for the VM. - LastComplianceCheckTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_compliance_check_time,json=lastComplianceCheckTime,proto3" json:"last_compliance_check_time,omitempty"` + LastComplianceCheckTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_compliance_check_time,json=lastComplianceCheckTime,proto3" json:"last_compliance_check_time,omitempty"` // Output only. Unique identifier for the last compliance run. // This id will be logged by the OS config agent during a compliance run and // can be used for debugging and tracing purpose. @@ -166,7 +166,7 @@ func (x *InstanceOSPoliciesCompliance) GetOsPolicyCompliances() []*InstanceOSPol return nil } -func (x *InstanceOSPoliciesCompliance) GetLastComplianceCheckTime() *timestamppb.Timestamp { +func (x *InstanceOSPoliciesCompliance) GetLastComplianceCheckTime() *timestamp.Timestamp { if x != nil { return x.LastComplianceCheckTime } @@ -630,7 +630,7 @@ var file_google_cloud_osconfig_v1alpha_instance_os_policies_compliance_proto_goT (*ListInstanceOSPoliciesCompliancesResponse)(nil), // 3: google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse (*InstanceOSPoliciesCompliance_OSPolicyCompliance)(nil), // 4: google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance (OSPolicyComplianceState)(0), // 5: google.cloud.osconfig.v1alpha.OSPolicyComplianceState - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*OSPolicyResourceCompliance)(nil), // 7: google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance } var file_google_cloud_osconfig_v1alpha_instance_os_policies_compliance_proto_depIdxs = []int32{ diff --git a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go index b9cbe3d3cfc..c212597ff2e 100644 --- a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/inventory.proto package osconfigpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -220,7 +220,7 @@ type Inventory struct { // version. Items map[string]*Inventory_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Timestamp of the last reported inventory for the VM. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Inventory) Reset() { @@ -276,7 +276,7 @@ func (x *Inventory) GetItems() map[string]*Inventory_Item { return nil } -func (x *Inventory) GetUpdateTime() *timestamppb.Timestamp { +func (x *Inventory) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -628,9 +628,9 @@ type Inventory_Item struct { // The origin of this inventory item. OriginType Inventory_Item_OriginType `protobuf:"varint,2,opt,name=origin_type,json=originType,proto3,enum=google.cloud.osconfig.v1alpha.Inventory_Item_OriginType" json:"origin_type,omitempty"` // When this inventory item was first detected. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // When this inventory item was last modified. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The specific type of inventory, correlating to its specific details. Type Inventory_Item_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.osconfig.v1alpha.Inventory_Item_Type" json:"type,omitempty"` // Specific details of this inventory item based on its type. @@ -688,14 +688,14 @@ func (x *Inventory_Item) GetOriginType() Inventory_Item_OriginType { return Inventory_Item_ORIGIN_TYPE_UNSPECIFIED } -func (x *Inventory_Item) GetCreateTime() *timestamppb.Timestamp { +func (x *Inventory_Item) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Inventory_Item) GetUpdateTime() *timestamppb.Timestamp { +func (x *Inventory_Item) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1129,7 +1129,7 @@ type Inventory_WindowsUpdatePackage struct { // The revision number of this update package. RevisionNumber int32 `protobuf:"varint,7,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"` // The last published date of the update, in (UTC) date and time. - LastDeploymentChangeTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_deployment_change_time,json=lastDeploymentChangeTime,proto3" json:"last_deployment_change_time,omitempty"` + LastDeploymentChangeTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_deployment_change_time,json=lastDeploymentChangeTime,proto3" json:"last_deployment_change_time,omitempty"` } func (x *Inventory_WindowsUpdatePackage) Reset() { @@ -1220,7 +1220,7 @@ func (x *Inventory_WindowsUpdatePackage) GetRevisionNumber() int32 { return 0 } -func (x *Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime() *timestamppb.Timestamp { +func (x *Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime() *timestamp.Timestamp { if x != nil { return x.LastDeploymentChangeTime } @@ -1243,7 +1243,7 @@ type Inventory_WindowsQuickFixEngineeringPackage struct { // Unique identifier associated with a particular QFE update. HotFixId string `protobuf:"bytes,3,opt,name=hot_fix_id,json=hotFixId,proto3" json:"hot_fix_id,omitempty"` // Date that the QFE update was installed. Mapped from installed_on field. - InstallTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"` + InstallTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"` } func (x *Inventory_WindowsQuickFixEngineeringPackage) Reset() { @@ -1299,7 +1299,7 @@ func (x *Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId() string { return "" } -func (x *Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime() *timestamppb.Timestamp { +func (x *Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime() *timestamp.Timestamp { if x != nil { return x.InstallTime } @@ -1777,7 +1777,7 @@ var file_google_cloud_osconfig_v1alpha_inventory_proto_goTypes = []interface{}{ (*Inventory_WindowsApplication)(nil), // 14: google.cloud.osconfig.v1alpha.Inventory.WindowsApplication nil, // 15: google.cloud.osconfig.v1alpha.Inventory.ItemsEntry (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory)(nil), // 16: google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 17: google.protobuf.Timestamp (*date.Date)(nil), // 18: google.type.Date } var file_google_cloud_osconfig_v1alpha_inventory_proto_depIdxs = []int32{ diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go index 836857b8500..29262e29ca1 100644 --- a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/os_policy.proto package osconfigpb diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go index a4b66448460..2ded4ff755d 100644 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto package osconfigpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -466,7 +466,7 @@ type OSPolicyAssignmentReport struct { // Compliance data for each `OSPolicy` that is applied to the VM. OsPolicyCompliances []*OSPolicyAssignmentReport_OSPolicyCompliance `protobuf:"bytes,4,rep,name=os_policy_compliances,json=osPolicyCompliances,proto3" json:"os_policy_compliances,omitempty"` // Timestamp for when the report was last generated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Unique identifier of the last attempted run to apply the OS policies // associated with this assignment on the VM. // @@ -537,7 +537,7 @@ func (x *OSPolicyAssignmentReport) GetOsPolicyCompliances() []*OSPolicyAssignmen return nil } -func (x *OSPolicyAssignmentReport) GetUpdateTime() *timestamppb.Timestamp { +func (x *OSPolicyAssignmentReport) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1120,7 +1120,7 @@ var file_google_cloud_osconfig_v1alpha_os_policy_assignment_reports_proto_goType (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance)(nil), // 8: google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep)(nil), // 9: google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput)(nil), // 10: google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 11: google.protobuf.Timestamp } var file_google_cloud_osconfig_v1alpha_os_policy_assignment_reports_proto_depIdxs = []int32{ 6, // 0: google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.os_policy_assignment_reports:type_name -> google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go index 6e6fbc99bfd..27129c54ed8 100644 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/os_policy_assignments.proto package osconfigpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -263,7 +263,7 @@ type OSPolicyAssignment struct { // assignment RevisionId string `protobuf:"bytes,6,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` // Output only. The timestamp that the revision was created. - RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"` + RevisionCreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"` // The etag for this OS policy assignment. // If this is provided on update, it must match the server's etag. Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"` @@ -360,7 +360,7 @@ func (x *OSPolicyAssignment) GetRevisionId() string { return "" } -func (x *OSPolicyAssignment) GetRevisionCreateTime() *timestamppb.Timestamp { +func (x *OSPolicyAssignment) GetRevisionCreateTime() *timestamp.Timestamp { if x != nil { return x.RevisionCreateTime } @@ -426,9 +426,9 @@ type OSPolicyAssignmentOperationMetadata struct { // State of the rollout RolloutState OSPolicyAssignmentOperationMetadata_RolloutState `protobuf:"varint,3,opt,name=rollout_state,json=rolloutState,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata_RolloutState" json:"rollout_state,omitempty"` // Rollout start time - RolloutStartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=rollout_start_time,json=rolloutStartTime,proto3" json:"rollout_start_time,omitempty"` + RolloutStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=rollout_start_time,json=rolloutStartTime,proto3" json:"rollout_start_time,omitempty"` // Rollout update time - RolloutUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=rollout_update_time,json=rolloutUpdateTime,proto3" json:"rollout_update_time,omitempty"` + RolloutUpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=rollout_update_time,json=rolloutUpdateTime,proto3" json:"rollout_update_time,omitempty"` } func (x *OSPolicyAssignmentOperationMetadata) Reset() { @@ -484,14 +484,14 @@ func (x *OSPolicyAssignmentOperationMetadata) GetRolloutState() OSPolicyAssignme return OSPolicyAssignmentOperationMetadata_ROLLOUT_STATE_UNSPECIFIED } -func (x *OSPolicyAssignmentOperationMetadata) GetRolloutStartTime() *timestamppb.Timestamp { +func (x *OSPolicyAssignmentOperationMetadata) GetRolloutStartTime() *timestamp.Timestamp { if x != nil { return x.RolloutStartTime } return nil } -func (x *OSPolicyAssignmentOperationMetadata) GetRolloutUpdateTime() *timestamppb.Timestamp { +func (x *OSPolicyAssignmentOperationMetadata) GetRolloutUpdateTime() *timestamp.Timestamp { if x != nil { return x.RolloutUpdateTime } @@ -582,7 +582,7 @@ type UpdateOSPolicyAssignmentRequest struct { // Required. The updated OS policy assignment. OsPolicyAssignment *OSPolicyAssignment `protobuf:"bytes,1,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"` // Optional. Field mask that controls which fields of the assignment should be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateOSPolicyAssignmentRequest) Reset() { @@ -624,7 +624,7 @@ func (x *UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment() *OSPolicyAssig return nil } -func (x *UpdateOSPolicyAssignmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateOSPolicyAssignmentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1164,7 +1164,7 @@ type OSPolicyAssignment_Rollout struct { // VM continues to count towards the `disruption_budget` at least // until this duration of time has passed after configuration changes are // applied. - MinWaitDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=min_wait_duration,json=minWaitDuration,proto3" json:"min_wait_duration,omitempty"` + MinWaitDuration *duration.Duration `protobuf:"bytes,2,opt,name=min_wait_duration,json=minWaitDuration,proto3" json:"min_wait_duration,omitempty"` } func (x *OSPolicyAssignment_Rollout) Reset() { @@ -1206,7 +1206,7 @@ func (x *OSPolicyAssignment_Rollout) GetDisruptionBudget() *FixedOrPercent { return nil } -func (x *OSPolicyAssignment_Rollout) GetMinWaitDuration() *durationpb.Duration { +func (x *OSPolicyAssignment_Rollout) GetMinWaitDuration() *duration.Duration { if x != nil { return x.MinWaitDuration } @@ -1597,10 +1597,10 @@ var file_google_cloud_osconfig_v1alpha_os_policy_assignments_proto_goTypes = []i nil, // 16: google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.LabelsEntry (*OSPolicyAssignment_InstanceFilter_Inventory)(nil), // 17: google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory (*OSPolicy)(nil), // 18: google.cloud.osconfig.v1alpha.OSPolicy - (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 20: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 19: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 20: google.protobuf.FieldMask (*FixedOrPercent)(nil), // 21: google.cloud.osconfig.v1alpha.FixedOrPercent - (*durationpb.Duration)(nil), // 22: google.protobuf.Duration + (*duration.Duration)(nil), // 22: google.protobuf.Duration } var file_google_cloud_osconfig_v1alpha_os_policy_assignments_proto_depIdxs = []int32{ 18, // 0: google.cloud.osconfig.v1alpha.OSPolicyAssignment.os_policies:type_name -> google.cloud.osconfig.v1alpha.OSPolicy diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go index 1bf630f4891..04e492e1b49 100644 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/osconfig_common.proto package osconfigpb diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go index e0399f34f22..3056757b248 100644 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto package osconfigpb diff --git a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go index a592ee304bc..4d4ef11e0dc 100644 --- a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1alpha/vulnerability.proto package osconfigpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -419,7 +419,7 @@ type VulnerabilityReport struct { Vulnerabilities []*VulnerabilityReport_Vulnerability `protobuf:"bytes,2,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"` // Output only. The timestamp for when the last vulnerability report was generated for the // VM. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *VulnerabilityReport) Reset() { @@ -468,7 +468,7 @@ func (x *VulnerabilityReport) GetVulnerabilities() []*VulnerabilityReport_Vulner return nil } -func (x *VulnerabilityReport) GetUpdateTime() *timestamppb.Timestamp { +func (x *VulnerabilityReport) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -855,9 +855,9 @@ type VulnerabilityReport_Vulnerability struct { // Deprecated: Do not use. AvailableInventoryItemIds []string `protobuf:"bytes,3,rep,name=available_inventory_item_ids,json=availableInventoryItemIds,proto3" json:"available_inventory_item_ids,omitempty"` // The timestamp for when the vulnerability was first detected. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The timestamp for when the vulnerability was last modified. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // List of items affected by the vulnerability. Items []*VulnerabilityReport_Vulnerability_Item `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` } @@ -917,14 +917,14 @@ func (x *VulnerabilityReport_Vulnerability) GetAvailableInventoryItemIds() []str return nil } -func (x *VulnerabilityReport_Vulnerability) GetCreateTime() *timestamppb.Timestamp { +func (x *VulnerabilityReport_Vulnerability) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *VulnerabilityReport_Vulnerability) GetUpdateTime() *timestamppb.Timestamp { +func (x *VulnerabilityReport_Vulnerability) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1457,7 +1457,7 @@ var file_google_cloud_osconfig_v1alpha_vulnerability_proto_goTypes = []interface (*VulnerabilityReport_Vulnerability_Details)(nil), // 12: google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details (*VulnerabilityReport_Vulnerability_Item)(nil), // 13: google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item (*VulnerabilityReport_Vulnerability_Details_Reference)(nil), // 14: google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 15: google.protobuf.Timestamp } var file_google_cloud_osconfig_v1alpha_vulnerability_proto_depIdxs = []int32{ 11, // 0: google.cloud.osconfig.v1alpha.VulnerabilityReport.vulnerabilities:type_name -> google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability diff --git a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go index fd007168905..7f7b1168453 100644 --- a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go +++ b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1beta/guest_policies.proto package osconfigpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -355,9 +355,9 @@ type GuestPolicy struct { // to 1024 characters. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. Time this guest policy was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Last time this guest policy was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. Specifies the VM instances that are assigned to this policy. This allows // you to target sets or groups of VM instances by different parameters such // as labels, names, OS, or zones. @@ -429,14 +429,14 @@ func (x *GuestPolicy) GetDescription() string { return "" } -func (x *GuestPolicy) GetCreateTime() *timestamppb.Timestamp { +func (x *GuestPolicy) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *GuestPolicy) GetUpdateTime() *timestamppb.Timestamp { +func (x *GuestPolicy) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1518,7 +1518,7 @@ type UpdateGuestPolicyRequest struct { GuestPolicy *GuestPolicy `protobuf:"bytes,1,opt,name=guest_policy,json=guestPolicy,proto3" json:"guest_policy,omitempty"` // Field mask that controls which fields of the guest policy should be // updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateGuestPolicyRequest) Reset() { @@ -1560,7 +1560,7 @@ func (x *UpdateGuestPolicyRequest) GetGuestPolicy() *GuestPolicy { return nil } -func (x *UpdateGuestPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateGuestPolicyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -3493,8 +3493,8 @@ var file_google_cloud_osconfig_v1beta_guest_policies_proto_goTypes = []interface (*EffectiveGuestPolicy_SourcedPackage)(nil), // 36: google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage (*EffectiveGuestPolicy_SourcedPackageRepository)(nil), // 37: google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository (*EffectiveGuestPolicy_SourcedSoftwareRecipe)(nil), // 38: google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe - (*timestamppb.Timestamp)(nil), // 39: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 40: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 39: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 40: google.protobuf.FieldMask } var file_google_cloud_osconfig_v1beta_guest_policies_proto_depIdxs = []int32{ 39, // 0: google.cloud.osconfig.v1beta.GuestPolicy.create_time:type_name -> google.protobuf.Timestamp diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go index 94193414449..204b4778318 100644 --- a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1beta/osconfig_common.proto package osconfigpb diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go index 000c85c57ec..47ea629c394 100644 --- a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1beta/osconfig_service.proto package osconfigpb @@ -24,13 +24,13 @@ import ( context "context" reflect "reflect" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) const ( @@ -323,7 +323,7 @@ var file_google_cloud_osconfig_v1beta_osconfig_service_proto_goTypes = []interfa (*ListPatchJobInstanceDetailsResponse)(nil), // 20: google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse (*PatchDeployment)(nil), // 21: google.cloud.osconfig.v1beta.PatchDeployment (*ListPatchDeploymentsResponse)(nil), // 22: google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse - (*emptypb.Empty)(nil), // 23: google.protobuf.Empty + (*empty.Empty)(nil), // 23: google.protobuf.Empty (*GuestPolicy)(nil), // 24: google.cloud.osconfig.v1beta.GuestPolicy (*ListGuestPoliciesResponse)(nil), // 25: google.cloud.osconfig.v1beta.ListGuestPoliciesResponse (*EffectiveGuestPolicy)(nil), // 26: google.cloud.osconfig.v1beta.EffectiveGuestPolicy @@ -430,7 +430,7 @@ type OsConfigServiceClient interface { // Get a page of OS Config patch deployments. ListPatchDeployments(ctx context.Context, in *ListPatchDeploymentsRequest, opts ...grpc.CallOption) (*ListPatchDeploymentsResponse, error) // Delete an OS Config patch deployment. - DeletePatchDeployment(ctx context.Context, in *DeletePatchDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePatchDeployment(ctx context.Context, in *DeletePatchDeploymentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Update an OS Config patch deployment. UpdatePatchDeployment(ctx context.Context, in *UpdatePatchDeploymentRequest, opts ...grpc.CallOption) (*PatchDeployment, error) // Change state of patch deployment to "PAUSED". @@ -448,7 +448,7 @@ type OsConfigServiceClient interface { // Update an OS Config guest policy. UpdateGuestPolicy(ctx context.Context, in *UpdateGuestPolicyRequest, opts ...grpc.CallOption) (*GuestPolicy, error) // Delete an OS Config guest policy. - DeleteGuestPolicy(ctx context.Context, in *DeleteGuestPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteGuestPolicy(ctx context.Context, in *DeleteGuestPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lookup the effective guest policy that applies to a VM instance. This // lookup merges all policies that are assigned to the instance ancestry. LookupEffectiveGuestPolicy(ctx context.Context, in *LookupEffectiveGuestPolicyRequest, opts ...grpc.CallOption) (*EffectiveGuestPolicy, error) @@ -534,8 +534,8 @@ func (c *osConfigServiceClient) ListPatchDeployments(ctx context.Context, in *Li return out, nil } -func (c *osConfigServiceClient) DeletePatchDeployment(ctx context.Context, in *DeletePatchDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *osConfigServiceClient) DeletePatchDeployment(ctx context.Context, in *DeletePatchDeploymentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.osconfig.v1beta.OsConfigService/DeletePatchDeployment", in, out, opts...) if err != nil { return nil, err @@ -606,8 +606,8 @@ func (c *osConfigServiceClient) UpdateGuestPolicy(ctx context.Context, in *Updat return out, nil } -func (c *osConfigServiceClient) DeleteGuestPolicy(ctx context.Context, in *DeleteGuestPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *osConfigServiceClient) DeleteGuestPolicy(ctx context.Context, in *DeleteGuestPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.osconfig.v1beta.OsConfigService/DeleteGuestPolicy", in, out, opts...) if err != nil { return nil, err @@ -645,7 +645,7 @@ type OsConfigServiceServer interface { // Get a page of OS Config patch deployments. ListPatchDeployments(context.Context, *ListPatchDeploymentsRequest) (*ListPatchDeploymentsResponse, error) // Delete an OS Config patch deployment. - DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*emptypb.Empty, error) + DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*empty.Empty, error) // Update an OS Config patch deployment. UpdatePatchDeployment(context.Context, *UpdatePatchDeploymentRequest) (*PatchDeployment, error) // Change state of patch deployment to "PAUSED". @@ -663,7 +663,7 @@ type OsConfigServiceServer interface { // Update an OS Config guest policy. UpdateGuestPolicy(context.Context, *UpdateGuestPolicyRequest) (*GuestPolicy, error) // Delete an OS Config guest policy. - DeleteGuestPolicy(context.Context, *DeleteGuestPolicyRequest) (*emptypb.Empty, error) + DeleteGuestPolicy(context.Context, *DeleteGuestPolicyRequest) (*empty.Empty, error) // Lookup the effective guest policy that applies to a VM instance. This // lookup merges all policies that are assigned to the instance ancestry. LookupEffectiveGuestPolicy(context.Context, *LookupEffectiveGuestPolicyRequest) (*EffectiveGuestPolicy, error) @@ -697,7 +697,7 @@ func (*UnimplementedOsConfigServiceServer) GetPatchDeployment(context.Context, * func (*UnimplementedOsConfigServiceServer) ListPatchDeployments(context.Context, *ListPatchDeploymentsRequest) (*ListPatchDeploymentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPatchDeployments not implemented") } -func (*UnimplementedOsConfigServiceServer) DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*emptypb.Empty, error) { +func (*UnimplementedOsConfigServiceServer) DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePatchDeployment not implemented") } func (*UnimplementedOsConfigServiceServer) UpdatePatchDeployment(context.Context, *UpdatePatchDeploymentRequest) (*PatchDeployment, error) { @@ -721,7 +721,7 @@ func (*UnimplementedOsConfigServiceServer) ListGuestPolicies(context.Context, *L func (*UnimplementedOsConfigServiceServer) UpdateGuestPolicy(context.Context, *UpdateGuestPolicyRequest) (*GuestPolicy, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateGuestPolicy not implemented") } -func (*UnimplementedOsConfigServiceServer) DeleteGuestPolicy(context.Context, *DeleteGuestPolicyRequest) (*emptypb.Empty, error) { +func (*UnimplementedOsConfigServiceServer) DeleteGuestPolicy(context.Context, *DeleteGuestPolicyRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteGuestPolicy not implemented") } func (*UnimplementedOsConfigServiceServer) LookupEffectiveGuestPolicy(context.Context, *LookupEffectiveGuestPolicyRequest) (*EffectiveGuestPolicy, error) { diff --git a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go index 1d488991391..01f86d824a6 100644 --- a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1beta/patch_deployments.proto package osconfigpb @@ -24,15 +24,15 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -179,7 +179,7 @@ type PatchDeployment struct { // Optional. Patch configuration that is applied. PatchConfig *PatchConfig `protobuf:"bytes,4,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"` // Optional. Duration of the patch. After the duration ends, the patch times out. - Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` // Schedule for the patch. // // Types that are assignable to Schedule: @@ -189,14 +189,14 @@ type PatchDeployment struct { Schedule isPatchDeployment_Schedule `protobuf_oneof:"schedule"` // Output only. Time the patch deployment was created. Timestamp is in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time the patch deployment was last updated. Timestamp is in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The last time a patch job was started by this deployment. // Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text // format. - LastExecuteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"` + LastExecuteTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"` // Optional. Rollout strategy of the patch job. Rollout *PatchRollout `protobuf:"bytes,11,opt,name=rollout,proto3" json:"rollout,omitempty"` // Output only. Current state of the patch deployment. @@ -263,7 +263,7 @@ func (x *PatchDeployment) GetPatchConfig() *PatchConfig { return nil } -func (x *PatchDeployment) GetDuration() *durationpb.Duration { +func (x *PatchDeployment) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -291,21 +291,21 @@ func (x *PatchDeployment) GetRecurringSchedule() *RecurringSchedule { return nil } -func (x *PatchDeployment) GetCreateTime() *timestamppb.Timestamp { +func (x *PatchDeployment) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *PatchDeployment) GetUpdateTime() *timestamppb.Timestamp { +func (x *PatchDeployment) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *PatchDeployment) GetLastExecuteTime() *timestamppb.Timestamp { +func (x *PatchDeployment) GetLastExecuteTime() *timestamp.Timestamp { if x != nil { return x.LastExecuteTime } @@ -352,7 +352,7 @@ type OneTimeSchedule struct { unknownFields protoimpl.UnknownFields // Required. The desired patch job execution time. - ExecuteTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=execute_time,json=executeTime,proto3" json:"execute_time,omitempty"` + ExecuteTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=execute_time,json=executeTime,proto3" json:"execute_time,omitempty"` } func (x *OneTimeSchedule) Reset() { @@ -387,7 +387,7 @@ func (*OneTimeSchedule) Descriptor() ([]byte, []int) { return file_google_cloud_osconfig_v1beta_patch_deployments_proto_rawDescGZIP(), []int{1} } -func (x *OneTimeSchedule) GetExecuteTime() *timestamppb.Timestamp { +func (x *OneTimeSchedule) GetExecuteTime() *timestamp.Timestamp { if x != nil { return x.ExecuteTime } @@ -405,10 +405,10 @@ type RecurringSchedule struct { TimeZone *datetime.TimeZone `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // Optional. The time that the recurring schedule becomes effective. // Defaults to `create_time` of the patch deployment. - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Optional. The end time at which a recurring patch deployment schedule is no longer // active. - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Required. Time of the day to run a recurring deployment. TimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"` // Required. The frequency unit of this recurring schedule. @@ -422,9 +422,9 @@ type RecurringSchedule struct { // *RecurringSchedule_Monthly ScheduleConfig isRecurringSchedule_ScheduleConfig `protobuf_oneof:"schedule_config"` // Output only. The time the last patch job ran successfully. - LastExecuteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"` + LastExecuteTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"` // Output only. The time the next patch job is scheduled to run. - NextExecuteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=next_execute_time,json=nextExecuteTime,proto3" json:"next_execute_time,omitempty"` + NextExecuteTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=next_execute_time,json=nextExecuteTime,proto3" json:"next_execute_time,omitempty"` } func (x *RecurringSchedule) Reset() { @@ -466,14 +466,14 @@ func (x *RecurringSchedule) GetTimeZone() *datetime.TimeZone { return nil } -func (x *RecurringSchedule) GetStartTime() *timestamppb.Timestamp { +func (x *RecurringSchedule) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *RecurringSchedule) GetEndTime() *timestamppb.Timestamp { +func (x *RecurringSchedule) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -515,14 +515,14 @@ func (x *RecurringSchedule) GetMonthly() *MonthlySchedule { return nil } -func (x *RecurringSchedule) GetLastExecuteTime() *timestamppb.Timestamp { +func (x *RecurringSchedule) GetLastExecuteTime() *timestamp.Timestamp { if x != nil { return x.LastExecuteTime } return nil } -func (x *RecurringSchedule) GetNextExecuteTime() *timestamppb.Timestamp { +func (x *RecurringSchedule) GetNextExecuteTime() *timestamp.Timestamp { if x != nil { return x.NextExecuteTime } @@ -1070,7 +1070,7 @@ type UpdatePatchDeploymentRequest struct { PatchDeployment *PatchDeployment `protobuf:"bytes,1,opt,name=patch_deployment,json=patchDeployment,proto3" json:"patch_deployment,omitempty"` // Optional. Field mask that controls which fields of the patch deployment should be // updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdatePatchDeploymentRequest) Reset() { @@ -1112,7 +1112,7 @@ func (x *UpdatePatchDeploymentRequest) GetPatchDeployment() *PatchDeployment { return nil } -func (x *UpdatePatchDeploymentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdatePatchDeploymentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1497,13 +1497,13 @@ var file_google_cloud_osconfig_v1beta_patch_deployments_proto_goTypes = []interf (*ResumePatchDeploymentRequest)(nil), // 15: google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest (*PatchInstanceFilter)(nil), // 16: google.cloud.osconfig.v1beta.PatchInstanceFilter (*PatchConfig)(nil), // 17: google.cloud.osconfig.v1beta.PatchConfig - (*durationpb.Duration)(nil), // 18: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp + (*duration.Duration)(nil), // 18: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 19: google.protobuf.Timestamp (*PatchRollout)(nil), // 20: google.cloud.osconfig.v1beta.PatchRollout (*datetime.TimeZone)(nil), // 21: google.type.TimeZone (*timeofday.TimeOfDay)(nil), // 22: google.type.TimeOfDay (dayofweek.DayOfWeek)(0), // 23: google.type.DayOfWeek - (*fieldmaskpb.FieldMask)(nil), // 24: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 24: google.protobuf.FieldMask } var file_google_cloud_osconfig_v1beta_patch_deployments_proto_depIdxs = []int32{ 16, // 0: google.cloud.osconfig.v1beta.PatchDeployment.instance_filter:type_name -> google.cloud.osconfig.v1beta.PatchInstanceFilter diff --git a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go index 34eab13ecdb..c6800a6cfef 100644 --- a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/osconfig/v1beta/patch_jobs.proto package osconfigpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -566,7 +566,7 @@ type ExecutePatchJobRequest struct { PatchConfig *PatchConfig `protobuf:"bytes,4,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"` // Duration of the patch job. After the duration ends, the patch job // times out. - Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` // If this patch is a dry-run only, instances are contacted but // will do nothing. DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` @@ -636,7 +636,7 @@ func (x *ExecutePatchJobRequest) GetPatchConfig() *PatchConfig { return nil } -func (x *ExecutePatchJobRequest) GetDuration() *durationpb.Duration { +func (x *ExecutePatchJobRequest) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -1099,9 +1099,9 @@ type PatchJob struct { // to 1024 characters. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Time this patch job was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Last time this patch job was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The current state of the PatchJob. State PatchJob_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.osconfig.v1beta.PatchJob_State" json:"state,omitempty"` // Instances to patch. @@ -1110,7 +1110,7 @@ type PatchJob struct { PatchConfig *PatchConfig `protobuf:"bytes,7,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"` // Duration of the patch job. After the duration ends, the // patch job times out. - Duration *durationpb.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"` // Summary of instance details. InstanceDetailsSummary *PatchJob_InstanceDetailsSummary `protobuf:"bytes,9,opt,name=instance_details_summary,json=instanceDetailsSummary,proto3" json:"instance_details_summary,omitempty"` // If this patch job is a dry run, the agent reports that it has @@ -1181,14 +1181,14 @@ func (x *PatchJob) GetDescription() string { return "" } -func (x *PatchJob) GetCreateTime() *timestamppb.Timestamp { +func (x *PatchJob) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *PatchJob) GetUpdateTime() *timestamppb.Timestamp { +func (x *PatchJob) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1216,7 +1216,7 @@ func (x *PatchJob) GetPatchConfig() *PatchConfig { return nil } -func (x *PatchJob) GetDuration() *durationpb.Duration { +func (x *PatchJob) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -2990,8 +2990,8 @@ var file_google_cloud_osconfig_v1beta_patch_jobs_proto_goTypes = []interface{}{ (*PatchJob_InstanceDetailsSummary)(nil), // 28: google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary (*PatchInstanceFilter_GroupLabel)(nil), // 29: google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel nil, // 30: google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel.LabelsEntry - (*durationpb.Duration)(nil), // 31: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp + (*duration.Duration)(nil), // 31: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 32: google.protobuf.Timestamp (*FixedOrPercent)(nil), // 33: google.cloud.osconfig.v1beta.FixedOrPercent } var file_google_cloud_osconfig_v1beta_patch_jobs_proto_depIdxs = []int32{ diff --git a/oslogin/apiv1beta/osloginpb/oslogin.pb.go b/oslogin/apiv1beta/osloginpb/oslogin.pb.go index 7549ff4bf61..0e90793c37a 100644 --- a/oslogin/apiv1beta/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1beta/osloginpb/oslogin.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/oslogin/v1beta/oslogin.proto package osloginpb @@ -26,15 +26,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" common "google.golang.org/genproto/googleapis/cloud/oslogin/common" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -461,7 +461,7 @@ type UpdateSshPublicKeyRequest struct { // Required. The SSH public key and expiration time. SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` // Mask to control which fields get updated. Updates all if not present. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSshPublicKeyRequest) Reset() { @@ -510,7 +510,7 @@ func (x *UpdateSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { return nil } -func (x *UpdateSshPublicKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSshPublicKeyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -750,8 +750,8 @@ var file_google_cloud_oslogin_v1beta_oslogin_proto_goTypes = []interface{}{ nil, // 8: google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry (*common.PosixAccount)(nil), // 9: google.cloud.oslogin.common.PosixAccount (*common.SshPublicKey)(nil), // 10: google.cloud.oslogin.common.SshPublicKey - (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask + (*empty.Empty)(nil), // 12: google.protobuf.Empty } var file_google_cloud_oslogin_v1beta_oslogin_proto_depIdxs = []int32{ 9, // 0: google.cloud.oslogin.v1beta.LoginProfile.posix_accounts:type_name -> google.cloud.oslogin.common.PosixAccount @@ -916,9 +916,9 @@ const _ = grpc.SupportPackageIsVersion6 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type OsLoginServiceClient interface { // Deletes a POSIX account. - DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Deletes an SSH public key. - DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Retrieves the profile information used for logging in to a virtual machine // on Google Compute Engine. GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) @@ -941,8 +941,8 @@ func NewOsLoginServiceClient(cc grpc.ClientConnInterface) OsLoginServiceClient { return &osLoginServiceClient{cc} } -func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/DeletePosixAccount", in, out, opts...) if err != nil { return nil, err @@ -950,8 +950,8 @@ func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *Delet return out, nil } -func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/DeleteSshPublicKey", in, out, opts...) if err != nil { return nil, err @@ -998,9 +998,9 @@ func (c *osLoginServiceClient) UpdateSshPublicKey(ctx context.Context, in *Updat // OsLoginServiceServer is the server API for OsLoginService service. type OsLoginServiceServer interface { // Deletes a POSIX account. - DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*emptypb.Empty, error) + DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error) // Deletes an SSH public key. - DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*emptypb.Empty, error) + DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error) // Retrieves the profile information used for logging in to a virtual machine // on Google Compute Engine. GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) @@ -1019,10 +1019,10 @@ type OsLoginServiceServer interface { type UnimplementedOsLoginServiceServer struct { } -func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*emptypb.Empty, error) { +func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePosixAccount not implemented") } -func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*emptypb.Empty, error) { +func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSshPublicKey not implemented") } func (*UnimplementedOsLoginServiceServer) GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) { diff --git a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go index 4e5a746496b..14c62d671a0 100644 --- a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go +++ b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto package phishingprotectionpb diff --git a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go index 80ad50dda0b..f84c75a7aa8 100644 --- a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go +++ b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/privatecatalog/v1beta1/private_catalog.proto package privatecatalogpb @@ -25,6 +25,8 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" grpc "google.golang.org/grpc" @@ -32,8 +34,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -543,9 +543,9 @@ type Catalog struct { // Output only. The description of the catalog. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time when the catalog was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the catalog was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Catalog) Reset() { @@ -601,14 +601,14 @@ func (x *Catalog) GetDescription() string { return "" } -func (x *Catalog) GetCreateTime() *timestamppb.Timestamp { +func (x *Catalog) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Catalog) GetUpdateTime() *timestamppb.Timestamp { +func (x *Catalog) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -796,16 +796,16 @@ type Product struct { // - name // - description // additionalProperties: true - DisplayMetadata *structpb.Struct `protobuf:"bytes,3,opt,name=display_metadata,json=displayMetadata,proto3" json:"display_metadata,omitempty"` + DisplayMetadata *_struct.Struct `protobuf:"bytes,3,opt,name=display_metadata,json=displayMetadata,proto3" json:"display_metadata,omitempty"` // Output only. The icon URI of the product. IconUri string `protobuf:"bytes,4,opt,name=icon_uri,json=iconUri,proto3" json:"icon_uri,omitempty"` // Output only. A collection of assets referred by a product. // This field is set for Terraform Products only. AssetReferences []*AssetReference `protobuf:"bytes,10,rep,name=asset_references,json=assetReferences,proto3" json:"asset_references,omitempty"` // Output only. The time when the product was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the product was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Product) Reset() { @@ -854,7 +854,7 @@ func (x *Product) GetAssetType() string { return "" } -func (x *Product) GetDisplayMetadata() *structpb.Struct { +func (x *Product) GetDisplayMetadata() *_struct.Struct { if x != nil { return x.DisplayMetadata } @@ -875,14 +875,14 @@ func (x *Product) GetAssetReferences() []*AssetReference { return nil } -func (x *Product) GetCreateTime() *timestamppb.Timestamp { +func (x *Product) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Product) GetUpdateTime() *timestamppb.Timestamp { +func (x *Product) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -917,9 +917,9 @@ type AssetReference struct { // Output only. The cloud storage source. GcsSource *GcsSource `protobuf:"bytes,16,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` // Output only. The creation timestamp of the asset reference. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update timestamp of the asset reference. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The version of the source used for this asset reference. // // Deprecated: Do not use. @@ -1029,14 +1029,14 @@ func (x *AssetReference) GetGcsSource() *GcsSource { return nil } -func (x *AssetReference) GetCreateTime() *timestamppb.Timestamp { +func (x *AssetReference) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *AssetReference) GetUpdateTime() *timestamppb.Timestamp { +func (x *AssetReference) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1085,7 +1085,7 @@ type Inputs struct { unknownFields protoimpl.UnknownFields // Output only. The JSON schema defining the inputs and their formats. - Parameters *structpb.Struct `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *_struct.Struct `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` } func (x *Inputs) Reset() { @@ -1120,7 +1120,7 @@ func (*Inputs) Descriptor() ([]byte, []int) { return file_google_cloud_privatecatalog_v1beta1_private_catalog_proto_rawDescGZIP(), []int{9} } -func (x *Inputs) GetParameters() *structpb.Struct { +func (x *Inputs) GetParameters() *_struct.Struct { if x != nil { return x.Parameters } @@ -1139,7 +1139,7 @@ type GcsSource struct { // being written. Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` // Output only. The time when the object metadata was last changed. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *GcsSource) Reset() { @@ -1188,7 +1188,7 @@ func (x *GcsSource) GetGeneration() int64 { return 0 } -func (x *GcsSource) GetUpdateTime() *timestamppb.Timestamp { +func (x *GcsSource) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1336,11 +1336,11 @@ type Version struct { // Output only. The asset which has been validated and is ready to be // provisioned. See // [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details. - Asset *structpb.Struct `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` + Asset *_struct.Struct `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` // Output only. The time when the version was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the version was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Version) Reset() { @@ -1389,21 +1389,21 @@ func (x *Version) GetDescription() string { return "" } -func (x *Version) GetAsset() *structpb.Struct { +func (x *Version) GetAsset() *_struct.Struct { if x != nil { return x.Asset } return nil } -func (x *Version) GetCreateTime() *timestamppb.Timestamp { +func (x *Version) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Version) GetUpdateTime() *timestamppb.Timestamp { +func (x *Version) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1747,8 +1747,8 @@ var file_google_cloud_privatecatalog_v1beta1_private_catalog_proto_goTypes = []i (*GcsSource)(nil), // 11: google.cloud.privatecatalog.v1beta1.GcsSource (*GitSource)(nil), // 12: google.cloud.privatecatalog.v1beta1.GitSource (*Version)(nil), // 13: google.cloud.privatecatalog.v1beta1.Version - (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 15: google.protobuf.Struct + (*timestamp.Timestamp)(nil), // 14: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 15: google.protobuf.Struct (*longrunning.Operation)(nil), // 16: google.longrunning.Operation } var file_google_cloud_privatecatalog_v1beta1_private_catalog_proto_depIdxs = []int32{ diff --git a/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go index da2bbb49c72..a6662c5d268 100644 --- a/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto package recaptchaenterprisepb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -887,7 +887,7 @@ type TokenProperties struct { // Reason associated with the response when valid = false. InvalidReason TokenProperties_InvalidReason `protobuf:"varint,2,opt,name=invalid_reason,json=invalidReason,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.TokenProperties_InvalidReason" json:"invalid_reason,omitempty"` // The timestamp corresponding to the generation of the token. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The hostname of the page on which the token was generated. Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` // Action name provided at token generation. @@ -940,7 +940,7 @@ func (x *TokenProperties) GetInvalidReason() TokenProperties_InvalidReason { return TokenProperties_INVALID_REASON_UNSPECIFIED } -func (x *TokenProperties) GetCreateTime() *timestamppb.Timestamp { +func (x *TokenProperties) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1309,7 +1309,7 @@ var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_goTy (*Event)(nil), // 10: google.cloud.recaptchaenterprise.v1beta1.Event (*TokenProperties)(nil), // 11: google.cloud.recaptchaenterprise.v1beta1.TokenProperties (*AccountDefenderAssessment)(nil), // 12: google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment - (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp } var file_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto_depIdxs = []int32{ 9, // 0: google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest.assessment:type_name -> google.cloud.recaptchaenterprise.v1beta1.Assessment diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go index 3e42baf4704..6d0d0c28fc1 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/catalog.proto package recommendationenginepb diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go index 19b3901414d..861fad17961 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/catalog_service.proto package recommendationenginepb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -303,7 +303,7 @@ type UpdateCatalogItemRequest struct { CatalogItem *CatalogItem `protobuf:"bytes,2,opt,name=catalog_item,json=catalogItem,proto3" json:"catalog_item,omitempty"` // Optional. Indicates which fields in the provided 'item' to update. If not // set, will by default update all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCatalogItemRequest) Reset() { @@ -352,7 +352,7 @@ func (x *UpdateCatalogItemRequest) GetCatalogItem() *CatalogItem { return nil } -func (x *UpdateCatalogItemRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCatalogItemRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -658,9 +658,9 @@ var file_google_cloud_recommendationengine_v1beta1_catalog_service_proto_goTypes (*UpdateCatalogItemRequest)(nil), // 4: google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest (*DeleteCatalogItemRequest)(nil), // 5: google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest (*CatalogItem)(nil), // 6: google.cloud.recommendationengine.v1beta1.CatalogItem - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask (*ImportCatalogItemsRequest)(nil), // 8: google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest - (*emptypb.Empty)(nil), // 9: google.protobuf.Empty + (*empty.Empty)(nil), // 9: google.protobuf.Empty (*longrunning.Operation)(nil), // 10: google.longrunning.Operation } var file_google_cloud_recommendationengine_v1beta1_catalog_service_proto_depIdxs = []int32{ @@ -811,7 +811,7 @@ type CatalogServiceClient interface { // items will be created. UpdateCatalogItem(ctx context.Context, in *UpdateCatalogItemRequest, opts ...grpc.CallOption) (*CatalogItem, error) // Deletes a catalog item. - DeleteCatalogItem(ctx context.Context, in *DeleteCatalogItemRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteCatalogItem(ctx context.Context, in *DeleteCatalogItemRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Bulk import of multiple catalog items. Request processing may be // synchronous. No partial updating supported. Non-existing items will be // created. @@ -865,8 +865,8 @@ func (c *catalogServiceClient) UpdateCatalogItem(ctx context.Context, in *Update return out, nil } -func (c *catalogServiceClient) DeleteCatalogItem(ctx context.Context, in *DeleteCatalogItemRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *catalogServiceClient) DeleteCatalogItem(ctx context.Context, in *DeleteCatalogItemRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.recommendationengine.v1beta1.CatalogService/DeleteCatalogItem", in, out, opts...) if err != nil { return nil, err @@ -895,7 +895,7 @@ type CatalogServiceServer interface { // items will be created. UpdateCatalogItem(context.Context, *UpdateCatalogItemRequest) (*CatalogItem, error) // Deletes a catalog item. - DeleteCatalogItem(context.Context, *DeleteCatalogItemRequest) (*emptypb.Empty, error) + DeleteCatalogItem(context.Context, *DeleteCatalogItemRequest) (*empty.Empty, error) // Bulk import of multiple catalog items. Request processing may be // synchronous. No partial updating supported. Non-existing items will be // created. @@ -921,7 +921,7 @@ func (*UnimplementedCatalogServiceServer) ListCatalogItems(context.Context, *Lis func (*UnimplementedCatalogServiceServer) UpdateCatalogItem(context.Context, *UpdateCatalogItemRequest) (*CatalogItem, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCatalogItem not implemented") } -func (*UnimplementedCatalogServiceServer) DeleteCatalogItem(context.Context, *DeleteCatalogItemRequest) (*emptypb.Empty, error) { +func (*UnimplementedCatalogServiceServer) DeleteCatalogItem(context.Context, *DeleteCatalogItemRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCatalogItem not implemented") } func (*UnimplementedCatalogServiceServer) ImportCatalogItems(context.Context, *ImportCatalogItemsRequest) (*longrunning.Operation, error) { diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go index 94689b7b798..00a2de314e9 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/common.proto package recommendationenginepb diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go index 9288be16904..478af539d06 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/import.proto package recommendationenginepb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -542,14 +542,14 @@ type ImportMetadata struct { // was passed in the request. RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Count of entries that were processed successfully. SuccessCount int64 `protobuf:"varint,1,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // Count of entries that encountered errors while processing. FailureCount int64 `protobuf:"varint,2,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"` // Operation last update time. If the operation is done, this is also the // finish time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *ImportMetadata) Reset() { @@ -598,7 +598,7 @@ func (x *ImportMetadata) GetRequestId() string { return "" } -func (x *ImportMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ImportMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -619,7 +619,7 @@ func (x *ImportMetadata) GetFailureCount() int64 { return 0 } -func (x *ImportMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *ImportMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1036,7 +1036,7 @@ var file_google_cloud_recommendationengine_v1beta1_import_proto_goTypes = []inte (*UserEventImportSummary)(nil), // 10: google.cloud.recommendationengine.v1beta1.UserEventImportSummary (*CatalogItem)(nil), // 11: google.cloud.recommendationengine.v1beta1.CatalogItem (*UserEvent)(nil), // 12: google.cloud.recommendationengine.v1beta1.UserEvent - (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp (*status.Status)(nil), // 14: google.rpc.Status } var file_google_cloud_recommendationengine_v1beta1_import_proto_depIdxs = []int32{ diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go index cabfe19405b..598890ef8bf 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto package recommendationenginepb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) const ( @@ -514,7 +514,7 @@ var file_google_cloud_recommendationengine_v1beta1_prediction_apikey_registry_se (*ListPredictionApiKeyRegistrationsRequest)(nil), // 2: google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest (*ListPredictionApiKeyRegistrationsResponse)(nil), // 3: google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse (*DeletePredictionApiKeyRegistrationRequest)(nil), // 4: google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest - (*emptypb.Empty)(nil), // 5: google.protobuf.Empty + (*empty.Empty)(nil), // 5: google.protobuf.Empty } var file_google_cloud_recommendationengine_v1beta1_prediction_apikey_registry_service_proto_depIdxs = []int32{ 0, // 0: google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest.prediction_api_key_registration:type_name -> google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration @@ -639,7 +639,7 @@ type PredictionApiKeyRegistryClient interface { // List the registered apiKeys for use with predict method. ListPredictionApiKeyRegistrations(ctx context.Context, in *ListPredictionApiKeyRegistrationsRequest, opts ...grpc.CallOption) (*ListPredictionApiKeyRegistrationsResponse, error) // Unregister an apiKey from using for predict method. - DeletePredictionApiKeyRegistration(ctx context.Context, in *DeletePredictionApiKeyRegistrationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePredictionApiKeyRegistration(ctx context.Context, in *DeletePredictionApiKeyRegistrationRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type predictionApiKeyRegistryClient struct { @@ -668,8 +668,8 @@ func (c *predictionApiKeyRegistryClient) ListPredictionApiKeyRegistrations(ctx c return out, nil } -func (c *predictionApiKeyRegistryClient) DeletePredictionApiKeyRegistration(ctx context.Context, in *DeletePredictionApiKeyRegistrationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *predictionApiKeyRegistryClient) DeletePredictionApiKeyRegistration(ctx context.Context, in *DeletePredictionApiKeyRegistrationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry/DeletePredictionApiKeyRegistration", in, out, opts...) if err != nil { return nil, err @@ -684,7 +684,7 @@ type PredictionApiKeyRegistryServer interface { // List the registered apiKeys for use with predict method. ListPredictionApiKeyRegistrations(context.Context, *ListPredictionApiKeyRegistrationsRequest) (*ListPredictionApiKeyRegistrationsResponse, error) // Unregister an apiKey from using for predict method. - DeletePredictionApiKeyRegistration(context.Context, *DeletePredictionApiKeyRegistrationRequest) (*emptypb.Empty, error) + DeletePredictionApiKeyRegistration(context.Context, *DeletePredictionApiKeyRegistrationRequest) (*empty.Empty, error) } // UnimplementedPredictionApiKeyRegistryServer can be embedded to have forward compatible implementations. @@ -697,7 +697,7 @@ func (*UnimplementedPredictionApiKeyRegistryServer) CreatePredictionApiKeyRegist func (*UnimplementedPredictionApiKeyRegistryServer) ListPredictionApiKeyRegistrations(context.Context, *ListPredictionApiKeyRegistrationsRequest) (*ListPredictionApiKeyRegistrationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPredictionApiKeyRegistrations not implemented") } -func (*UnimplementedPredictionApiKeyRegistryServer) DeletePredictionApiKeyRegistration(context.Context, *DeletePredictionApiKeyRegistrationRequest) (*emptypb.Empty, error) { +func (*UnimplementedPredictionApiKeyRegistryServer) DeletePredictionApiKeyRegistration(context.Context, *DeletePredictionApiKeyRegistrationRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePredictionApiKeyRegistration not implemented") } diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go index d473744a6cb..affbddd06e5 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/prediction_service.proto package recommendationenginepb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -125,7 +125,7 @@ type PredictRequest struct { // field in the prediction response. The given 'score' indicates the // probability of an item being clicked/purchased given the user's context // and history. - Params map[string]*structpb.Value `protobuf:"bytes,6,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Params map[string]*_struct.Value `protobuf:"bytes,6,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. The labels for the predict request. // // - Label keys can contain lowercase letters, digits and hyphens, must start @@ -212,7 +212,7 @@ func (x *PredictRequest) GetDryRun() bool { return false } -func (x *PredictRequest) GetParams() map[string]*structpb.Value { +func (x *PredictRequest) GetParams() map[string]*_struct.Value { if x != nil { return x.Params } @@ -244,7 +244,7 @@ type PredictResponse struct { // True if the dryRun property was set in the request. DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // Additional domain specific prediction response metadata. - Metadata map[string]*structpb.Value `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Metadata map[string]*_struct.Value `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // If empty, the list is complete. If nonempty, the token to pass to the next // request's PredictRequest.page_token. NextPageToken string `protobuf:"bytes,6,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -310,7 +310,7 @@ func (x *PredictResponse) GetDryRun() bool { return false } -func (x *PredictResponse) GetMetadata() map[string]*structpb.Value { +func (x *PredictResponse) GetMetadata() map[string]*_struct.Value { if x != nil { return x.Metadata } @@ -340,7 +340,7 @@ type PredictResponse_PredictionResult struct { // `returnCatalogItem` is set to true in `PredictRequest.params`. // - `score`: Prediction score in double value. Will be set if // `returnItemScore` is set to true in `PredictRequest.params`. - ItemMetadata map[string]*structpb.Value `protobuf:"bytes,2,rep,name=item_metadata,json=itemMetadata,proto3" json:"item_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ItemMetadata map[string]*_struct.Value `protobuf:"bytes,2,rep,name=item_metadata,json=itemMetadata,proto3" json:"item_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *PredictResponse_PredictionResult) Reset() { @@ -382,7 +382,7 @@ func (x *PredictResponse_PredictionResult) GetId() string { return "" } -func (x *PredictResponse_PredictionResult) GetItemMetadata() map[string]*structpb.Value { +func (x *PredictResponse_PredictionResult) GetItemMetadata() map[string]*_struct.Value { if x != nil { return x.ItemMetadata } @@ -564,7 +564,7 @@ var file_google_cloud_recommendationengine_v1beta1_prediction_service_proto_goTy nil, // 5: google.cloud.recommendationengine.v1beta1.PredictResponse.MetadataEntry nil, // 6: google.cloud.recommendationengine.v1beta1.PredictResponse.PredictionResult.ItemMetadataEntry (*UserEvent)(nil), // 7: google.cloud.recommendationengine.v1beta1.UserEvent - (*structpb.Value)(nil), // 8: google.protobuf.Value + (*_struct.Value)(nil), // 8: google.protobuf.Value } var file_google_cloud_recommendationengine_v1beta1_prediction_service_proto_depIdxs = []int32{ 7, // 0: google.cloud.recommendationengine.v1beta1.PredictRequest.user_event:type_name -> google.cloud.recommendationengine.v1beta1.UserEvent diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go index 317096a43be..3bc869da37c 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto package recommendationenginepb diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go index 615f27792cf..a69de3b8104 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/user_event.proto package recommendationenginepb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -154,7 +154,7 @@ type UserEvent struct { ProductEventDetail *ProductEventDetail `protobuf:"bytes,4,opt,name=product_event_detail,json=productEventDetail,proto3" json:"product_event_detail,omitempty"` // Optional. Only required for ImportUserEvents method. Timestamp of user // event created. - EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + EventTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // Optional. This field should *not* be set when using JavaScript pixel // or the Recommendations AI Tag. Defaults to `EVENT_SOURCE_UNSPECIFIED`. EventSource UserEvent_EventSource `protobuf:"varint,6,opt,name=event_source,json=eventSource,proto3,enum=google.cloud.recommendationengine.v1beta1.UserEvent_EventSource" json:"event_source,omitempty"` @@ -220,7 +220,7 @@ func (x *UserEvent) GetProductEventDetail() *ProductEventDetail { return nil } -func (x *UserEvent) GetEventTime() *timestamppb.Timestamp { +func (x *UserEvent) GetEventTime() *timestamp.Timestamp { if x != nil { return x.EventTime } @@ -1046,7 +1046,7 @@ var file_google_cloud_recommendationengine_v1beta1_user_event_proto_goTypes = [] (*ProductDetail)(nil), // 6: google.cloud.recommendationengine.v1beta1.ProductDetail nil, // 7: google.cloud.recommendationengine.v1beta1.PurchaseTransaction.TaxesEntry nil, // 8: google.cloud.recommendationengine.v1beta1.PurchaseTransaction.CostsEntry - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp (*FeatureMap)(nil), // 10: google.cloud.recommendationengine.v1beta1.FeatureMap (*CatalogItem_CategoryHierarchy)(nil), // 11: google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy (ProductCatalogItem_StockState)(0), // 12: google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go index aa095ba3ab7..46cfdc9819f 100644 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommendationengine/v1beta1/user_event_service.proto package recommendationenginepb @@ -25,6 +25,7 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" longrunning "google.golang.org/genproto/googleapis/longrunning" @@ -33,7 +34,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -141,7 +141,7 @@ type PurgeUserEventsMetadata struct { // The ID of the request / operation. OperationName string `protobuf:"bytes,1,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *PurgeUserEventsMetadata) Reset() { @@ -183,7 +183,7 @@ func (x *PurgeUserEventsMetadata) GetOperationName() string { return "" } -func (x *PurgeUserEventsMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *PurgeUserEventsMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -811,7 +811,7 @@ var file_google_cloud_recommendationengine_v1beta1_user_event_service_proto_goTy (*CollectUserEventRequest)(nil), // 4: google.cloud.recommendationengine.v1beta1.CollectUserEventRequest (*ListUserEventsRequest)(nil), // 5: google.cloud.recommendationengine.v1beta1.ListUserEventsRequest (*ListUserEventsResponse)(nil), // 6: google.cloud.recommendationengine.v1beta1.ListUserEventsResponse - (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 7: google.protobuf.Timestamp (*UserEvent)(nil), // 8: google.cloud.recommendationengine.v1beta1.UserEvent (*ImportUserEventsRequest)(nil), // 9: google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest (*httpbody.HttpBody)(nil), // 10: google.api.HttpBody diff --git a/recommender/apiv1beta1/recommenderpb/insight.pb.go b/recommender/apiv1beta1/recommenderpb/insight.pb.go index d2b3a42d608..4d8c9ee421a 100644 --- a/recommender/apiv1beta1/recommenderpb/insight.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommender/v1beta1/insight.proto package recommenderpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -242,13 +242,13 @@ type Insight struct { InsightSubtype string `protobuf:"bytes,10,opt,name=insight_subtype,json=insightSubtype,proto3" json:"insight_subtype,omitempty"` // A struct of custom fields to explain the insight. // Example: "grantedPermissionsCount": "1000" - Content *structpb.Struct `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` + Content *_struct.Struct `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // Timestamp of the latest data used to generate the insight. - LastRefreshTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_refresh_time,json=lastRefreshTime,proto3" json:"last_refresh_time,omitempty"` + LastRefreshTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_refresh_time,json=lastRefreshTime,proto3" json:"last_refresh_time,omitempty"` // Observation period that led to the insight. The source data used to // generate the insight ends at last_refresh_time and begins at // (last_refresh_time - observation_period). - ObservationPeriod *durationpb.Duration `protobuf:"bytes,5,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"` + ObservationPeriod *duration.Duration `protobuf:"bytes,5,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"` // Information state and metadata. StateInfo *InsightStateInfo `protobuf:"bytes,6,opt,name=state_info,json=stateInfo,proto3" json:"state_info,omitempty"` // Category being targeted by the insight. @@ -322,21 +322,21 @@ func (x *Insight) GetInsightSubtype() string { return "" } -func (x *Insight) GetContent() *structpb.Struct { +func (x *Insight) GetContent() *_struct.Struct { if x != nil { return x.Content } return nil } -func (x *Insight) GetLastRefreshTime() *timestamppb.Timestamp { +func (x *Insight) GetLastRefreshTime() *timestamp.Timestamp { if x != nil { return x.LastRefreshTime } return nil } -func (x *Insight) GetObservationPeriod() *durationpb.Duration { +func (x *Insight) GetObservationPeriod() *duration.Duration { if x != nil { return x.ObservationPeriod } @@ -668,9 +668,9 @@ var file_google_cloud_recommender_v1beta1_insight_proto_goTypes = []interface{}{ (*InsightStateInfo)(nil), // 4: google.cloud.recommender.v1beta1.InsightStateInfo (*Insight_RecommendationReference)(nil), // 5: google.cloud.recommender.v1beta1.Insight.RecommendationReference nil, // 6: google.cloud.recommender.v1beta1.InsightStateInfo.StateMetadataEntry - (*structpb.Struct)(nil), // 7: google.protobuf.Struct - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*_struct.Struct)(nil), // 7: google.protobuf.Struct + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*duration.Duration)(nil), // 9: google.protobuf.Duration } var file_google_cloud_recommender_v1beta1_insight_proto_depIdxs = []int32{ 7, // 0: google.cloud.recommender.v1beta1.Insight.content:type_name -> google.protobuf.Struct diff --git a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go index cd4d605d2e2..dbba991a908 100644 --- a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommender/v1beta1/insight_type_config.proto package recommenderpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -55,7 +55,7 @@ type InsightTypeConfig struct { // updating. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // Last time when the config was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Immutable. The revision ID of the config. // A new revision is committed whenever the config is changed in any way. // The format is an 8-character hexadecimal string. @@ -127,7 +127,7 @@ func (x *InsightTypeConfig) GetEtag() string { return "" } -func (x *InsightTypeConfig) GetUpdateTime() *timestamppb.Timestamp { +func (x *InsightTypeConfig) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -165,7 +165,7 @@ type InsightTypeGenerationConfig struct { // Parameters for this InsightTypeGenerationConfig. These configs can be used // by or are applied to all subtypes. - Params *structpb.Struct `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + Params *_struct.Struct `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` } func (x *InsightTypeGenerationConfig) Reset() { @@ -200,7 +200,7 @@ func (*InsightTypeGenerationConfig) Descriptor() ([]byte, []int) { return file_google_cloud_recommender_v1beta1_insight_type_config_proto_rawDescGZIP(), []int{1} } -func (x *InsightTypeGenerationConfig) GetParams() *structpb.Struct { +func (x *InsightTypeGenerationConfig) GetParams() *_struct.Struct { if x != nil { return x.Params } @@ -305,8 +305,8 @@ var file_google_cloud_recommender_v1beta1_insight_type_config_proto_goTypes = [] (*InsightTypeConfig)(nil), // 0: google.cloud.recommender.v1beta1.InsightTypeConfig (*InsightTypeGenerationConfig)(nil), // 1: google.cloud.recommender.v1beta1.InsightTypeGenerationConfig nil, // 2: google.cloud.recommender.v1beta1.InsightTypeConfig.AnnotationsEntry - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 4: google.protobuf.Struct + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 4: google.protobuf.Struct } var file_google_cloud_recommender_v1beta1_insight_type_config_proto_depIdxs = []int32{ 1, // 0: google.cloud.recommender.v1beta1.InsightTypeConfig.insight_type_generation_config:type_name -> google.cloud.recommender.v1beta1.InsightTypeGenerationConfig diff --git a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go index 98baecf5a74..9d917ac7fe6 100644 --- a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommender/v1beta1/recommendation.proto package recommenderpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -271,7 +271,7 @@ type Recommendation struct { RecommenderSubtype string `protobuf:"bytes,12,opt,name=recommender_subtype,json=recommenderSubtype,proto3" json:"recommender_subtype,omitempty"` // Last time this recommendation was refreshed by the system that created it // in the first place. - LastRefreshTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_refresh_time,json=lastRefreshTime,proto3" json:"last_refresh_time,omitempty"` + LastRefreshTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_refresh_time,json=lastRefreshTime,proto3" json:"last_refresh_time,omitempty"` // The primary impact that this recommendation can have while trying to // optimize for one category. PrimaryImpact *Impact `protobuf:"bytes,5,opt,name=primary_impact,json=primaryImpact,proto3" json:"primary_impact,omitempty"` @@ -350,7 +350,7 @@ func (x *Recommendation) GetRecommenderSubtype() string { return "" } -func (x *Recommendation) GetLastRefreshTime() *timestamppb.Timestamp { +func (x *Recommendation) GetLastRefreshTime() *timestamp.Timestamp { if x != nil { return x.LastRefreshTime } @@ -424,7 +424,7 @@ type RecommendationContent struct { // atomically and in an order. OperationGroups []*OperationGroup `protobuf:"bytes,2,rep,name=operation_groups,json=operationGroups,proto3" json:"operation_groups,omitempty"` // Condensed overview information about the recommendation. - Overview *structpb.Struct `protobuf:"bytes,3,opt,name=overview,proto3" json:"overview,omitempty"` + Overview *_struct.Struct `protobuf:"bytes,3,opt,name=overview,proto3" json:"overview,omitempty"` } func (x *RecommendationContent) Reset() { @@ -466,7 +466,7 @@ func (x *RecommendationContent) GetOperationGroups() []*OperationGroup { return nil } -func (x *RecommendationContent) GetOverview() *structpb.Struct { +func (x *RecommendationContent) GetOverview() *_struct.Struct { if x != nil { return x.Overview } @@ -604,7 +604,7 @@ type Operation struct { // ``` // When both path_filters and path_value_matchers are set, an implicit AND // must be performed. - PathFilters map[string]*structpb.Value `protobuf:"bytes,8,rep,name=path_filters,json=pathFilters,proto3" json:"path_filters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + PathFilters map[string]*_struct.Value `protobuf:"bytes,8,rep,name=path_filters,json=pathFilters,proto3" json:"path_filters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Similar to path_filters, this contains set of filters to apply if `path` // field refers to array elements. This is meant to support value matching // beyond exact match. To perform exact match, use path_filters. @@ -694,7 +694,7 @@ func (m *Operation) GetPathValue() isOperation_PathValue { return nil } -func (x *Operation) GetValue() *structpb.Value { +func (x *Operation) GetValue() *_struct.Value { if x, ok := x.GetPathValue().(*Operation_Value); ok { return x.Value } @@ -708,7 +708,7 @@ func (x *Operation) GetValueMatcher() *ValueMatcher { return nil } -func (x *Operation) GetPathFilters() map[string]*structpb.Value { +func (x *Operation) GetPathFilters() map[string]*_struct.Value { if x != nil { return x.PathFilters } @@ -730,7 +730,7 @@ type Operation_Value struct { // Value for the `path` field. Will be set for actions:'add'/'replace'. // Maybe set for action: 'test'. Either this or `value_matcher` will be set // for 'test' operation. An exact match must be performed. - Value *structpb.Value `protobuf:"bytes,7,opt,name=value,proto3,oneof"` + Value *_struct.Value `protobuf:"bytes,7,opt,name=value,proto3,oneof"` } type Operation_ValueMatcher struct { @@ -828,7 +828,7 @@ type CostProjection struct { // prices or custom contract prices. Cost *money.Money `protobuf:"bytes,1,opt,name=cost,proto3" json:"cost,omitempty"` // Duration for which this cost applies. - Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` } func (x *CostProjection) Reset() { @@ -870,7 +870,7 @@ func (x *CostProjection) GetCost() *money.Money { return nil } -func (x *CostProjection) GetDuration() *durationpb.Duration { +func (x *CostProjection) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -885,7 +885,7 @@ type SecurityProjection struct { // This field can be used by the recommender to define details specific to // security impact. - Details *structpb.Struct `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + Details *_struct.Struct `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` } func (x *SecurityProjection) Reset() { @@ -920,7 +920,7 @@ func (*SecurityProjection) Descriptor() ([]byte, []int) { return file_google_cloud_recommender_v1beta1_recommendation_proto_rawDescGZIP(), []int{6} } -func (x *SecurityProjection) GetDetails() *structpb.Struct { +func (x *SecurityProjection) GetDetails() *_struct.Struct { if x != nil { return x.Details } @@ -938,7 +938,7 @@ type SustainabilityProjection struct { // Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e). KgCO2E float64 `protobuf:"fixed64,1,opt,name=kg_c_o2e,json=kgCO2e,proto3" json:"kg_c_o2e,omitempty"` // Duration for which this sustanability applies. - Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` } func (x *SustainabilityProjection) Reset() { @@ -980,7 +980,7 @@ func (x *SustainabilityProjection) GetKgCO2E() float64 { return 0 } -func (x *SustainabilityProjection) GetDuration() *durationpb.Duration { +func (x *SustainabilityProjection) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -1522,11 +1522,11 @@ var file_google_cloud_recommender_v1beta1_recommendation_proto_goTypes = []inter nil, // 14: google.cloud.recommender.v1beta1.Operation.PathFiltersEntry nil, // 15: google.cloud.recommender.v1beta1.Operation.PathValueMatchersEntry nil, // 16: google.cloud.recommender.v1beta1.RecommendationStateInfo.StateMetadataEntry - (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 18: google.protobuf.Struct - (*structpb.Value)(nil), // 19: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 17: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 18: google.protobuf.Struct + (*_struct.Value)(nil), // 19: google.protobuf.Value (*money.Money)(nil), // 20: google.type.Money - (*durationpb.Duration)(nil), // 21: google.protobuf.Duration + (*duration.Duration)(nil), // 21: google.protobuf.Duration } var file_google_cloud_recommender_v1beta1_recommendation_proto_depIdxs = []int32{ 17, // 0: google.cloud.recommender.v1beta1.Recommendation.last_refresh_time:type_name -> google.protobuf.Timestamp diff --git a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go index 32a275d1ad0..58b825211a8 100644 --- a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommender/v1beta1/recommender_config.proto package recommenderpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -55,7 +55,7 @@ type RecommenderConfig struct { // updating. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // Last time when the config was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Immutable. The revision ID of the config. // A new revision is committed whenever the config is changed in any way. // The format is an 8-character hexadecimal string. @@ -127,7 +127,7 @@ func (x *RecommenderConfig) GetEtag() string { return "" } -func (x *RecommenderConfig) GetUpdateTime() *timestamppb.Timestamp { +func (x *RecommenderConfig) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -165,7 +165,7 @@ type RecommenderGenerationConfig struct { // Parameters for this RecommenderGenerationConfig. These configs can be used // by or are applied to all subtypes. - Params *structpb.Struct `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + Params *_struct.Struct `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` } func (x *RecommenderGenerationConfig) Reset() { @@ -200,7 +200,7 @@ func (*RecommenderGenerationConfig) Descriptor() ([]byte, []int) { return file_google_cloud_recommender_v1beta1_recommender_config_proto_rawDescGZIP(), []int{1} } -func (x *RecommenderGenerationConfig) GetParams() *structpb.Struct { +func (x *RecommenderGenerationConfig) GetParams() *_struct.Struct { if x != nil { return x.Params } @@ -305,8 +305,8 @@ var file_google_cloud_recommender_v1beta1_recommender_config_proto_goTypes = []i (*RecommenderConfig)(nil), // 0: google.cloud.recommender.v1beta1.RecommenderConfig (*RecommenderGenerationConfig)(nil), // 1: google.cloud.recommender.v1beta1.RecommenderGenerationConfig nil, // 2: google.cloud.recommender.v1beta1.RecommenderConfig.AnnotationsEntry - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 4: google.protobuf.Struct + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*_struct.Struct)(nil), // 4: google.protobuf.Struct } var file_google_cloud_recommender_v1beta1_recommender_config_proto_depIdxs = []int32{ 1, // 0: google.cloud.recommender.v1beta1.RecommenderConfig.recommender_generation_config:type_name -> google.cloud.recommender.v1beta1.RecommenderGenerationConfig diff --git a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go index 631f7c9b1b5..0555eca825a 100644 --- a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/recommender/v1beta1/recommender_service.proto package recommenderpb @@ -26,12 +26,12 @@ import ( sync "sync" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -835,7 +835,7 @@ type UpdateRecommenderConfigRequest struct { // Required. The RecommenderConfig to update. RecommenderConfig *RecommenderConfig `protobuf:"bytes,1,opt,name=recommender_config,json=recommenderConfig,proto3" json:"recommender_config,omitempty"` // The list of fields to be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If true, validate the request and preview the change, but do not actually // update it. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` @@ -880,7 +880,7 @@ func (x *UpdateRecommenderConfigRequest) GetRecommenderConfig() *RecommenderConf return nil } -func (x *UpdateRecommenderConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateRecommenderConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -960,7 +960,7 @@ type UpdateInsightTypeConfigRequest struct { // Required. The InsightTypeConfig to update. InsightTypeConfig *InsightTypeConfig `protobuf:"bytes,1,opt,name=insight_type_config,json=insightTypeConfig,proto3" json:"insight_type_config,omitempty"` // The list of fields to be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If true, validate the request and preview the change, but do not actually // update it. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` @@ -1005,7 +1005,7 @@ func (x *UpdateInsightTypeConfigRequest) GetInsightTypeConfig() *InsightTypeConf return nil } -func (x *UpdateInsightTypeConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateInsightTypeConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1618,7 +1618,7 @@ var file_google_cloud_recommender_v1beta1_recommender_service_proto_goTypes = [] (*Insight)(nil), // 18: google.cloud.recommender.v1beta1.Insight (*Recommendation)(nil), // 19: google.cloud.recommender.v1beta1.Recommendation (*RecommenderConfig)(nil), // 20: google.cloud.recommender.v1beta1.RecommenderConfig - (*fieldmaskpb.FieldMask)(nil), // 21: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 21: google.protobuf.FieldMask (*InsightTypeConfig)(nil), // 22: google.cloud.recommender.v1beta1.InsightTypeConfig } var file_google_cloud_recommender_v1beta1_recommender_service_proto_depIdxs = []int32{ diff --git a/redis/apiv1beta1/cloud_redis_client.go b/redis/apiv1beta1/cloud_redis_client.go index 998d5aaf843..ad2f1747e07 100644 --- a/redis/apiv1beta1/cloud_redis_client.go +++ b/redis/apiv1beta1/cloud_redis_client.go @@ -29,6 +29,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" redispb "cloud.google.com/go/redis/apiv1beta1/redispb" + anypb "github.com/golang/protobuf/ptypes/any" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -41,7 +42,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - anypb "google.golang.org/protobuf/types/known/anypb" ) var newCloudRedisClientHook clientHook diff --git a/redis/apiv1beta1/redispb/cloud_redis.pb.go b/redis/apiv1beta1/redispb/cloud_redis.pb.go index 3cf3652bfc5..2cf05353c5b 100644 --- a/redis/apiv1beta1/redispb/cloud_redis.pb.go +++ b/redis/apiv1beta1/redispb/cloud_redis.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/redis/v1beta1/cloud_redis.proto package redispb @@ -25,18 +25,18 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -698,7 +698,7 @@ type Instance struct { // standard tier, this can be the zone of any node in the instance. CurrentLocationId string `protobuf:"bytes,12,opt,name=current_location_id,json=currentLocationId,proto3" json:"current_location_id,omitempty"` // Output only. The time the instance was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The current state of this instance. State Instance_State `protobuf:"varint,14,opt,name=state,proto3,enum=google.cloud.redis.v1beta1.Instance_State" json:"state,omitempty"` // Output only. Additional information about the current status of this @@ -889,7 +889,7 @@ func (x *Instance) GetCurrentLocationId() string { return "" } -func (x *Instance) GetCreateTime() *timestamppb.Timestamp { +func (x *Instance) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -1046,11 +1046,11 @@ type PersistenceConfig struct { // If not provided, TWENTY_FOUR_HOURS will be used as default. RdbSnapshotPeriod PersistenceConfig_SnapshotPeriod `protobuf:"varint,2,opt,name=rdb_snapshot_period,json=rdbSnapshotPeriod,proto3,enum=google.cloud.redis.v1beta1.PersistenceConfig_SnapshotPeriod" json:"rdb_snapshot_period,omitempty"` // Output only. The next time that a snapshot attempt is scheduled to occur. - RdbNextSnapshotTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=rdb_next_snapshot_time,json=rdbNextSnapshotTime,proto3" json:"rdb_next_snapshot_time,omitempty"` + RdbNextSnapshotTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=rdb_next_snapshot_time,json=rdbNextSnapshotTime,proto3" json:"rdb_next_snapshot_time,omitempty"` // Optional. Date and time that the first snapshot was/will be attempted, and to which // future snapshots will be aligned. // If not provided, the current time will be used. - RdbSnapshotStartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=rdb_snapshot_start_time,json=rdbSnapshotStartTime,proto3" json:"rdb_snapshot_start_time,omitempty"` + RdbSnapshotStartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=rdb_snapshot_start_time,json=rdbSnapshotStartTime,proto3" json:"rdb_snapshot_start_time,omitempty"` } func (x *PersistenceConfig) Reset() { @@ -1099,14 +1099,14 @@ func (x *PersistenceConfig) GetRdbSnapshotPeriod() PersistenceConfig_SnapshotPer return PersistenceConfig_SNAPSHOT_PERIOD_UNSPECIFIED } -func (x *PersistenceConfig) GetRdbNextSnapshotTime() *timestamppb.Timestamp { +func (x *PersistenceConfig) GetRdbNextSnapshotTime() *timestamp.Timestamp { if x != nil { return x.RdbNextSnapshotTime } return nil } -func (x *PersistenceConfig) GetRdbSnapshotStartTime() *timestamppb.Timestamp { +func (x *PersistenceConfig) GetRdbSnapshotStartTime() *timestamp.Timestamp { if x != nil { return x.RdbSnapshotStartTime } @@ -1130,7 +1130,7 @@ type RescheduleMaintenanceRequest struct { // Optional. Timestamp when the maintenance shall be rescheduled to if // reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for // example `2012-11-15T16:19:00.094Z`. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` } func (x *RescheduleMaintenanceRequest) Reset() { @@ -1179,7 +1179,7 @@ func (x *RescheduleMaintenanceRequest) GetRescheduleType() RescheduleMaintenance return RescheduleMaintenanceRequest_RESCHEDULE_TYPE_UNSPECIFIED } -func (x *RescheduleMaintenanceRequest) GetScheduleTime() *timestamppb.Timestamp { +func (x *RescheduleMaintenanceRequest) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } @@ -1193,9 +1193,9 @@ type MaintenancePolicy struct { unknownFields protoimpl.UnknownFields // Output only. The time when the policy was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the policy was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Description of what this policy is for. Create/Update methods // return INVALID_ARGUMENT if the length is greater than 512. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` @@ -1237,14 +1237,14 @@ func (*MaintenancePolicy) Descriptor() ([]byte, []int) { return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{4} } -func (x *MaintenancePolicy) GetCreateTime() *timestamppb.Timestamp { +func (x *MaintenancePolicy) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *MaintenancePolicy) GetUpdateTime() *timestamppb.Timestamp { +func (x *MaintenancePolicy) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1277,7 +1277,7 @@ type WeeklyMaintenanceWindow struct { // Required. Start time of the window in UTC time. StartTime *timeofday.TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Duration of the maintenance window. The current window is fixed at 1 hour. - Duration *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` } func (x *WeeklyMaintenanceWindow) Reset() { @@ -1326,7 +1326,7 @@ func (x *WeeklyMaintenanceWindow) GetStartTime() *timeofday.TimeOfDay { return nil } -func (x *WeeklyMaintenanceWindow) GetDuration() *durationpb.Duration { +func (x *WeeklyMaintenanceWindow) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -1341,16 +1341,16 @@ type MaintenanceSchedule struct { unknownFields protoimpl.UnknownFields // Output only. The start time of any upcoming scheduled maintenance for this instance. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The end time of any upcoming scheduled maintenance for this instance. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // If the scheduled maintenance can be rescheduled, default is true. // // Deprecated: Do not use. CanReschedule bool `protobuf:"varint,3,opt,name=can_reschedule,json=canReschedule,proto3" json:"can_reschedule,omitempty"` // Output only. The deadline that the maintenance schedule start time can not go beyond, // including reschedule. - ScheduleDeadlineTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=schedule_deadline_time,json=scheduleDeadlineTime,proto3" json:"schedule_deadline_time,omitempty"` + ScheduleDeadlineTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=schedule_deadline_time,json=scheduleDeadlineTime,proto3" json:"schedule_deadline_time,omitempty"` } func (x *MaintenanceSchedule) Reset() { @@ -1385,14 +1385,14 @@ func (*MaintenanceSchedule) Descriptor() ([]byte, []int) { return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{6} } -func (x *MaintenanceSchedule) GetStartTime() *timestamppb.Timestamp { +func (x *MaintenanceSchedule) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *MaintenanceSchedule) GetEndTime() *timestamppb.Timestamp { +func (x *MaintenanceSchedule) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1407,7 +1407,7 @@ func (x *MaintenanceSchedule) GetCanReschedule() bool { return false } -func (x *MaintenanceSchedule) GetScheduleDeadlineTime() *timestamppb.Timestamp { +func (x *MaintenanceSchedule) GetScheduleDeadlineTime() *timestamp.Timestamp { if x != nil { return x.ScheduleDeadlineTime } @@ -1818,7 +1818,7 @@ type UpdateInstanceRequest struct { // - `memorySizeGb` // - `redisConfig` // - `replica_count` - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. Update description. // Only fields specified in update_mask are updated. Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` @@ -1856,7 +1856,7 @@ func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{13} } -func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2521,11 +2521,11 @@ type TlsCertificate struct { // Output only. The time when the certificate was created in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example // `2020-05-18T00:00:00.094Z`. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the certificate expires in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example // `2020-05-18T00:00:00.094Z`. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Sha1 Fingerprint of the certificate. Sha1Fingerprint string `protobuf:"bytes,5,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"` } @@ -2576,14 +2576,14 @@ func (x *TlsCertificate) GetCert() string { return "" } -func (x *TlsCertificate) GetCreateTime() *timestamppb.Timestamp { +func (x *TlsCertificate) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *TlsCertificate) GetExpireTime() *timestamppb.Timestamp { +func (x *TlsCertificate) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -3299,11 +3299,11 @@ var file_google_cloud_redis_v1beta1_cloud_redis_proto_goTypes = []interface{}{ nil, // 35: google.cloud.redis.v1beta1.Instance.LabelsEntry nil, // 36: google.cloud.redis.v1beta1.Instance.RedisConfigsEntry nil, // 37: google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry - (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 38: google.protobuf.Timestamp (dayofweek.DayOfWeek)(0), // 39: google.type.DayOfWeek (*timeofday.TimeOfDay)(nil), // 40: google.type.TimeOfDay - (*durationpb.Duration)(nil), // 41: google.protobuf.Duration - (*fieldmaskpb.FieldMask)(nil), // 42: google.protobuf.FieldMask + (*duration.Duration)(nil), // 41: google.protobuf.Duration + (*field_mask.FieldMask)(nil), // 42: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 43: google.longrunning.Operation } var file_google_cloud_redis_v1beta1_cloud_redis_proto_depIdxs = []int32{ diff --git a/retail/apiv2alpha/retailpb/catalog.pb.go b/retail/apiv2alpha/retailpb/catalog.pb.go index 4caea618e9c..f706a4ff976 100644 --- a/retail/apiv2alpha/retailpb/catalog.pb.go +++ b/retail/apiv2alpha/retailpb/catalog.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/catalog.proto package retailpb diff --git a/retail/apiv2alpha/retailpb/catalog_service.pb.go b/retail/apiv2alpha/retailpb/catalog_service.pb.go index e350d75820c..2572b17db12 100644 --- a/retail/apiv2alpha/retailpb/catalog_service.pb.go +++ b/retail/apiv2alpha/retailpb/catalog_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/catalog_service.proto package retailpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -215,7 +215,7 @@ type UpdateCatalogRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCatalogRequest) Reset() { @@ -257,7 +257,7 @@ func (x *UpdateCatalogRequest) GetCatalog() *Catalog { return nil } -func (x *UpdateCatalogRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCatalogRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -415,7 +415,7 @@ type GetDefaultBranchResponse struct { // Full resource name of the branch id currently set as default branch. Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` // The time when this branch is set to default. - SetTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` + SetTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` // This corresponds to // [SetDefaultBranchRequest.note][google.cloud.retail.v2alpha.SetDefaultBranchRequest.note] // field, when this branch was set as default. @@ -461,7 +461,7 @@ func (x *GetDefaultBranchResponse) GetBranch() string { return "" } -func (x *GetDefaultBranchResponse) GetSetTime() *timestamppb.Timestamp { +func (x *GetDefaultBranchResponse) GetSetTime() *timestamp.Timestamp { if x != nil { return x.SetTime } @@ -555,7 +555,7 @@ type UpdateCompletionConfigRequest struct { // * [CompletionConfig.auto_learning][google.cloud.retail.v2alpha.CompletionConfig.auto_learning] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCompletionConfigRequest) Reset() { @@ -597,7 +597,7 @@ func (x *UpdateCompletionConfigRequest) GetCompletionConfig() *CompletionConfig return nil } -func (x *UpdateCompletionConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCompletionConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -674,7 +674,7 @@ type UpdateAttributesConfigRequest struct { // * [AttributesConfig.catalog_attributes][google.cloud.retail.v2alpha.AttributesConfig.catalog_attributes] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateAttributesConfigRequest) Reset() { @@ -716,7 +716,7 @@ func (x *UpdateAttributesConfigRequest) GetAttributesConfig() *AttributesConfig return nil } -func (x *UpdateAttributesConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAttributesConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -868,7 +868,7 @@ type ReplaceCatalogAttributeRequest struct { // * [CatalogAttribute.key][google.cloud.retail.v2alpha.CatalogAttribute.key] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *ReplaceCatalogAttributeRequest) Reset() { @@ -917,7 +917,7 @@ func (x *ReplaceCatalogAttributeRequest) GetCatalogAttribute() *CatalogAttribute return nil } -func (x *ReplaceCatalogAttributeRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ReplaceCatalogAttributeRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1289,12 +1289,12 @@ var file_google_cloud_retail_v2alpha_catalog_service_proto_goTypes = []interface (*RemoveCatalogAttributeRequest)(nil), // 11: google.cloud.retail.v2alpha.RemoveCatalogAttributeRequest (*ReplaceCatalogAttributeRequest)(nil), // 12: google.cloud.retail.v2alpha.ReplaceCatalogAttributeRequest (*Catalog)(nil), // 13: google.cloud.retail.v2alpha.Catalog - (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 14: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 15: google.protobuf.Timestamp (*CompletionConfig)(nil), // 16: google.cloud.retail.v2alpha.CompletionConfig (*AttributesConfig)(nil), // 17: google.cloud.retail.v2alpha.AttributesConfig (*CatalogAttribute)(nil), // 18: google.cloud.retail.v2alpha.CatalogAttribute - (*emptypb.Empty)(nil), // 19: google.protobuf.Empty + (*empty.Empty)(nil), // 19: google.protobuf.Empty } var file_google_cloud_retail_v2alpha_catalog_service_proto_depIdxs = []int32{ 13, // 0: google.cloud.retail.v2alpha.ListCatalogsResponse.catalogs:type_name -> google.cloud.retail.v2alpha.Catalog @@ -1571,7 +1571,7 @@ type CatalogServiceClient interface { // (if branch is not explicitly set). // - UserEventService will only join events with products from branch // {newBranch}. - SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Get which branch is currently default branch set by // [CatalogService.SetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch] // method under a specified parent catalog. @@ -1644,8 +1644,8 @@ func (c *catalogServiceClient) UpdateCatalog(ctx context.Context, in *UpdateCata return out, nil } -func (c *catalogServiceClient) SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *catalogServiceClient) SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2alpha.CatalogService/SetDefaultBranch", in, out, opts...) if err != nil { return nil, err @@ -1765,7 +1765,7 @@ type CatalogServiceServer interface { // (if branch is not explicitly set). // - UserEventService will only join events with products from branch // {newBranch}. - SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*emptypb.Empty, error) + SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*empty.Empty, error) // Get which branch is currently default branch set by // [CatalogService.SetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch] // method under a specified parent catalog. @@ -1822,7 +1822,7 @@ func (*UnimplementedCatalogServiceServer) ListCatalogs(context.Context, *ListCat func (*UnimplementedCatalogServiceServer) UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCatalog not implemented") } -func (*UnimplementedCatalogServiceServer) SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*emptypb.Empty, error) { +func (*UnimplementedCatalogServiceServer) SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetDefaultBranch not implemented") } func (*UnimplementedCatalogServiceServer) GetDefaultBranch(context.Context, *GetDefaultBranchRequest) (*GetDefaultBranchResponse, error) { diff --git a/retail/apiv2alpha/retailpb/common.pb.go b/retail/apiv2alpha/retailpb/common.pb.go index f3c16030599..bf43a8e8154 100644 --- a/retail/apiv2alpha/retailpb/common.pb.go +++ b/retail/apiv2alpha/retailpb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/common.proto package retailpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -1169,7 +1169,7 @@ type PriceInfo struct { // // Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is // always effective because it will cause additional latency during search. - PriceEffectiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=price_effective_time,json=priceEffectiveTime,proto3" json:"price_effective_time,omitempty"` + PriceEffectiveTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=price_effective_time,json=priceEffectiveTime,proto3" json:"price_effective_time,omitempty"` // The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] // stops to be effective. The // [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search @@ -1184,7 +1184,7 @@ type PriceInfo struct { // // Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is // always effective because it will cause additional latency during search. - PriceExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=price_expire_time,json=priceExpireTime,proto3" json:"price_expire_time,omitempty"` + PriceExpireTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=price_expire_time,json=priceExpireTime,proto3" json:"price_expire_time,omitempty"` // Output only. The price range of all the child // [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] // [Product][google.cloud.retail.v2alpha.Product]s grouped together on the @@ -1259,14 +1259,14 @@ func (x *PriceInfo) GetCost() float32 { return 0 } -func (x *PriceInfo) GetPriceEffectiveTime() *timestamppb.Timestamp { +func (x *PriceInfo) GetPriceEffectiveTime() *timestamp.Timestamp { if x != nil { return x.PriceEffectiveTime } return nil } -func (x *PriceInfo) GetPriceExpireTime() *timestamppb.Timestamp { +func (x *PriceInfo) GetPriceExpireTime() *timestamp.Timestamp { if x != nil { return x.PriceExpireTime } @@ -1669,9 +1669,9 @@ type Condition_TimeRange struct { unknownFields protoimpl.UnknownFields // Start of time range. Range is inclusive. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End of time range. Range is inclusive. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *Condition_TimeRange) Reset() { @@ -1706,14 +1706,14 @@ func (*Condition_TimeRange) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2alpha_common_proto_rawDescGZIP(), []int{0, 1} } -func (x *Condition_TimeRange) GetStartTime() *timestamppb.Timestamp { +func (x *Condition_TimeRange) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Condition_TimeRange) GetEndTime() *timestamppb.Timestamp { +func (x *Condition_TimeRange) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2676,7 +2676,7 @@ var file_google_cloud_retail_v2alpha_common_proto_goTypes = []interface{}{ (*Rule_IgnoreAction)(nil), // 25: google.cloud.retail.v2alpha.Rule.IgnoreAction (*PriceInfo_PriceRange)(nil), // 26: google.cloud.retail.v2alpha.PriceInfo.PriceRange nil, // 27: google.cloud.retail.v2alpha.LocalInventory.AttributesEntry - (*timestamppb.Timestamp)(nil), // 28: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 28: google.protobuf.Timestamp } var file_google_cloud_retail_v2alpha_common_proto_depIdxs = []int32{ 16, // 0: google.cloud.retail.v2alpha.Condition.query_terms:type_name -> google.cloud.retail.v2alpha.Condition.QueryTerm diff --git a/retail/apiv2alpha/retailpb/completion_service.pb.go b/retail/apiv2alpha/retailpb/completion_service.pb.go index 8f782392a91..8abf6c5a888 100644 --- a/retail/apiv2alpha/retailpb/completion_service.pb.go +++ b/retail/apiv2alpha/retailpb/completion_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/completion_service.proto package retailpb diff --git a/retail/apiv2alpha/retailpb/control.pb.go b/retail/apiv2alpha/retailpb/control.pb.go index a79c9cca14d..dff955592ed 100644 --- a/retail/apiv2alpha/retailpb/control.pb.go +++ b/retail/apiv2alpha/retailpb/control.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/control.proto package retailpb diff --git a/retail/apiv2alpha/retailpb/control_service.pb.go b/retail/apiv2alpha/retailpb/control_service.pb.go index 60aa82e2097..07640735fe0 100644 --- a/retail/apiv2alpha/retailpb/control_service.pb.go +++ b/retail/apiv2alpha/retailpb/control_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/control_service.proto package retailpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -129,7 +129,7 @@ type UpdateControlRequest struct { // * [Control.name][google.cloud.retail.v2alpha.Control.name] // // If not set or empty, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateControlRequest) Reset() { @@ -171,7 +171,7 @@ func (x *UpdateControlRequest) GetControl() *Control { return nil } -func (x *UpdateControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateControlRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -592,15 +592,15 @@ func file_google_cloud_retail_v2alpha_control_service_proto_rawDescGZIP() []byte var file_google_cloud_retail_v2alpha_control_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_google_cloud_retail_v2alpha_control_service_proto_goTypes = []interface{}{ - (*CreateControlRequest)(nil), // 0: google.cloud.retail.v2alpha.CreateControlRequest - (*UpdateControlRequest)(nil), // 1: google.cloud.retail.v2alpha.UpdateControlRequest - (*DeleteControlRequest)(nil), // 2: google.cloud.retail.v2alpha.DeleteControlRequest - (*GetControlRequest)(nil), // 3: google.cloud.retail.v2alpha.GetControlRequest - (*ListControlsRequest)(nil), // 4: google.cloud.retail.v2alpha.ListControlsRequest - (*ListControlsResponse)(nil), // 5: google.cloud.retail.v2alpha.ListControlsResponse - (*Control)(nil), // 6: google.cloud.retail.v2alpha.Control - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 8: google.protobuf.Empty + (*CreateControlRequest)(nil), // 0: google.cloud.retail.v2alpha.CreateControlRequest + (*UpdateControlRequest)(nil), // 1: google.cloud.retail.v2alpha.UpdateControlRequest + (*DeleteControlRequest)(nil), // 2: google.cloud.retail.v2alpha.DeleteControlRequest + (*GetControlRequest)(nil), // 3: google.cloud.retail.v2alpha.GetControlRequest + (*ListControlsRequest)(nil), // 4: google.cloud.retail.v2alpha.ListControlsRequest + (*ListControlsResponse)(nil), // 5: google.cloud.retail.v2alpha.ListControlsResponse + (*Control)(nil), // 6: google.cloud.retail.v2alpha.Control + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*empty.Empty)(nil), // 8: google.protobuf.Empty } var file_google_cloud_retail_v2alpha_control_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.retail.v2alpha.CreateControlRequest.control:type_name -> google.cloud.retail.v2alpha.Control @@ -745,7 +745,7 @@ type ControlServiceClient interface { // // If the [Control][google.cloud.retail.v2alpha.Control] to delete does not // exist, a NOT_FOUND error is returned. - DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a Control. // // [Control][google.cloud.retail.v2alpha.Control] cannot be set to a different @@ -776,8 +776,8 @@ func (c *controlServiceClient) CreateControl(ctx context.Context, in *CreateCont return out, nil } -func (c *controlServiceClient) DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *controlServiceClient) DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2alpha.ControlService/DeleteControl", in, out, opts...) if err != nil { return nil, err @@ -823,7 +823,7 @@ type ControlServiceServer interface { // // If the [Control][google.cloud.retail.v2alpha.Control] to delete does not // exist, a NOT_FOUND error is returned. - DeleteControl(context.Context, *DeleteControlRequest) (*emptypb.Empty, error) + DeleteControl(context.Context, *DeleteControlRequest) (*empty.Empty, error) // Updates a Control. // // [Control][google.cloud.retail.v2alpha.Control] cannot be set to a different @@ -844,7 +844,7 @@ type UnimplementedControlServiceServer struct { func (*UnimplementedControlServiceServer) CreateControl(context.Context, *CreateControlRequest) (*Control, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateControl not implemented") } -func (*UnimplementedControlServiceServer) DeleteControl(context.Context, *DeleteControlRequest) (*emptypb.Empty, error) { +func (*UnimplementedControlServiceServer) DeleteControl(context.Context, *DeleteControlRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteControl not implemented") } func (*UnimplementedControlServiceServer) UpdateControl(context.Context, *UpdateControlRequest) (*Control, error) { diff --git a/retail/apiv2alpha/retailpb/export_config.pb.go b/retail/apiv2alpha/retailpb/export_config.pb.go index 643368a9642..4034dd7348d 100644 --- a/retail/apiv2alpha/retailpb/export_config.pb.go +++ b/retail/apiv2alpha/retailpb/export_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/export_config.proto package retailpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -119,10 +119,10 @@ type ExportMetadata struct { unknownFields protoimpl.UnknownFields // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Operation last update time. If the operation is done, this is also the // finish time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *ExportMetadata) Reset() { @@ -157,14 +157,14 @@ func (*ExportMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2alpha_export_config_proto_rawDescGZIP(), []int{1} } -func (x *ExportMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ExportMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ExportMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *ExportMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -521,7 +521,7 @@ var file_google_cloud_retail_v2alpha_export_config_proto_goTypes = []interface{} (*ExportUserEventsResponse)(nil), // 3: google.cloud.retail.v2alpha.ExportUserEventsResponse (*OutputResult)(nil), // 4: google.cloud.retail.v2alpha.OutputResult (*BigQueryOutputResult)(nil), // 5: google.cloud.retail.v2alpha.BigQueryOutputResult - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*status.Status)(nil), // 7: google.rpc.Status } var file_google_cloud_retail_v2alpha_export_config_proto_depIdxs = []int32{ diff --git a/retail/apiv2alpha/retailpb/import_config.pb.go b/retail/apiv2alpha/retailpb/import_config.pb.go index e2351057d97..48179ad3ec4 100644 --- a/retail/apiv2alpha/retailpb/import_config.pb.go +++ b/retail/apiv2alpha/retailpb/import_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/import_config.proto package retailpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" + 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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -547,7 +547,7 @@ type ImportProductsRequest struct { ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,3,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"` // Indicates which fields in the provided imported 'products' to update. If // not set, will by default update all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The mode of reconciliation between existing products and the products to be // imported. Defaults to // [ReconciliationMode.INCREMENTAL][google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode.INCREMENTAL]. @@ -640,7 +640,7 @@ func (x *ImportProductsRequest) GetErrorsConfig() *ImportErrorsConfig { return nil } -func (x *ImportProductsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ImportProductsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1102,10 +1102,10 @@ type ImportMetadata struct { unknownFields protoimpl.UnknownFields // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Operation last update time. If the operation is done, this is also the // finish time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Count of entries that were processed successfully. SuccessCount int64 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // Count of entries that encountered errors while processing. @@ -1154,14 +1154,14 @@ func (*ImportMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{11} } -func (x *ImportMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ImportMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ImportMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *ImportMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1738,8 +1738,8 @@ var file_google_cloud_retail_v2alpha_import_config_proto_goTypes = []interface{} (*date.Date)(nil), // 17: google.type.Date (*Product)(nil), // 18: google.cloud.retail.v2alpha.Product (*UserEvent)(nil), // 19: google.cloud.retail.v2alpha.UserEvent - (*fieldmaskpb.FieldMask)(nil), // 20: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 20: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 21: google.protobuf.Timestamp (*status.Status)(nil), // 22: google.rpc.Status } var file_google_cloud_retail_v2alpha_import_config_proto_depIdxs = []int32{ diff --git a/retail/apiv2alpha/retailpb/model.pb.go b/retail/apiv2alpha/retailpb/model.pb.go index af9cd128ebd..291d44b7417 100644 --- a/retail/apiv2alpha/retailpb/model.pb.go +++ b/retail/apiv2alpha/retailpb/model.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/model.proto package retailpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -492,11 +492,11 @@ type Model struct { // Output only. The serving state of the model: ACTIVE, NOT_ACTIVE. ServingState Model_ServingState `protobuf:"varint,4,opt,name=serving_state,json=servingState,proto3,enum=google.cloud.retail.v2alpha.Model_ServingState" json:"serving_state,omitempty"` // Output only. Timestamp the Recommendation Model was created at. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp the Recommendation Model was last updated. E.g. // if a Recommendation Model was paused - this would be the time the pause was // initiated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. The type of model e.g. `home-page`. // // Currently supported values: `recommended-for-you`, `others-you-may-like`, @@ -525,7 +525,7 @@ type Model struct { // is PERIODIC_TUNING_ENABLED. PeriodicTuningState Model_PeriodicTuningState `protobuf:"varint,11,opt,name=periodic_tuning_state,json=periodicTuningState,proto3,enum=google.cloud.retail.v2alpha.Model_PeriodicTuningState" json:"periodic_tuning_state,omitempty"` // Output only. The timestamp when the latest successful tune finished. - LastTuneTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_tune_time,json=lastTuneTime,proto3" json:"last_tune_time,omitempty"` + LastTuneTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=last_tune_time,json=lastTuneTime,proto3" json:"last_tune_time,omitempty"` // Output only. The tune operation associated with the model. // // Can be used to determine if there is an ongoing tune for this @@ -622,14 +622,14 @@ func (x *Model) GetServingState() Model_ServingState { return Model_SERVING_STATE_UNSPECIFIED } -func (x *Model) GetCreateTime() *timestamppb.Timestamp { +func (x *Model) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Model) GetUpdateTime() *timestamppb.Timestamp { +func (x *Model) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -657,7 +657,7 @@ func (x *Model) GetPeriodicTuningState() Model_PeriodicTuningState { return Model_PERIODIC_TUNING_STATE_UNSPECIFIED } -func (x *Model) GetLastTuneTime() *timestamppb.Timestamp { +func (x *Model) GetLastTuneTime() *timestamp.Timestamp { if x != nil { return x.LastTuneTime } @@ -1213,7 +1213,7 @@ var file_google_cloud_retail_v2alpha_model_proto_goTypes = []interface{}{ (*Model_ServingConfigList)(nil), // 7: google.cloud.retail.v2alpha.Model.ServingConfigList (*Model_PageOptimizationConfig_Candidate)(nil), // 8: google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate (*Model_PageOptimizationConfig_Panel)(nil), // 9: google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Panel - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp (RecommendationsFilteringOption)(0), // 11: google.cloud.retail.v2alpha.RecommendationsFilteringOption } var file_google_cloud_retail_v2alpha_model_proto_depIdxs = []int32{ diff --git a/retail/apiv2alpha/retailpb/model_service.pb.go b/retail/apiv2alpha/retailpb/model_service.pb.go index 1ebe3501858..c1fae393a3f 100644 --- a/retail/apiv2alpha/retailpb/model_service.pb.go +++ b/retail/apiv2alpha/retailpb/model_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/model_service.proto package retailpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -122,7 +122,7 @@ type UpdateModelRequest struct { Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Optional. Indicates which fields in the provided 'model' to // update. If not set, will by default update all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateModelRequest) Reset() { @@ -164,7 +164,7 @@ func (x *UpdateModelRequest) GetModel() *Model { return nil } -func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateModelRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -866,9 +866,9 @@ var file_google_cloud_retail_v2alpha_model_service_proto_goTypes = []interface{} (*TuneModelMetadata)(nil), // 9: google.cloud.retail.v2alpha.TuneModelMetadata (*TuneModelResponse)(nil), // 10: google.cloud.retail.v2alpha.TuneModelResponse (*Model)(nil), // 11: google.cloud.retail.v2alpha.Model - (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 12: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 13: google.longrunning.Operation - (*emptypb.Empty)(nil), // 14: google.protobuf.Empty + (*empty.Empty)(nil), // 14: google.protobuf.Empty } var file_google_cloud_retail_v2alpha_model_service_proto_depIdxs = []int32{ 11, // 0: google.cloud.retail.v2alpha.CreateModelRequest.model:type_name -> google.cloud.retail.v2alpha.Model @@ -1075,7 +1075,7 @@ type ModelServiceClient interface { // Resumes the training of an existing model. ResumeModel(ctx context.Context, in *ResumeModelRequest, opts ...grpc.CallOption) (*Model, error) // Deletes an existing model. - DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all the models linked to this event store. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Update of model metadata. Only fields that @@ -1121,8 +1121,8 @@ func (c *modelServiceClient) ResumeModel(ctx context.Context, in *ResumeModelReq return out, nil } -func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2alpha.ModelService/DeleteModel", in, out, opts...) if err != nil { return nil, err @@ -1166,7 +1166,7 @@ type ModelServiceServer interface { // Resumes the training of an existing model. ResumeModel(context.Context, *ResumeModelRequest) (*Model, error) // Deletes an existing model. - DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error) + DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error) // Lists all the models linked to this event store. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Update of model metadata. Only fields that @@ -1190,7 +1190,7 @@ func (*UnimplementedModelServiceServer) PauseModel(context.Context, *PauseModelR func (*UnimplementedModelServiceServer) ResumeModel(context.Context, *ResumeModelRequest) (*Model, error) { return nil, status.Errorf(codes.Unimplemented, "method ResumeModel not implemented") } -func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error) { +func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") } func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) { diff --git a/retail/apiv2alpha/retailpb/prediction_service.pb.go b/retail/apiv2alpha/retailpb/prediction_service.pb.go index b8aac9e642c..d88224826a8 100644 --- a/retail/apiv2alpha/retailpb/prediction_service.pb.go +++ b/retail/apiv2alpha/retailpb/prediction_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/prediction_service.proto package retailpb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -156,7 +156,7 @@ type PredictRequest struct { // category. // - `filterSyntaxV2`: Boolean. False by default. If set to true, the `filter` // field is interpreteted according to the new, attribute-based syntax. - Params map[string]*structpb.Value `protobuf:"bytes,7,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Params map[string]*_struct.Value `protobuf:"bytes,7,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The labels applied to a resource must meet the following requirements: // // - Each resource can have multiple labels, up to a maximum of 64. @@ -252,7 +252,7 @@ func (x *PredictRequest) GetValidateOnly() bool { return false } -func (x *PredictRequest) GetParams() map[string]*structpb.Value { +func (x *PredictRequest) GetParams() map[string]*_struct.Value { if x != nil { return x.Params } @@ -362,7 +362,7 @@ type PredictResponse_PredictionResult struct { // `returnProduct` is set to true in `PredictRequest.params`. // - `score`: Prediction score in double value. Is set if // `returnScore` is set to true in `PredictRequest.params`. - Metadata map[string]*structpb.Value `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Metadata map[string]*_struct.Value `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *PredictResponse_PredictionResult) Reset() { @@ -404,7 +404,7 @@ func (x *PredictResponse_PredictionResult) GetId() string { return "" } -func (x *PredictResponse_PredictionResult) GetMetadata() map[string]*structpb.Value { +func (x *PredictResponse_PredictionResult) GetMetadata() map[string]*_struct.Value { if x != nil { return x.Metadata } @@ -554,7 +554,7 @@ var file_google_cloud_retail_v2alpha_prediction_service_proto_goTypes = []interf (*PredictResponse_PredictionResult)(nil), // 4: google.cloud.retail.v2alpha.PredictResponse.PredictionResult nil, // 5: google.cloud.retail.v2alpha.PredictResponse.PredictionResult.MetadataEntry (*UserEvent)(nil), // 6: google.cloud.retail.v2alpha.UserEvent - (*structpb.Value)(nil), // 7: google.protobuf.Value + (*_struct.Value)(nil), // 7: google.protobuf.Value } var file_google_cloud_retail_v2alpha_prediction_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.retail.v2alpha.PredictRequest.user_event:type_name -> google.cloud.retail.v2alpha.UserEvent diff --git a/retail/apiv2alpha/retailpb/product.pb.go b/retail/apiv2alpha/retailpb/product.pb.go index c7374a263d5..22375d2da21 100644 --- a/retail/apiv2alpha/retailpb/product.pb.go +++ b/retail/apiv2alpha/retailpb/product.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/product.proto package retailpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "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" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -393,7 +393,7 @@ type Product struct { // The timestamp when this [Product][google.cloud.retail.v2alpha.Product] // becomes available for // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. - AvailableTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=available_time,json=availableTime,proto3" json:"available_time,omitempty"` + AvailableTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=available_time,json=availableTime,proto3" json:"available_time,omitempty"` // The online availability of the // [Product][google.cloud.retail.v2alpha.Product]. Default to // [Availability.IN_STOCK][google.cloud.retail.v2alpha.Product.Availability.IN_STOCK]. @@ -403,7 +403,7 @@ type Product struct { // Schema.org property [Offer.availability](https://schema.org/availability). Availability Product_Availability `protobuf:"varint,19,opt,name=availability,proto3,enum=google.cloud.retail.v2alpha.Product_Availability" json:"availability,omitempty"` // The available quantity of the item. - AvailableQuantity *wrapperspb.Int32Value `protobuf:"bytes,20,opt,name=available_quantity,json=availableQuantity,proto3" json:"available_quantity,omitempty"` + AvailableQuantity *wrappers.Int32Value `protobuf:"bytes,20,opt,name=available_quantity,json=availableQuantity,proto3" json:"available_quantity,omitempty"` // Fulfillment information, such as the store IDs for in-store pickup or // region IDs for different shipping methods. // @@ -506,7 +506,7 @@ type Product struct { // [available_time][google.cloud.retail.v2alpha.Product.available_time], given // it purely describes product freshness regardless of when it is available on // search and recommendation. - PublishTime *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` + PublishTime *timestamp.Timestamp `protobuf:"bytes,33,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` // Indicates which fields in the // [Product][google.cloud.retail.v2alpha.Product]s are returned in // [SearchResponse][google.cloud.retail.v2alpha.SearchResponse]. @@ -566,7 +566,7 @@ type Product struct { // Note: Returning more fields in // [SearchResponse][google.cloud.retail.v2alpha.SearchResponse] can increase // response payload size and serving latency. - RetrievableFields *fieldmaskpb.FieldMask `protobuf:"bytes,30,opt,name=retrievable_fields,json=retrievableFields,proto3" json:"retrievable_fields,omitempty"` + RetrievableFields *field_mask.FieldMask `protobuf:"bytes,30,opt,name=retrievable_fields,json=retrievableFields,proto3" json:"retrievable_fields,omitempty"` // Output only. Product variants grouped together on primary product which // share similar product attributes. It's automatically grouped by // [primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id] @@ -619,14 +619,14 @@ func (m *Product) GetExpiration() isProduct_Expiration { return nil } -func (x *Product) GetExpireTime() *timestamppb.Timestamp { +func (x *Product) GetExpireTime() *timestamp.Timestamp { if x, ok := x.GetExpiration().(*Product_ExpireTime); ok { return x.ExpireTime } return nil } -func (x *Product) GetTtl() *durationpb.Duration { +func (x *Product) GetTtl() *duration.Duration { if x, ok := x.GetExpiration().(*Product_Ttl); ok { return x.Ttl } @@ -738,7 +738,7 @@ func (x *Product) GetRating() *Rating { return nil } -func (x *Product) GetAvailableTime() *timestamppb.Timestamp { +func (x *Product) GetAvailableTime() *timestamp.Timestamp { if x != nil { return x.AvailableTime } @@ -752,7 +752,7 @@ func (x *Product) GetAvailability() Product_Availability { return Product_AVAILABILITY_UNSPECIFIED } -func (x *Product) GetAvailableQuantity() *wrapperspb.Int32Value { +func (x *Product) GetAvailableQuantity() *wrappers.Int32Value { if x != nil { return x.AvailableQuantity } @@ -829,14 +829,14 @@ func (x *Product) GetPromotions() []*Promotion { return nil } -func (x *Product) GetPublishTime() *timestamppb.Timestamp { +func (x *Product) GetPublishTime() *timestamp.Timestamp { if x != nil { return x.PublishTime } return nil } -func (x *Product) GetRetrievableFields() *fieldmaskpb.FieldMask { +func (x *Product) GetRetrievableFields() *field_mask.FieldMask { if x != nil { return x.RetrievableFields } @@ -875,7 +875,7 @@ type Product_ExpireTime struct { // // Corresponding properties: Google Merchant Center property // [expiration_date](https://support.google.com/merchants/answer/6324499). - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=expire_time,json=expireTime,proto3,oneof"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=expire_time,json=expireTime,proto3,oneof"` } type Product_Ttl struct { @@ -898,7 +898,7 @@ type Product_Ttl struct { // [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct] // and // [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts]. - Ttl *durationpb.Duration `protobuf:"bytes,17,opt,name=ttl,proto3,oneof"` + Ttl *duration.Duration `protobuf:"bytes,17,opt,name=ttl,proto3,oneof"` } func (*Product_ExpireTime) isProduct_Expiration() {} @@ -1101,22 +1101,22 @@ func file_google_cloud_retail_v2alpha_product_proto_rawDescGZIP() []byte { var file_google_cloud_retail_v2alpha_product_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_google_cloud_retail_v2alpha_product_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_retail_v2alpha_product_proto_goTypes = []interface{}{ - (Product_Type)(0), // 0: google.cloud.retail.v2alpha.Product.Type - (Product_Availability)(0), // 1: google.cloud.retail.v2alpha.Product.Availability - (*Product)(nil), // 2: google.cloud.retail.v2alpha.Product - nil, // 3: google.cloud.retail.v2alpha.Product.AttributesEntry - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 5: google.protobuf.Duration - (*PriceInfo)(nil), // 6: google.cloud.retail.v2alpha.PriceInfo - (*Rating)(nil), // 7: google.cloud.retail.v2alpha.Rating - (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value - (*FulfillmentInfo)(nil), // 9: google.cloud.retail.v2alpha.FulfillmentInfo - (*Image)(nil), // 10: google.cloud.retail.v2alpha.Image - (*Audience)(nil), // 11: google.cloud.retail.v2alpha.Audience - (*ColorInfo)(nil), // 12: google.cloud.retail.v2alpha.ColorInfo - (*Promotion)(nil), // 13: google.cloud.retail.v2alpha.Promotion - (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask - (*CustomAttribute)(nil), // 15: google.cloud.retail.v2alpha.CustomAttribute + (Product_Type)(0), // 0: google.cloud.retail.v2alpha.Product.Type + (Product_Availability)(0), // 1: google.cloud.retail.v2alpha.Product.Availability + (*Product)(nil), // 2: google.cloud.retail.v2alpha.Product + nil, // 3: google.cloud.retail.v2alpha.Product.AttributesEntry + (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*duration.Duration)(nil), // 5: google.protobuf.Duration + (*PriceInfo)(nil), // 6: google.cloud.retail.v2alpha.PriceInfo + (*Rating)(nil), // 7: google.cloud.retail.v2alpha.Rating + (*wrappers.Int32Value)(nil), // 8: google.protobuf.Int32Value + (*FulfillmentInfo)(nil), // 9: google.cloud.retail.v2alpha.FulfillmentInfo + (*Image)(nil), // 10: google.cloud.retail.v2alpha.Image + (*Audience)(nil), // 11: google.cloud.retail.v2alpha.Audience + (*ColorInfo)(nil), // 12: google.cloud.retail.v2alpha.ColorInfo + (*Promotion)(nil), // 13: google.cloud.retail.v2alpha.Promotion + (*field_mask.FieldMask)(nil), // 14: google.protobuf.FieldMask + (*CustomAttribute)(nil), // 15: google.cloud.retail.v2alpha.CustomAttribute } var file_google_cloud_retail_v2alpha_product_proto_depIdxs = []int32{ 4, // 0: google.cloud.retail.v2alpha.Product.expire_time:type_name -> google.protobuf.Timestamp diff --git a/retail/apiv2alpha/retailpb/product_service.pb.go b/retail/apiv2alpha/retailpb/product_service.pb.go index 1c23c6ab8be..82886ea18f1 100644 --- a/retail/apiv2alpha/retailpb/product_service.pb.go +++ b/retail/apiv2alpha/retailpb/product_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/product_service.proto package retailpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -219,7 +219,7 @@ type UpdateProductRequest struct { // "attributes.${key_name}". If a key name is present in the mask but not in // the patching product from the request, this key will be deleted after the // update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is // not found, a new [Product][google.cloud.retail.v2alpha.Product] will be // created. In this situation, `update_mask` is ignored. @@ -265,7 +265,7 @@ func (x *UpdateProductRequest) GetProduct() *Product { return nil } -func (x *UpdateProductRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateProductRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -438,7 +438,7 @@ type ListProductsRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // If true and // [page_token][google.cloud.retail.v2alpha.ListProductsRequest.page_token] is // empty, @@ -509,7 +509,7 @@ func (x *ListProductsRequest) GetFilter() string { return "" } -func (x *ListProductsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListProductsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -680,11 +680,11 @@ type SetInventoryRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned and the entire update will be ignored. - SetMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=set_mask,json=setMask,proto3" json:"set_mask,omitempty"` + SetMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=set_mask,json=setMask,proto3" json:"set_mask,omitempty"` // The time when the request is issued, used to prevent // out-of-order updates on inventory fields with the last update time // recorded. If not provided, the internal system time will be used. - SetTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` + SetTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2alpha.Product] with // name [Product.name][google.cloud.retail.v2alpha.Product.name] is not found, // the inventory update will still be processed and retained for at most 1 day @@ -733,14 +733,14 @@ func (x *SetInventoryRequest) GetInventory() *Product { return nil } -func (x *SetInventoryRequest) GetSetMask() *fieldmaskpb.FieldMask { +func (x *SetInventoryRequest) GetSetMask() *field_mask.FieldMask { if x != nil { return x.SetMask } return nil } -func (x *SetInventoryRequest) GetSetTime() *timestamppb.Timestamp { +func (x *SetInventoryRequest) GetSetTime() *timestamp.Timestamp { if x != nil { return x.SetTime } @@ -894,7 +894,7 @@ type AddFulfillmentPlacesRequest struct { // The time when the fulfillment updates are issued, used to prevent // out-of-order updates on fulfillment information. If not provided, the // internal system time will be used. - AddTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` + AddTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is // not found, the fulfillment information will still be processed and retained // for at most 1 day and processed once the @@ -957,7 +957,7 @@ func (x *AddFulfillmentPlacesRequest) GetPlaceIds() []string { return nil } -func (x *AddFulfillmentPlacesRequest) GetAddTime() *timestamppb.Timestamp { +func (x *AddFulfillmentPlacesRequest) GetAddTime() *timestamp.Timestamp { if x != nil { return x.AddTime } @@ -1090,11 +1090,11 @@ type AddLocalInventoriesRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned and the entire update will be ignored. - AddMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=add_mask,json=addMask,proto3" json:"add_mask,omitempty"` + AddMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=add_mask,json=addMask,proto3" json:"add_mask,omitempty"` // The time when the inventory updates are issued. Used to prevent // out-of-order updates on local inventory fields. If not provided, the // internal system time will be used. - AddTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` + AddTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is // not found, the local inventory will still be processed and retained for at // most 1 day and processed once the @@ -1150,14 +1150,14 @@ func (x *AddLocalInventoriesRequest) GetLocalInventories() []*LocalInventory { return nil } -func (x *AddLocalInventoriesRequest) GetAddMask() *fieldmaskpb.FieldMask { +func (x *AddLocalInventoriesRequest) GetAddMask() *field_mask.FieldMask { if x != nil { return x.AddMask } return nil } -func (x *AddLocalInventoriesRequest) GetAddTime() *timestamppb.Timestamp { +func (x *AddLocalInventoriesRequest) GetAddTime() *timestamp.Timestamp { if x != nil { return x.AddTime } @@ -1279,7 +1279,7 @@ type RemoveLocalInventoriesRequest struct { // The time when the inventory deletions are issued. Used to prevent // out-of-order updates and deletions on local inventory fields. If not // provided, the internal system time will be used. - RemoveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` + RemoveTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is // not found, the local inventory removal request will still be processed and // retained for at most 1 day and processed once the @@ -1335,7 +1335,7 @@ func (x *RemoveLocalInventoriesRequest) GetPlaceIds() []string { return nil } -func (x *RemoveLocalInventoriesRequest) GetRemoveTime() *timestamppb.Timestamp { +func (x *RemoveLocalInventoriesRequest) GetRemoveTime() *timestamp.Timestamp { if x != nil { return x.RemoveTime } @@ -1486,7 +1486,7 @@ type RemoveFulfillmentPlacesRequest struct { // The time when the fulfillment updates are issued, used to prevent // out-of-order updates on fulfillment information. If not provided, the // internal system time will be used. - RemoveTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` + RemoveTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is // not found, the fulfillment information will still be processed and retained // for at most 1 day and processed once the @@ -1549,7 +1549,7 @@ func (x *RemoveFulfillmentPlacesRequest) GetPlaceIds() []string { return nil } -func (x *RemoveFulfillmentPlacesRequest) GetRemoveTime() *timestamppb.Timestamp { +func (x *RemoveFulfillmentPlacesRequest) GetRemoveTime() *timestamp.Timestamp { if x != nil { return x.RemoveTime } @@ -2116,12 +2116,12 @@ var file_google_cloud_retail_v2alpha_product_service_proto_goTypes = []interface (*RemoveFulfillmentPlacesMetadata)(nil), // 19: google.cloud.retail.v2alpha.RemoveFulfillmentPlacesMetadata (*RemoveFulfillmentPlacesResponse)(nil), // 20: google.cloud.retail.v2alpha.RemoveFulfillmentPlacesResponse (*Product)(nil), // 21: google.cloud.retail.v2alpha.Product - (*fieldmaskpb.FieldMask)(nil), // 22: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 22: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 23: google.protobuf.Timestamp (*LocalInventory)(nil), // 24: google.cloud.retail.v2alpha.LocalInventory (*PurgeProductsRequest)(nil), // 25: google.cloud.retail.v2alpha.PurgeProductsRequest (*ImportProductsRequest)(nil), // 26: google.cloud.retail.v2alpha.ImportProductsRequest - (*emptypb.Empty)(nil), // 27: google.protobuf.Empty + (*empty.Empty)(nil), // 27: google.protobuf.Empty (*longrunning.Operation)(nil), // 28: google.longrunning.Operation } var file_google_cloud_retail_v2alpha_product_service_proto_depIdxs = []int32{ @@ -2474,7 +2474,7 @@ type ProductServiceClient interface { // Updates a [Product][google.cloud.retail.v2alpha.Product]. UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*Product, error) // Deletes a [Product][google.cloud.retail.v2alpha.Product]. - DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Permanently deletes all selected // [Product][google.cloud.retail.v2alpha.Product]s under a branch. // @@ -2667,8 +2667,8 @@ func (c *productServiceClient) UpdateProduct(ctx context.Context, in *UpdateProd return out, nil } -func (c *productServiceClient) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *productServiceClient) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2alpha.ProductService/DeleteProduct", in, out, opts...) if err != nil { return nil, err @@ -2750,7 +2750,7 @@ type ProductServiceServer interface { // Updates a [Product][google.cloud.retail.v2alpha.Product]. UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error) // Deletes a [Product][google.cloud.retail.v2alpha.Product]. - DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error) + DeleteProduct(context.Context, *DeleteProductRequest) (*empty.Empty, error) // Permanently deletes all selected // [Product][google.cloud.retail.v2alpha.Product]s under a branch. // @@ -2915,7 +2915,7 @@ func (*UnimplementedProductServiceServer) ListProducts(context.Context, *ListPro func (*UnimplementedProductServiceServer) UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateProduct not implemented") } -func (*UnimplementedProductServiceServer) DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error) { +func (*UnimplementedProductServiceServer) DeleteProduct(context.Context, *DeleteProductRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteProduct not implemented") } func (*UnimplementedProductServiceServer) PurgeProducts(context.Context, *PurgeProductsRequest) (*longrunning.Operation, error) { diff --git a/retail/apiv2alpha/retailpb/promotion.pb.go b/retail/apiv2alpha/retailpb/promotion.pb.go index e73063c063a..17e310521a1 100644 --- a/retail/apiv2alpha/retailpb/promotion.pb.go +++ b/retail/apiv2alpha/retailpb/promotion.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/promotion.proto package retailpb diff --git a/retail/apiv2alpha/retailpb/purge_config.pb.go b/retail/apiv2alpha/retailpb/purge_config.pb.go index e441e2bdc8f..4833620322c 100644 --- a/retail/apiv2alpha/retailpb/purge_config.pb.go +++ b/retail/apiv2alpha/retailpb/purge_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/purge_config.proto package retailpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -85,10 +85,10 @@ type PurgeProductsMetadata struct { unknownFields protoimpl.UnknownFields // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Operation last update time. If the operation is done, this is also the // finish time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Count of entries that were deleted successfully. SuccessCount int64 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // Count of entries that encountered errors while processing. @@ -127,14 +127,14 @@ func (*PurgeProductsMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2alpha_purge_config_proto_rawDescGZIP(), []int{1} } -func (x *PurgeProductsMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *PurgeProductsMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *PurgeProductsMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *PurgeProductsMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -568,7 +568,7 @@ var file_google_cloud_retail_v2alpha_purge_config_proto_goTypes = []interface{}{ (*PurgeProductsResponse)(nil), // 3: google.cloud.retail.v2alpha.PurgeProductsResponse (*PurgeUserEventsRequest)(nil), // 4: google.cloud.retail.v2alpha.PurgeUserEventsRequest (*PurgeUserEventsResponse)(nil), // 5: google.cloud.retail.v2alpha.PurgeUserEventsResponse - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_google_cloud_retail_v2alpha_purge_config_proto_depIdxs = []int32{ 6, // 0: google.cloud.retail.v2alpha.PurgeProductsMetadata.create_time:type_name -> google.protobuf.Timestamp diff --git a/retail/apiv2alpha/retailpb/search_service.pb.go b/retail/apiv2alpha/retailpb/search_service.pb.go index 193528855d5..b37562d5be5 100644 --- a/retail/apiv2alpha/retailpb/search_service.pb.go +++ b/retail/apiv2alpha/retailpb/search_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/search_service.proto package retailpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" 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" ) const ( @@ -1790,7 +1790,7 @@ type SearchResponse_SearchResult struct { // For example, a key "sku1" with field mask // "products.color_info" indicates there is a match between // "sku1" [ColorInfo][google.cloud.retail.v2alpha.ColorInfo] and the query. - MatchingVariantFields map[string]*fieldmaskpb.FieldMask `protobuf:"bytes,4,rep,name=matching_variant_fields,json=matchingVariantFields,proto3" json:"matching_variant_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MatchingVariantFields map[string]*field_mask.FieldMask `protobuf:"bytes,4,rep,name=matching_variant_fields,json=matchingVariantFields,proto3" json:"matching_variant_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The rollup matching // [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] // [Product][google.cloud.retail.v2alpha.Product] attributes. The key is one @@ -1822,7 +1822,7 @@ type SearchResponse_SearchResult struct { // [google.protobuf.Value][google.protobuf.Value]. For example, // `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there // are 10 variants in this product are available in the store "store1". - VariantRollupValues map[string]*structpb.Value `protobuf:"bytes,5,rep,name=variant_rollup_values,json=variantRollupValues,proto3" json:"variant_rollup_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + VariantRollupValues map[string]*_struct.Value `protobuf:"bytes,5,rep,name=variant_rollup_values,json=variantRollupValues,proto3" json:"variant_rollup_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *SearchResponse_SearchResult) Reset() { @@ -1878,14 +1878,14 @@ func (x *SearchResponse_SearchResult) GetMatchingVariantCount() int32 { return 0 } -func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*fieldmaskpb.FieldMask { +func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*field_mask.FieldMask { if x != nil { return x.MatchingVariantFields } return nil } -func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*structpb.Value { +func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*_struct.Value { if x != nil { return x.VariantRollupValues } @@ -2567,8 +2567,8 @@ var file_google_cloud_retail_v2alpha_search_service_proto_goTypes = []interface{ (*UserInfo)(nil), // 23: google.cloud.retail.v2alpha.UserInfo (*Interval)(nil), // 24: google.cloud.retail.v2alpha.Interval (*Product)(nil), // 25: google.cloud.retail.v2alpha.Product - (*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask - (*structpb.Value)(nil), // 27: google.protobuf.Value + (*field_mask.FieldMask)(nil), // 26: google.protobuf.FieldMask + (*_struct.Value)(nil), // 27: google.protobuf.Value } var file_google_cloud_retail_v2alpha_search_service_proto_depIdxs = []int32{ 23, // 0: google.cloud.retail.v2alpha.SearchRequest.user_info:type_name -> google.cloud.retail.v2alpha.UserInfo diff --git a/retail/apiv2alpha/retailpb/serving_config.pb.go b/retail/apiv2alpha/retailpb/serving_config.pb.go index c93e5c6c948..b7091a937b4 100644 --- a/retail/apiv2alpha/retailpb/serving_config.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/serving_config.proto package retailpb diff --git a/retail/apiv2alpha/retailpb/serving_config_service.pb.go b/retail/apiv2alpha/retailpb/serving_config_service.pb.go index 6dd7d0411c8..483d7be22f4 100644 --- a/retail/apiv2alpha/retailpb/serving_config_service.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/serving_config_service.proto package retailpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -129,7 +129,7 @@ type UpdateServingConfigRequest struct { // * [ServingConfig.name][google.cloud.retail.v2alpha.ServingConfig.name] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateServingConfigRequest) Reset() { @@ -171,7 +171,7 @@ func (x *UpdateServingConfigRequest) GetServingConfig() *ServingConfig { return nil } -func (x *UpdateServingConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateServingConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -771,8 +771,8 @@ var file_google_cloud_retail_v2alpha_serving_config_service_proto_goTypes = []in (*AddControlRequest)(nil), // 6: google.cloud.retail.v2alpha.AddControlRequest (*RemoveControlRequest)(nil), // 7: google.cloud.retail.v2alpha.RemoveControlRequest (*ServingConfig)(nil), // 8: google.cloud.retail.v2alpha.ServingConfig - (*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 10: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 9: google.protobuf.FieldMask + (*empty.Empty)(nil), // 10: google.protobuf.Empty } var file_google_cloud_retail_v2alpha_serving_config_service_proto_depIdxs = []int32{ 8, // 0: google.cloud.retail.v2alpha.CreateServingConfigRequest.serving_config:type_name -> google.cloud.retail.v2alpha.ServingConfig @@ -946,7 +946,7 @@ type ServingConfigServiceClient interface { // Deletes a ServingConfig. // // Returns a NotFound error if the ServingConfig does not exist. - DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a ServingConfig. UpdateServingConfig(ctx context.Context, in *UpdateServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) // Gets a ServingConfig. @@ -987,8 +987,8 @@ func (c *servingConfigServiceClient) CreateServingConfig(ctx context.Context, in return out, nil } -func (c *servingConfigServiceClient) DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *servingConfigServiceClient) DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2alpha.ServingConfigService/DeleteServingConfig", in, out, opts...) if err != nil { return nil, err @@ -1053,7 +1053,7 @@ type ServingConfigServiceServer interface { // Deletes a ServingConfig. // // Returns a NotFound error if the ServingConfig does not exist. - DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error) + DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*empty.Empty, error) // Updates a ServingConfig. UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error) // Gets a ServingConfig. @@ -1084,7 +1084,7 @@ type UnimplementedServingConfigServiceServer struct { func (*UnimplementedServingConfigServiceServer) CreateServingConfig(context.Context, *CreateServingConfigRequest) (*ServingConfig, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateServingConfig not implemented") } -func (*UnimplementedServingConfigServiceServer) DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error) { +func (*UnimplementedServingConfigServiceServer) DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteServingConfig not implemented") } func (*UnimplementedServingConfigServiceServer) UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error) { diff --git a/retail/apiv2alpha/retailpb/user_event.pb.go b/retail/apiv2alpha/retailpb/user_event.pb.go index d8c5339d601..d59ba999aec 100644 --- a/retail/apiv2alpha/retailpb/user_event.pb.go +++ b/retail/apiv2alpha/retailpb/user_event.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/user_event.proto package retailpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -88,7 +88,7 @@ type UserEvent struct { // Only required for // [UserEventService.ImportUserEvents][google.cloud.retail.v2alpha.UserEventService.ImportUserEvents] // method. Timestamp of when the user event happened. - EventTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + EventTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // A list of identifiers for the independent experiment groups this user event // belongs to. This is used to distinguish between user events associated with // different experiment setups (e.g. using Retail API, using different @@ -317,7 +317,7 @@ func (x *UserEvent) GetSessionId() string { return "" } -func (x *UserEvent) GetEventTime() *timestamppb.Timestamp { +func (x *UserEvent) GetEventTime() *timestamp.Timestamp { if x != nil { return x.EventTime } @@ -465,7 +465,7 @@ type ProductDetail struct { // For example, this field will be 2 if two products are added to the shopping // cart for `purchase-complete` event. Required for `add-to-cart` and // `purchase-complete` event types. - Quantity *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` + Quantity *wrappers.Int32Value `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` } func (x *ProductDetail) Reset() { @@ -507,7 +507,7 @@ func (x *ProductDetail) GetProduct() *Product { return nil } -func (x *ProductDetail) GetQuantity() *wrapperspb.Int32Value { +func (x *ProductDetail) GetQuantity() *wrappers.Int32Value { if x != nil { return x.Quantity } @@ -827,16 +827,16 @@ func file_google_cloud_retail_v2alpha_user_event_proto_rawDescGZIP() []byte { var file_google_cloud_retail_v2alpha_user_event_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_google_cloud_retail_v2alpha_user_event_proto_goTypes = []interface{}{ - (*UserEvent)(nil), // 0: google.cloud.retail.v2alpha.UserEvent - (*ProductDetail)(nil), // 1: google.cloud.retail.v2alpha.ProductDetail - (*CompletionDetail)(nil), // 2: google.cloud.retail.v2alpha.CompletionDetail - (*PurchaseTransaction)(nil), // 3: google.cloud.retail.v2alpha.PurchaseTransaction - nil, // 4: google.cloud.retail.v2alpha.UserEvent.AttributesEntry - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp - (*UserInfo)(nil), // 6: google.cloud.retail.v2alpha.UserInfo - (*Product)(nil), // 7: google.cloud.retail.v2alpha.Product - (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value - (*CustomAttribute)(nil), // 9: google.cloud.retail.v2alpha.CustomAttribute + (*UserEvent)(nil), // 0: google.cloud.retail.v2alpha.UserEvent + (*ProductDetail)(nil), // 1: google.cloud.retail.v2alpha.ProductDetail + (*CompletionDetail)(nil), // 2: google.cloud.retail.v2alpha.CompletionDetail + (*PurchaseTransaction)(nil), // 3: google.cloud.retail.v2alpha.PurchaseTransaction + nil, // 4: google.cloud.retail.v2alpha.UserEvent.AttributesEntry + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*UserInfo)(nil), // 6: google.cloud.retail.v2alpha.UserInfo + (*Product)(nil), // 7: google.cloud.retail.v2alpha.Product + (*wrappers.Int32Value)(nil), // 8: google.protobuf.Int32Value + (*CustomAttribute)(nil), // 9: google.cloud.retail.v2alpha.CustomAttribute } var file_google_cloud_retail_v2alpha_user_event_proto_depIdxs = []int32{ 5, // 0: google.cloud.retail.v2alpha.UserEvent.event_time:type_name -> google.protobuf.Timestamp diff --git a/retail/apiv2alpha/retailpb/user_event_service.pb.go b/retail/apiv2alpha/retailpb/user_event_service.pb.go index 2f32639d679..29022c04922 100644 --- a/retail/apiv2alpha/retailpb/user_event_service.pb.go +++ b/retail/apiv2alpha/retailpb/user_event_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2alpha/user_event_service.proto package retailpb diff --git a/retail/apiv2beta/retailpb/catalog.pb.go b/retail/apiv2beta/retailpb/catalog.pb.go index 7b0600bfb65..9a379b81e70 100644 --- a/retail/apiv2beta/retailpb/catalog.pb.go +++ b/retail/apiv2beta/retailpb/catalog.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/catalog.proto package retailpb diff --git a/retail/apiv2beta/retailpb/catalog_service.pb.go b/retail/apiv2beta/retailpb/catalog_service.pb.go index b1163c43139..c33a211ead9 100644 --- a/retail/apiv2beta/retailpb/catalog_service.pb.go +++ b/retail/apiv2beta/retailpb/catalog_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/catalog_service.proto package retailpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -215,7 +215,7 @@ type UpdateCatalogRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCatalogRequest) Reset() { @@ -257,7 +257,7 @@ func (x *UpdateCatalogRequest) GetCatalog() *Catalog { return nil } -func (x *UpdateCatalogRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCatalogRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -415,7 +415,7 @@ type GetDefaultBranchResponse struct { // Full resource name of the branch id currently set as default branch. Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` // The time when this branch is set to default. - SetTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` + SetTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` // This corresponds to // [SetDefaultBranchRequest.note][google.cloud.retail.v2beta.SetDefaultBranchRequest.note] // field, when this branch was set as default. @@ -461,7 +461,7 @@ func (x *GetDefaultBranchResponse) GetBranch() string { return "" } -func (x *GetDefaultBranchResponse) GetSetTime() *timestamppb.Timestamp { +func (x *GetDefaultBranchResponse) GetSetTime() *timestamp.Timestamp { if x != nil { return x.SetTime } @@ -555,7 +555,7 @@ type UpdateCompletionConfigRequest struct { // * [CompletionConfig.auto_learning][google.cloud.retail.v2beta.CompletionConfig.auto_learning] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCompletionConfigRequest) Reset() { @@ -597,7 +597,7 @@ func (x *UpdateCompletionConfigRequest) GetCompletionConfig() *CompletionConfig return nil } -func (x *UpdateCompletionConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCompletionConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -674,7 +674,7 @@ type UpdateAttributesConfigRequest struct { // * [AttributesConfig.catalog_attributes][google.cloud.retail.v2beta.AttributesConfig.catalog_attributes] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateAttributesConfigRequest) Reset() { @@ -716,7 +716,7 @@ func (x *UpdateAttributesConfigRequest) GetAttributesConfig() *AttributesConfig return nil } -func (x *UpdateAttributesConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateAttributesConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -994,7 +994,7 @@ type ReplaceCatalogAttributeRequest struct { // * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *ReplaceCatalogAttributeRequest) Reset() { @@ -1043,7 +1043,7 @@ func (x *ReplaceCatalogAttributeRequest) GetCatalogAttribute() *CatalogAttribute return nil } -func (x *ReplaceCatalogAttributeRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ReplaceCatalogAttributeRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1453,12 +1453,12 @@ var file_google_cloud_retail_v2beta_catalog_service_proto_goTypes = []interface{ (*BatchRemoveCatalogAttributesResponse)(nil), // 13: google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse (*ReplaceCatalogAttributeRequest)(nil), // 14: google.cloud.retail.v2beta.ReplaceCatalogAttributeRequest (*Catalog)(nil), // 15: google.cloud.retail.v2beta.Catalog - (*fieldmaskpb.FieldMask)(nil), // 16: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 16: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 17: google.protobuf.Timestamp (*CompletionConfig)(nil), // 18: google.cloud.retail.v2beta.CompletionConfig (*AttributesConfig)(nil), // 19: google.cloud.retail.v2beta.AttributesConfig (*CatalogAttribute)(nil), // 20: google.cloud.retail.v2beta.CatalogAttribute - (*emptypb.Empty)(nil), // 21: google.protobuf.Empty + (*empty.Empty)(nil), // 21: google.protobuf.Empty } var file_google_cloud_retail_v2beta_catalog_service_proto_depIdxs = []int32{ 15, // 0: google.cloud.retail.v2beta.ListCatalogsResponse.catalogs:type_name -> google.cloud.retail.v2beta.Catalog @@ -1761,7 +1761,7 @@ type CatalogServiceClient interface { // (if branch is not explicitly set). // - UserEventService will only join events with products from branch // {newBranch}. - SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Get which branch is currently default branch set by // [CatalogService.SetDefaultBranch][google.cloud.retail.v2beta.CatalogService.SetDefaultBranch] // method under a specified parent catalog. @@ -1838,8 +1838,8 @@ func (c *catalogServiceClient) UpdateCatalog(ctx context.Context, in *UpdateCata return out, nil } -func (c *catalogServiceClient) SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *catalogServiceClient) SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.CatalogService/SetDefaultBranch", in, out, opts...) if err != nil { return nil, err @@ -1968,7 +1968,7 @@ type CatalogServiceServer interface { // (if branch is not explicitly set). // - UserEventService will only join events with products from branch // {newBranch}. - SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*emptypb.Empty, error) + SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*empty.Empty, error) // Get which branch is currently default branch set by // [CatalogService.SetDefaultBranch][google.cloud.retail.v2beta.CatalogService.SetDefaultBranch] // method under a specified parent catalog. @@ -2029,7 +2029,7 @@ func (*UnimplementedCatalogServiceServer) ListCatalogs(context.Context, *ListCat func (*UnimplementedCatalogServiceServer) UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCatalog not implemented") } -func (*UnimplementedCatalogServiceServer) SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*emptypb.Empty, error) { +func (*UnimplementedCatalogServiceServer) SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetDefaultBranch not implemented") } func (*UnimplementedCatalogServiceServer) GetDefaultBranch(context.Context, *GetDefaultBranchRequest) (*GetDefaultBranchResponse, error) { diff --git a/retail/apiv2beta/retailpb/common.pb.go b/retail/apiv2beta/retailpb/common.pb.go index 6183a37e0f5..932975d3428 100644 --- a/retail/apiv2beta/retailpb/common.pb.go +++ b/retail/apiv2beta/retailpb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/common.proto package retailpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -1170,7 +1170,7 @@ type PriceInfo struct { // // Do not set if [price][google.cloud.retail.v2beta.PriceInfo.price] is always // effective because it will cause additional latency during search. - PriceEffectiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=price_effective_time,json=priceEffectiveTime,proto3" json:"price_effective_time,omitempty"` + PriceEffectiveTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=price_effective_time,json=priceEffectiveTime,proto3" json:"price_effective_time,omitempty"` // The timestamp when the [price][google.cloud.retail.v2beta.PriceInfo.price] // stops to be effective. The // [price][google.cloud.retail.v2beta.PriceInfo.price] is used for search @@ -1185,7 +1185,7 @@ type PriceInfo struct { // // Do not set if [price][google.cloud.retail.v2beta.PriceInfo.price] is always // effective because it will cause additional latency during search. - PriceExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=price_expire_time,json=priceExpireTime,proto3" json:"price_expire_time,omitempty"` + PriceExpireTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=price_expire_time,json=priceExpireTime,proto3" json:"price_expire_time,omitempty"` // Output only. The price range of all the child // [Product.Type.VARIANT][google.cloud.retail.v2beta.Product.Type.VARIANT] // [Product][google.cloud.retail.v2beta.Product]s grouped together on the @@ -1260,14 +1260,14 @@ func (x *PriceInfo) GetCost() float32 { return 0 } -func (x *PriceInfo) GetPriceEffectiveTime() *timestamppb.Timestamp { +func (x *PriceInfo) GetPriceEffectiveTime() *timestamp.Timestamp { if x != nil { return x.PriceEffectiveTime } return nil } -func (x *PriceInfo) GetPriceExpireTime() *timestamppb.Timestamp { +func (x *PriceInfo) GetPriceExpireTime() *timestamp.Timestamp { if x != nil { return x.PriceExpireTime } @@ -1670,9 +1670,9 @@ type Condition_TimeRange struct { unknownFields protoimpl.UnknownFields // Start of time range. Range is inclusive. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End of time range. Range is inclusive. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *Condition_TimeRange) Reset() { @@ -1707,14 +1707,14 @@ func (*Condition_TimeRange) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{0, 1} } -func (x *Condition_TimeRange) GetStartTime() *timestamppb.Timestamp { +func (x *Condition_TimeRange) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Condition_TimeRange) GetEndTime() *timestamppb.Timestamp { +func (x *Condition_TimeRange) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2676,7 +2676,7 @@ var file_google_cloud_retail_v2beta_common_proto_goTypes = []interface{}{ (*Rule_IgnoreAction)(nil), // 25: google.cloud.retail.v2beta.Rule.IgnoreAction (*PriceInfo_PriceRange)(nil), // 26: google.cloud.retail.v2beta.PriceInfo.PriceRange nil, // 27: google.cloud.retail.v2beta.LocalInventory.AttributesEntry - (*timestamppb.Timestamp)(nil), // 28: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 28: google.protobuf.Timestamp } var file_google_cloud_retail_v2beta_common_proto_depIdxs = []int32{ 16, // 0: google.cloud.retail.v2beta.Condition.query_terms:type_name -> google.cloud.retail.v2beta.Condition.QueryTerm diff --git a/retail/apiv2beta/retailpb/completion_service.pb.go b/retail/apiv2beta/retailpb/completion_service.pb.go index 942ca8d4a3e..8d6b1a205e1 100644 --- a/retail/apiv2beta/retailpb/completion_service.pb.go +++ b/retail/apiv2beta/retailpb/completion_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/completion_service.proto package retailpb diff --git a/retail/apiv2beta/retailpb/control.pb.go b/retail/apiv2beta/retailpb/control.pb.go index 9a883df2ac7..3997a0d4c5a 100644 --- a/retail/apiv2beta/retailpb/control.pb.go +++ b/retail/apiv2beta/retailpb/control.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/control.proto package retailpb diff --git a/retail/apiv2beta/retailpb/control_service.pb.go b/retail/apiv2beta/retailpb/control_service.pb.go index a4aba27f5d5..a71a33a52df 100644 --- a/retail/apiv2beta/retailpb/control_service.pb.go +++ b/retail/apiv2beta/retailpb/control_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/control_service.proto package retailpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -129,7 +129,7 @@ type UpdateControlRequest struct { // * [Control.name][google.cloud.retail.v2beta.Control.name] // // If not set or empty, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateControlRequest) Reset() { @@ -171,7 +171,7 @@ func (x *UpdateControlRequest) GetControl() *Control { return nil } -func (x *UpdateControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateControlRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -590,15 +590,15 @@ func file_google_cloud_retail_v2beta_control_service_proto_rawDescGZIP() []byte var file_google_cloud_retail_v2beta_control_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_google_cloud_retail_v2beta_control_service_proto_goTypes = []interface{}{ - (*CreateControlRequest)(nil), // 0: google.cloud.retail.v2beta.CreateControlRequest - (*UpdateControlRequest)(nil), // 1: google.cloud.retail.v2beta.UpdateControlRequest - (*DeleteControlRequest)(nil), // 2: google.cloud.retail.v2beta.DeleteControlRequest - (*GetControlRequest)(nil), // 3: google.cloud.retail.v2beta.GetControlRequest - (*ListControlsRequest)(nil), // 4: google.cloud.retail.v2beta.ListControlsRequest - (*ListControlsResponse)(nil), // 5: google.cloud.retail.v2beta.ListControlsResponse - (*Control)(nil), // 6: google.cloud.retail.v2beta.Control - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 8: google.protobuf.Empty + (*CreateControlRequest)(nil), // 0: google.cloud.retail.v2beta.CreateControlRequest + (*UpdateControlRequest)(nil), // 1: google.cloud.retail.v2beta.UpdateControlRequest + (*DeleteControlRequest)(nil), // 2: google.cloud.retail.v2beta.DeleteControlRequest + (*GetControlRequest)(nil), // 3: google.cloud.retail.v2beta.GetControlRequest + (*ListControlsRequest)(nil), // 4: google.cloud.retail.v2beta.ListControlsRequest + (*ListControlsResponse)(nil), // 5: google.cloud.retail.v2beta.ListControlsResponse + (*Control)(nil), // 6: google.cloud.retail.v2beta.Control + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*empty.Empty)(nil), // 8: google.protobuf.Empty } var file_google_cloud_retail_v2beta_control_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.retail.v2beta.CreateControlRequest.control:type_name -> google.cloud.retail.v2beta.Control @@ -743,7 +743,7 @@ type ControlServiceClient interface { // // If the [Control][google.cloud.retail.v2beta.Control] to delete does not // exist, a NOT_FOUND error is returned. - DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a Control. // // [Control][google.cloud.retail.v2beta.Control] cannot be set to a different @@ -775,8 +775,8 @@ func (c *controlServiceClient) CreateControl(ctx context.Context, in *CreateCont return out, nil } -func (c *controlServiceClient) DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *controlServiceClient) DeleteControl(ctx context.Context, in *DeleteControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ControlService/DeleteControl", in, out, opts...) if err != nil { return nil, err @@ -822,7 +822,7 @@ type ControlServiceServer interface { // // If the [Control][google.cloud.retail.v2beta.Control] to delete does not // exist, a NOT_FOUND error is returned. - DeleteControl(context.Context, *DeleteControlRequest) (*emptypb.Empty, error) + DeleteControl(context.Context, *DeleteControlRequest) (*empty.Empty, error) // Updates a Control. // // [Control][google.cloud.retail.v2beta.Control] cannot be set to a different @@ -844,7 +844,7 @@ type UnimplementedControlServiceServer struct { func (*UnimplementedControlServiceServer) CreateControl(context.Context, *CreateControlRequest) (*Control, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateControl not implemented") } -func (*UnimplementedControlServiceServer) DeleteControl(context.Context, *DeleteControlRequest) (*emptypb.Empty, error) { +func (*UnimplementedControlServiceServer) DeleteControl(context.Context, *DeleteControlRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteControl not implemented") } func (*UnimplementedControlServiceServer) UpdateControl(context.Context, *UpdateControlRequest) (*Control, error) { diff --git a/retail/apiv2beta/retailpb/export_config.pb.go b/retail/apiv2beta/retailpb/export_config.pb.go index 6b15682c69b..04f1df2f77e 100644 --- a/retail/apiv2beta/retailpb/export_config.pb.go +++ b/retail/apiv2beta/retailpb/export_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/export_config.proto package retailpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -120,10 +120,10 @@ type ExportMetadata struct { unknownFields protoimpl.UnknownFields // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Operation last update time. If the operation is done, this is also the // finish time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *ExportMetadata) Reset() { @@ -158,14 +158,14 @@ func (*ExportMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2beta_export_config_proto_rawDescGZIP(), []int{1} } -func (x *ExportMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ExportMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ExportMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *ExportMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -525,7 +525,7 @@ var file_google_cloud_retail_v2beta_export_config_proto_goTypes = []interface{}{ (*ExportUserEventsResponse)(nil), // 3: google.cloud.retail.v2beta.ExportUserEventsResponse (*OutputResult)(nil), // 4: google.cloud.retail.v2beta.OutputResult (*BigQueryOutputResult)(nil), // 5: google.cloud.retail.v2beta.BigQueryOutputResult - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*status.Status)(nil), // 7: google.rpc.Status } var file_google_cloud_retail_v2beta_export_config_proto_depIdxs = []int32{ diff --git a/retail/apiv2beta/retailpb/import_config.pb.go b/retail/apiv2beta/retailpb/import_config.pb.go index 9134731b802..b6867e25893 100644 --- a/retail/apiv2beta/retailpb/import_config.pb.go +++ b/retail/apiv2beta/retailpb/import_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/import_config.proto package retailpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" + 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" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -534,7 +534,7 @@ type ImportProductsRequest struct { ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,3,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"` // Indicates which fields in the provided imported `products` to update. If // not set, all fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The mode of reconciliation between existing products and the products to be // imported. Defaults to // [ReconciliationMode.INCREMENTAL][google.cloud.retail.v2beta.ImportProductsRequest.ReconciliationMode.INCREMENTAL]. @@ -614,7 +614,7 @@ func (x *ImportProductsRequest) GetErrorsConfig() *ImportErrorsConfig { return nil } -func (x *ImportProductsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *ImportProductsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1069,10 +1069,10 @@ type ImportMetadata struct { unknownFields protoimpl.UnknownFields // Operation create time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Operation last update time. If the operation is done, this is also the // finish time. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Count of entries that were processed successfully. SuccessCount int64 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // Count of entries that encountered errors while processing. @@ -1121,14 +1121,14 @@ func (*ImportMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{11} } -func (x *ImportMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *ImportMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ImportMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *ImportMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1699,8 +1699,8 @@ var file_google_cloud_retail_v2beta_import_config_proto_goTypes = []interface{}{ (*date.Date)(nil), // 17: google.type.Date (*Product)(nil), // 18: google.cloud.retail.v2beta.Product (*UserEvent)(nil), // 19: google.cloud.retail.v2beta.UserEvent - (*fieldmaskpb.FieldMask)(nil), // 20: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 20: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 21: google.protobuf.Timestamp (*status.Status)(nil), // 22: google.rpc.Status } var file_google_cloud_retail_v2beta_import_config_proto_depIdxs = []int32{ diff --git a/retail/apiv2beta/retailpb/model.pb.go b/retail/apiv2beta/retailpb/model.pb.go index 88883b44593..a229c2aa97c 100644 --- a/retail/apiv2beta/retailpb/model.pb.go +++ b/retail/apiv2beta/retailpb/model.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/model.proto package retailpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -306,11 +306,11 @@ type Model struct { // Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. ServingState Model_ServingState `protobuf:"varint,4,opt,name=serving_state,json=servingState,proto3,enum=google.cloud.retail.v2beta.Model_ServingState" json:"serving_state,omitempty"` // Output only. Timestamp the Recommendation Model was created at. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp the Recommendation Model was last updated. E.g. // if a Recommendation Model was paused - this would be the time the pause was // initiated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. The type of model e.g. `home-page`. // // Currently supported values: `recommended-for-you`, `others-you-may-like`, @@ -359,7 +359,7 @@ type Model struct { // is `PERIODIC_TUNING_ENABLED`. PeriodicTuningState Model_PeriodicTuningState `protobuf:"varint,11,opt,name=periodic_tuning_state,json=periodicTuningState,proto3,enum=google.cloud.retail.v2beta.Model_PeriodicTuningState" json:"periodic_tuning_state,omitempty"` // Output only. The timestamp when the latest successful tune finished. - LastTuneTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_tune_time,json=lastTuneTime,proto3" json:"last_tune_time,omitempty"` + LastTuneTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=last_tune_time,json=lastTuneTime,proto3" json:"last_tune_time,omitempty"` // Output only. The tune operation associated with the model. // // Can be used to determine if there is an ongoing tune for this @@ -442,14 +442,14 @@ func (x *Model) GetServingState() Model_ServingState { return Model_SERVING_STATE_UNSPECIFIED } -func (x *Model) GetCreateTime() *timestamppb.Timestamp { +func (x *Model) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Model) GetUpdateTime() *timestamppb.Timestamp { +func (x *Model) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -477,7 +477,7 @@ func (x *Model) GetPeriodicTuningState() Model_PeriodicTuningState { return Model_PERIODIC_TUNING_STATE_UNSPECIFIED } -func (x *Model) GetLastTuneTime() *timestamppb.Timestamp { +func (x *Model) GetLastTuneTime() *timestamp.Timestamp { if x != nil { return x.LastTuneTime } @@ -713,7 +713,7 @@ var file_google_cloud_retail_v2beta_model_proto_goTypes = []interface{}{ (Model_DataState)(0), // 3: google.cloud.retail.v2beta.Model.DataState (*Model)(nil), // 4: google.cloud.retail.v2beta.Model (*Model_ServingConfigList)(nil), // 5: google.cloud.retail.v2beta.Model.ServingConfigList - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (RecommendationsFilteringOption)(0), // 7: google.cloud.retail.v2beta.RecommendationsFilteringOption } var file_google_cloud_retail_v2beta_model_proto_depIdxs = []int32{ diff --git a/retail/apiv2beta/retailpb/model_service.pb.go b/retail/apiv2beta/retailpb/model_service.pb.go index 33db7741393..50f20ab9fec 100644 --- a/retail/apiv2beta/retailpb/model_service.pb.go +++ b/retail/apiv2beta/retailpb/model_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/model_service.proto package retailpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -124,7 +124,7 @@ type UpdateModelRequest struct { Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Optional. Indicates which fields in the provided 'model' to // update. If not set, by default updates all fields. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateModelRequest) Reset() { @@ -166,7 +166,7 @@ func (x *UpdateModelRequest) GetModel() *Model { return nil } -func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateModelRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -873,9 +873,9 @@ var file_google_cloud_retail_v2beta_model_service_proto_goTypes = []interface{}{ (*TuneModelMetadata)(nil), // 9: google.cloud.retail.v2beta.TuneModelMetadata (*TuneModelResponse)(nil), // 10: google.cloud.retail.v2beta.TuneModelResponse (*Model)(nil), // 11: google.cloud.retail.v2beta.Model - (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 12: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 13: google.longrunning.Operation - (*emptypb.Empty)(nil), // 14: google.protobuf.Empty + (*empty.Empty)(nil), // 14: google.protobuf.Empty } var file_google_cloud_retail_v2beta_model_service_proto_depIdxs = []int32{ 11, // 0: google.cloud.retail.v2beta.CreateModelRequest.model:type_name -> google.cloud.retail.v2beta.Model @@ -1082,7 +1082,7 @@ type ModelServiceClient interface { // Resumes the training of an existing model. ResumeModel(ctx context.Context, in *ResumeModelRequest, opts ...grpc.CallOption) (*Model, error) // Deletes an existing model. - DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all the models linked to this event store. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Update of model metadata. Only fields that @@ -1129,8 +1129,8 @@ func (c *modelServiceClient) ResumeModel(ctx context.Context, in *ResumeModelReq return out, nil } -func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/DeleteModel", in, out, opts...) if err != nil { return nil, err @@ -1174,7 +1174,7 @@ type ModelServiceServer interface { // Resumes the training of an existing model. ResumeModel(context.Context, *ResumeModelRequest) (*Model, error) // Deletes an existing model. - DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error) + DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error) // Lists all the models linked to this event store. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Update of model metadata. Only fields that @@ -1199,7 +1199,7 @@ func (*UnimplementedModelServiceServer) PauseModel(context.Context, *PauseModelR func (*UnimplementedModelServiceServer) ResumeModel(context.Context, *ResumeModelRequest) (*Model, error) { return nil, status.Errorf(codes.Unimplemented, "method ResumeModel not implemented") } -func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error) { +func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") } func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) { diff --git a/retail/apiv2beta/retailpb/prediction_service.pb.go b/retail/apiv2beta/retailpb/prediction_service.pb.go index 2212214cdd0..325b5ac4f10 100644 --- a/retail/apiv2beta/retailpb/prediction_service.pb.go +++ b/retail/apiv2beta/retailpb/prediction_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/prediction_service.proto package retailpb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" ) const ( @@ -156,7 +156,7 @@ type PredictRequest struct { // category. // - `filterSyntaxV2`: Boolean. False by default. If set to true, the `filter` // field is interpreteted according to the new, attribute-based syntax. - Params map[string]*structpb.Value `protobuf:"bytes,7,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Params map[string]*_struct.Value `protobuf:"bytes,7,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The labels applied to a resource must meet the following requirements: // // - Each resource can have multiple labels, up to a maximum of 64. @@ -252,7 +252,7 @@ func (x *PredictRequest) GetValidateOnly() bool { return false } -func (x *PredictRequest) GetParams() map[string]*structpb.Value { +func (x *PredictRequest) GetParams() map[string]*_struct.Value { if x != nil { return x.Params } @@ -362,7 +362,7 @@ type PredictResponse_PredictionResult struct { // `returnProduct` is set to true in `PredictRequest.params`. // - `score`: Prediction score in double value. Is set if // `returnScore` is set to true in `PredictRequest.params`. - Metadata map[string]*structpb.Value `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Metadata map[string]*_struct.Value `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *PredictResponse_PredictionResult) Reset() { @@ -404,7 +404,7 @@ func (x *PredictResponse_PredictionResult) GetId() string { return "" } -func (x *PredictResponse_PredictionResult) GetMetadata() map[string]*structpb.Value { +func (x *PredictResponse_PredictionResult) GetMetadata() map[string]*_struct.Value { if x != nil { return x.Metadata } @@ -555,7 +555,7 @@ var file_google_cloud_retail_v2beta_prediction_service_proto_goTypes = []interfa (*PredictResponse_PredictionResult)(nil), // 4: google.cloud.retail.v2beta.PredictResponse.PredictionResult nil, // 5: google.cloud.retail.v2beta.PredictResponse.PredictionResult.MetadataEntry (*UserEvent)(nil), // 6: google.cloud.retail.v2beta.UserEvent - (*structpb.Value)(nil), // 7: google.protobuf.Value + (*_struct.Value)(nil), // 7: google.protobuf.Value } var file_google_cloud_retail_v2beta_prediction_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.retail.v2beta.PredictRequest.user_event:type_name -> google.cloud.retail.v2beta.UserEvent diff --git a/retail/apiv2beta/retailpb/product.pb.go b/retail/apiv2beta/retailpb/product.pb.go index 4c712dbb580..2555d116c16 100644 --- a/retail/apiv2beta/retailpb/product.pb.go +++ b/retail/apiv2beta/retailpb/product.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/product.proto package retailpb @@ -24,13 +24,13 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "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" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -393,7 +393,7 @@ type Product struct { // The timestamp when this [Product][google.cloud.retail.v2beta.Product] // becomes available for // [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search]. - AvailableTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=available_time,json=availableTime,proto3" json:"available_time,omitempty"` + AvailableTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=available_time,json=availableTime,proto3" json:"available_time,omitempty"` // The online availability of the // [Product][google.cloud.retail.v2beta.Product]. Default to // [Availability.IN_STOCK][google.cloud.retail.v2beta.Product.Availability.IN_STOCK]. @@ -403,7 +403,7 @@ type Product struct { // Schema.org property [Offer.availability](https://schema.org/availability). Availability Product_Availability `protobuf:"varint,19,opt,name=availability,proto3,enum=google.cloud.retail.v2beta.Product_Availability" json:"availability,omitempty"` // The available quantity of the item. - AvailableQuantity *wrapperspb.Int32Value `protobuf:"bytes,20,opt,name=available_quantity,json=availableQuantity,proto3" json:"available_quantity,omitempty"` + AvailableQuantity *wrappers.Int32Value `protobuf:"bytes,20,opt,name=available_quantity,json=availableQuantity,proto3" json:"available_quantity,omitempty"` // Fulfillment information, such as the store IDs for in-store pickup or // region IDs for different shipping methods. // @@ -506,7 +506,7 @@ type Product struct { // [available_time][google.cloud.retail.v2beta.Product.available_time], given // it purely describes product freshness regardless of when it is available on // search and recommendation. - PublishTime *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` + PublishTime *timestamp.Timestamp `protobuf:"bytes,33,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` // Indicates which fields in the // [Product][google.cloud.retail.v2beta.Product]s are returned in // [SearchResponse][google.cloud.retail.v2beta.SearchResponse]. @@ -566,7 +566,7 @@ type Product struct { // Note: Returning more fields in // [SearchResponse][google.cloud.retail.v2beta.SearchResponse] can increase // response payload size and serving latency. - RetrievableFields *fieldmaskpb.FieldMask `protobuf:"bytes,30,opt,name=retrievable_fields,json=retrievableFields,proto3" json:"retrievable_fields,omitempty"` + RetrievableFields *field_mask.FieldMask `protobuf:"bytes,30,opt,name=retrievable_fields,json=retrievableFields,proto3" json:"retrievable_fields,omitempty"` // Output only. Product variants grouped together on primary product which // share similar product attributes. It's automatically grouped by // [primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id] @@ -628,14 +628,14 @@ func (m *Product) GetExpiration() isProduct_Expiration { return nil } -func (x *Product) GetExpireTime() *timestamppb.Timestamp { +func (x *Product) GetExpireTime() *timestamp.Timestamp { if x, ok := x.GetExpiration().(*Product_ExpireTime); ok { return x.ExpireTime } return nil } -func (x *Product) GetTtl() *durationpb.Duration { +func (x *Product) GetTtl() *duration.Duration { if x, ok := x.GetExpiration().(*Product_Ttl); ok { return x.Ttl } @@ -747,7 +747,7 @@ func (x *Product) GetRating() *Rating { return nil } -func (x *Product) GetAvailableTime() *timestamppb.Timestamp { +func (x *Product) GetAvailableTime() *timestamp.Timestamp { if x != nil { return x.AvailableTime } @@ -761,7 +761,7 @@ func (x *Product) GetAvailability() Product_Availability { return Product_AVAILABILITY_UNSPECIFIED } -func (x *Product) GetAvailableQuantity() *wrapperspb.Int32Value { +func (x *Product) GetAvailableQuantity() *wrappers.Int32Value { if x != nil { return x.AvailableQuantity } @@ -838,14 +838,14 @@ func (x *Product) GetPromotions() []*Promotion { return nil } -func (x *Product) GetPublishTime() *timestamppb.Timestamp { +func (x *Product) GetPublishTime() *timestamp.Timestamp { if x != nil { return x.PublishTime } return nil } -func (x *Product) GetRetrievableFields() *fieldmaskpb.FieldMask { +func (x *Product) GetRetrievableFields() *field_mask.FieldMask { if x != nil { return x.RetrievableFields } @@ -891,7 +891,7 @@ type Product_ExpireTime struct { // // Corresponding properties: Google Merchant Center property // [expiration_date](https://support.google.com/merchants/answer/6324499). - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=expire_time,json=expireTime,proto3,oneof"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=expire_time,json=expireTime,proto3,oneof"` } type Product_Ttl struct { @@ -913,7 +913,7 @@ type Product_Ttl struct { // [ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct] // and // [ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts]. - Ttl *durationpb.Duration `protobuf:"bytes,17,opt,name=ttl,proto3,oneof"` + Ttl *duration.Duration `protobuf:"bytes,17,opt,name=ttl,proto3,oneof"` } func (*Product_ExpireTime) isProduct_Expiration() {} @@ -1120,23 +1120,23 @@ func file_google_cloud_retail_v2beta_product_proto_rawDescGZIP() []byte { var file_google_cloud_retail_v2beta_product_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_google_cloud_retail_v2beta_product_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_retail_v2beta_product_proto_goTypes = []interface{}{ - (Product_Type)(0), // 0: google.cloud.retail.v2beta.Product.Type - (Product_Availability)(0), // 1: google.cloud.retail.v2beta.Product.Availability - (*Product)(nil), // 2: google.cloud.retail.v2beta.Product - nil, // 3: google.cloud.retail.v2beta.Product.AttributesEntry - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 5: google.protobuf.Duration - (*PriceInfo)(nil), // 6: google.cloud.retail.v2beta.PriceInfo - (*Rating)(nil), // 7: google.cloud.retail.v2beta.Rating - (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value - (*FulfillmentInfo)(nil), // 9: google.cloud.retail.v2beta.FulfillmentInfo - (*Image)(nil), // 10: google.cloud.retail.v2beta.Image - (*Audience)(nil), // 11: google.cloud.retail.v2beta.Audience - (*ColorInfo)(nil), // 12: google.cloud.retail.v2beta.ColorInfo - (*Promotion)(nil), // 13: google.cloud.retail.v2beta.Promotion - (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask - (*LocalInventory)(nil), // 15: google.cloud.retail.v2beta.LocalInventory - (*CustomAttribute)(nil), // 16: google.cloud.retail.v2beta.CustomAttribute + (Product_Type)(0), // 0: google.cloud.retail.v2beta.Product.Type + (Product_Availability)(0), // 1: google.cloud.retail.v2beta.Product.Availability + (*Product)(nil), // 2: google.cloud.retail.v2beta.Product + nil, // 3: google.cloud.retail.v2beta.Product.AttributesEntry + (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*duration.Duration)(nil), // 5: google.protobuf.Duration + (*PriceInfo)(nil), // 6: google.cloud.retail.v2beta.PriceInfo + (*Rating)(nil), // 7: google.cloud.retail.v2beta.Rating + (*wrappers.Int32Value)(nil), // 8: google.protobuf.Int32Value + (*FulfillmentInfo)(nil), // 9: google.cloud.retail.v2beta.FulfillmentInfo + (*Image)(nil), // 10: google.cloud.retail.v2beta.Image + (*Audience)(nil), // 11: google.cloud.retail.v2beta.Audience + (*ColorInfo)(nil), // 12: google.cloud.retail.v2beta.ColorInfo + (*Promotion)(nil), // 13: google.cloud.retail.v2beta.Promotion + (*field_mask.FieldMask)(nil), // 14: google.protobuf.FieldMask + (*LocalInventory)(nil), // 15: google.cloud.retail.v2beta.LocalInventory + (*CustomAttribute)(nil), // 16: google.cloud.retail.v2beta.CustomAttribute } var file_google_cloud_retail_v2beta_product_proto_depIdxs = []int32{ 4, // 0: google.cloud.retail.v2beta.Product.expire_time:type_name -> google.protobuf.Timestamp diff --git a/retail/apiv2beta/retailpb/product_service.pb.go b/retail/apiv2beta/retailpb/product_service.pb.go index beab9908b43..1899abd8892 100644 --- a/retail/apiv2beta/retailpb/product_service.pb.go +++ b/retail/apiv2beta/retailpb/product_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/product_service.proto package retailpb @@ -25,16 +25,16 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -219,7 +219,7 @@ type UpdateProductRequest struct { // "attributes.${key_name}". If a key name is present in the mask but not in // the patching product from the request, this key will be deleted after the // update. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2beta.Product] is // not found, a new [Product][google.cloud.retail.v2beta.Product] will be // created. In this situation, `update_mask` is ignored. @@ -265,7 +265,7 @@ func (x *UpdateProductRequest) GetProduct() *Product { return nil } -func (x *UpdateProductRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateProductRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -438,7 +438,7 @@ type ListProductsRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned. - ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` + ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` } func (x *ListProductsRequest) Reset() { @@ -501,7 +501,7 @@ func (x *ListProductsRequest) GetFilter() string { return "" } -func (x *ListProductsRequest) GetReadMask() *fieldmaskpb.FieldMask { +func (x *ListProductsRequest) GetReadMask() *field_mask.FieldMask { if x != nil { return x.ReadMask } @@ -645,11 +645,11 @@ type SetInventoryRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned and the entire update will be ignored. - SetMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=set_mask,json=setMask,proto3" json:"set_mask,omitempty"` + SetMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=set_mask,json=setMask,proto3" json:"set_mask,omitempty"` // The time when the request is issued, used to prevent // out-of-order updates on inventory fields with the last update time // recorded. If not provided, the internal system time will be used. - SetTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` + SetTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2beta.Product] with // name [Product.name][google.cloud.retail.v2beta.Product.name] is not found, // the inventory update will still be processed and retained for at most 1 day @@ -698,14 +698,14 @@ func (x *SetInventoryRequest) GetInventory() *Product { return nil } -func (x *SetInventoryRequest) GetSetMask() *fieldmaskpb.FieldMask { +func (x *SetInventoryRequest) GetSetMask() *field_mask.FieldMask { if x != nil { return x.SetMask } return nil } -func (x *SetInventoryRequest) GetSetTime() *timestamppb.Timestamp { +func (x *SetInventoryRequest) GetSetTime() *timestamp.Timestamp { if x != nil { return x.SetTime } @@ -859,7 +859,7 @@ type AddFulfillmentPlacesRequest struct { // The time when the fulfillment updates are issued, used to prevent // out-of-order updates on fulfillment information. If not provided, the // internal system time will be used. - AddTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` + AddTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2beta.Product] is // not found, the fulfillment information will still be processed and retained // for at most 1 day and processed once the @@ -922,7 +922,7 @@ func (x *AddFulfillmentPlacesRequest) GetPlaceIds() []string { return nil } -func (x *AddFulfillmentPlacesRequest) GetAddTime() *timestamppb.Timestamp { +func (x *AddFulfillmentPlacesRequest) GetAddTime() *timestamp.Timestamp { if x != nil { return x.AddTime } @@ -1055,11 +1055,11 @@ type AddLocalInventoriesRequest struct { // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned and the entire update will be ignored. - AddMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=add_mask,json=addMask,proto3" json:"add_mask,omitempty"` + AddMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=add_mask,json=addMask,proto3" json:"add_mask,omitempty"` // The time when the inventory updates are issued. Used to prevent // out-of-order updates on local inventory fields. If not provided, the // internal system time will be used. - AddTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` + AddTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2beta.Product] is // not found, the local inventory will still be processed and retained for at // most 1 day and processed once the @@ -1115,14 +1115,14 @@ func (x *AddLocalInventoriesRequest) GetLocalInventories() []*LocalInventory { return nil } -func (x *AddLocalInventoriesRequest) GetAddMask() *fieldmaskpb.FieldMask { +func (x *AddLocalInventoriesRequest) GetAddMask() *field_mask.FieldMask { if x != nil { return x.AddMask } return nil } -func (x *AddLocalInventoriesRequest) GetAddTime() *timestamppb.Timestamp { +func (x *AddLocalInventoriesRequest) GetAddTime() *timestamp.Timestamp { if x != nil { return x.AddTime } @@ -1244,7 +1244,7 @@ type RemoveLocalInventoriesRequest struct { // The time when the inventory deletions are issued. Used to prevent // out-of-order updates and deletions on local inventory fields. If not // provided, the internal system time will be used. - RemoveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` + RemoveTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2beta.Product] is // not found, the local inventory removal request will still be processed and // retained for at most 1 day and processed once the @@ -1300,7 +1300,7 @@ func (x *RemoveLocalInventoriesRequest) GetPlaceIds() []string { return nil } -func (x *RemoveLocalInventoriesRequest) GetRemoveTime() *timestamppb.Timestamp { +func (x *RemoveLocalInventoriesRequest) GetRemoveTime() *timestamp.Timestamp { if x != nil { return x.RemoveTime } @@ -1451,7 +1451,7 @@ type RemoveFulfillmentPlacesRequest struct { // The time when the fulfillment updates are issued, used to prevent // out-of-order updates on fulfillment information. If not provided, the // internal system time will be used. - RemoveTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` + RemoveTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=remove_time,json=removeTime,proto3" json:"remove_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2beta.Product] is // not found, the fulfillment information will still be processed and retained // for at most 1 day and processed once the @@ -1514,7 +1514,7 @@ func (x *RemoveFulfillmentPlacesRequest) GetPlaceIds() []string { return nil } -func (x *RemoveFulfillmentPlacesRequest) GetRemoveTime() *timestamppb.Timestamp { +func (x *RemoveFulfillmentPlacesRequest) GetRemoveTime() *timestamp.Timestamp { if x != nil { return x.RemoveTime } @@ -2051,11 +2051,11 @@ var file_google_cloud_retail_v2beta_product_service_proto_goTypes = []interface{ (*RemoveFulfillmentPlacesMetadata)(nil), // 19: google.cloud.retail.v2beta.RemoveFulfillmentPlacesMetadata (*RemoveFulfillmentPlacesResponse)(nil), // 20: google.cloud.retail.v2beta.RemoveFulfillmentPlacesResponse (*Product)(nil), // 21: google.cloud.retail.v2beta.Product - (*fieldmaskpb.FieldMask)(nil), // 22: google.protobuf.FieldMask - (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 22: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 23: google.protobuf.Timestamp (*LocalInventory)(nil), // 24: google.cloud.retail.v2beta.LocalInventory (*ImportProductsRequest)(nil), // 25: google.cloud.retail.v2beta.ImportProductsRequest - (*emptypb.Empty)(nil), // 26: google.protobuf.Empty + (*empty.Empty)(nil), // 26: google.protobuf.Empty (*longrunning.Operation)(nil), // 27: google.longrunning.Operation } var file_google_cloud_retail_v2beta_product_service_proto_depIdxs = []int32{ @@ -2405,7 +2405,7 @@ type ProductServiceClient interface { // Updates a [Product][google.cloud.retail.v2beta.Product]. UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*Product, error) // Deletes a [Product][google.cloud.retail.v2beta.Product]. - DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Bulk import of multiple [Product][google.cloud.retail.v2beta.Product]s. // // Request processing may be synchronous. @@ -2625,8 +2625,8 @@ func (c *productServiceClient) UpdateProduct(ctx context.Context, in *UpdateProd return out, nil } -func (c *productServiceClient) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *productServiceClient) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ProductService/DeleteProduct", in, out, opts...) if err != nil { return nil, err @@ -2699,7 +2699,7 @@ type ProductServiceServer interface { // Updates a [Product][google.cloud.retail.v2beta.Product]. UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error) // Deletes a [Product][google.cloud.retail.v2beta.Product]. - DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error) + DeleteProduct(context.Context, *DeleteProductRequest) (*empty.Empty, error) // Bulk import of multiple [Product][google.cloud.retail.v2beta.Product]s. // // Request processing may be synchronous. @@ -2891,7 +2891,7 @@ func (*UnimplementedProductServiceServer) ListProducts(context.Context, *ListPro func (*UnimplementedProductServiceServer) UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateProduct not implemented") } -func (*UnimplementedProductServiceServer) DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error) { +func (*UnimplementedProductServiceServer) DeleteProduct(context.Context, *DeleteProductRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteProduct not implemented") } func (*UnimplementedProductServiceServer) ImportProducts(context.Context, *ImportProductsRequest) (*longrunning.Operation, error) { diff --git a/retail/apiv2beta/retailpb/promotion.pb.go b/retail/apiv2beta/retailpb/promotion.pb.go index 4b79772dc5b..c8d5108f8d1 100644 --- a/retail/apiv2beta/retailpb/promotion.pb.go +++ b/retail/apiv2beta/retailpb/promotion.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/promotion.proto package retailpb diff --git a/retail/apiv2beta/retailpb/purge_config.pb.go b/retail/apiv2beta/retailpb/purge_config.pb.go index 72017a4acdc..803e5390119 100644 --- a/retail/apiv2beta/retailpb/purge_config.pb.go +++ b/retail/apiv2beta/retailpb/purge_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/purge_config.proto package retailpb diff --git a/retail/apiv2beta/retailpb/search_service.pb.go b/retail/apiv2beta/retailpb/search_service.pb.go index ea3203ea20f..0f3f2a86aeb 100644 --- a/retail/apiv2beta/retailpb/search_service.pb.go +++ b/retail/apiv2beta/retailpb/search_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/search_service.proto package retailpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" 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" ) const ( @@ -1718,7 +1718,7 @@ type SearchResponse_SearchResult struct { // For example, a key "sku1" with field mask // "products.color_info" indicates there is a match between // "sku1" [ColorInfo][google.cloud.retail.v2beta.ColorInfo] and the query. - MatchingVariantFields map[string]*fieldmaskpb.FieldMask `protobuf:"bytes,4,rep,name=matching_variant_fields,json=matchingVariantFields,proto3" json:"matching_variant_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MatchingVariantFields map[string]*field_mask.FieldMask `protobuf:"bytes,4,rep,name=matching_variant_fields,json=matchingVariantFields,proto3" json:"matching_variant_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The rollup matching // [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] // [Product][google.cloud.retail.v2beta.Product] attributes. The key is one @@ -1750,7 +1750,7 @@ type SearchResponse_SearchResult struct { // [google.protobuf.Value][google.protobuf.Value]. For example, // `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there // are 10 variants in this product are available in the store "store1". - VariantRollupValues map[string]*structpb.Value `protobuf:"bytes,5,rep,name=variant_rollup_values,json=variantRollupValues,proto3" json:"variant_rollup_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + VariantRollupValues map[string]*_struct.Value `protobuf:"bytes,5,rep,name=variant_rollup_values,json=variantRollupValues,proto3" json:"variant_rollup_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Specifies previous events related to this product for this user based on // [UserEvent][google.cloud.retail.v2beta.UserEvent] with same // [SearchRequest.visitor_id][google.cloud.retail.v2beta.SearchRequest.visitor_id] @@ -1820,14 +1820,14 @@ func (x *SearchResponse_SearchResult) GetMatchingVariantCount() int32 { return 0 } -func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*fieldmaskpb.FieldMask { +func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*field_mask.FieldMask { if x != nil { return x.MatchingVariantFields } return nil } -func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*structpb.Value { +func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*_struct.Value { if x != nil { return x.VariantRollupValues } @@ -2501,8 +2501,8 @@ var file_google_cloud_retail_v2beta_search_service_proto_goTypes = []interface{} (*UserInfo)(nil), // 22: google.cloud.retail.v2beta.UserInfo (*Interval)(nil), // 23: google.cloud.retail.v2beta.Interval (*Product)(nil), // 24: google.cloud.retail.v2beta.Product - (*fieldmaskpb.FieldMask)(nil), // 25: google.protobuf.FieldMask - (*structpb.Value)(nil), // 26: google.protobuf.Value + (*field_mask.FieldMask)(nil), // 25: google.protobuf.FieldMask + (*_struct.Value)(nil), // 26: google.protobuf.Value } var file_google_cloud_retail_v2beta_search_service_proto_depIdxs = []int32{ 22, // 0: google.cloud.retail.v2beta.SearchRequest.user_info:type_name -> google.cloud.retail.v2beta.UserInfo diff --git a/retail/apiv2beta/retailpb/serving_config.pb.go b/retail/apiv2beta/retailpb/serving_config.pb.go index 36335adcb01..6f5f2c43228 100644 --- a/retail/apiv2beta/retailpb/serving_config.pb.go +++ b/retail/apiv2beta/retailpb/serving_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/serving_config.proto package retailpb diff --git a/retail/apiv2beta/retailpb/serving_config_service.pb.go b/retail/apiv2beta/retailpb/serving_config_service.pb.go index 1d78ac615ef..cde40d8e947 100644 --- a/retail/apiv2beta/retailpb/serving_config_service.pb.go +++ b/retail/apiv2beta/retailpb/serving_config_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/serving_config_service.proto package retailpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -129,7 +129,7 @@ type UpdateServingConfigRequest struct { // * [ServingConfig.name][google.cloud.retail.v2beta.ServingConfig.name] // // If not set, all supported fields are updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateServingConfigRequest) Reset() { @@ -171,7 +171,7 @@ func (x *UpdateServingConfigRequest) GetServingConfig() *ServingConfig { return nil } -func (x *UpdateServingConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateServingConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -769,8 +769,8 @@ var file_google_cloud_retail_v2beta_serving_config_service_proto_goTypes = []int (*AddControlRequest)(nil), // 6: google.cloud.retail.v2beta.AddControlRequest (*RemoveControlRequest)(nil), // 7: google.cloud.retail.v2beta.RemoveControlRequest (*ServingConfig)(nil), // 8: google.cloud.retail.v2beta.ServingConfig - (*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 10: google.protobuf.Empty + (*field_mask.FieldMask)(nil), // 9: google.protobuf.FieldMask + (*empty.Empty)(nil), // 10: google.protobuf.Empty } var file_google_cloud_retail_v2beta_serving_config_service_proto_depIdxs = []int32{ 8, // 0: google.cloud.retail.v2beta.CreateServingConfigRequest.serving_config:type_name -> google.cloud.retail.v2beta.ServingConfig @@ -943,7 +943,7 @@ type ServingConfigServiceClient interface { // Deletes a ServingConfig. // // Returns a NotFound error if the ServingConfig does not exist. - DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a ServingConfig. UpdateServingConfig(ctx context.Context, in *UpdateServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) // Gets a ServingConfig. @@ -984,8 +984,8 @@ func (c *servingConfigServiceClient) CreateServingConfig(ctx context.Context, in return out, nil } -func (c *servingConfigServiceClient) DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *servingConfigServiceClient) DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/DeleteServingConfig", in, out, opts...) if err != nil { return nil, err @@ -1049,7 +1049,7 @@ type ServingConfigServiceServer interface { // Deletes a ServingConfig. // // Returns a NotFound error if the ServingConfig does not exist. - DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error) + DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*empty.Empty, error) // Updates a ServingConfig. UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error) // Gets a ServingConfig. @@ -1080,7 +1080,7 @@ type UnimplementedServingConfigServiceServer struct { func (*UnimplementedServingConfigServiceServer) CreateServingConfig(context.Context, *CreateServingConfigRequest) (*ServingConfig, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateServingConfig not implemented") } -func (*UnimplementedServingConfigServiceServer) DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error) { +func (*UnimplementedServingConfigServiceServer) DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteServingConfig not implemented") } func (*UnimplementedServingConfigServiceServer) UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error) { diff --git a/retail/apiv2beta/retailpb/user_event.pb.go b/retail/apiv2beta/retailpb/user_event.pb.go index a0b4f86b241..3eac202d8b2 100644 --- a/retail/apiv2beta/retailpb/user_event.pb.go +++ b/retail/apiv2beta/retailpb/user_event.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/user_event.proto package retailpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -88,7 +88,7 @@ type UserEvent struct { // Only required for // [UserEventService.ImportUserEvents][google.cloud.retail.v2beta.UserEventService.ImportUserEvents] // method. Timestamp of when the user event happened. - EventTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + EventTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // A list of identifiers for the independent experiment groups this user event // belongs to. This is used to distinguish between user events associated with // different experiment setups (e.g. using Retail API, using different @@ -315,7 +315,7 @@ func (x *UserEvent) GetSessionId() string { return "" } -func (x *UserEvent) GetEventTime() *timestamppb.Timestamp { +func (x *UserEvent) GetEventTime() *timestamp.Timestamp { if x != nil { return x.EventTime } @@ -463,7 +463,7 @@ type ProductDetail struct { // For example, this field will be 2 if two products are added to the shopping // cart for `purchase-complete` event. Required for `add-to-cart` and // `purchase-complete` event types. - Quantity *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` + Quantity *wrappers.Int32Value `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` } func (x *ProductDetail) Reset() { @@ -505,7 +505,7 @@ func (x *ProductDetail) GetProduct() *Product { return nil } -func (x *ProductDetail) GetQuantity() *wrapperspb.Int32Value { +func (x *ProductDetail) GetQuantity() *wrappers.Int32Value { if x != nil { return x.Quantity } @@ -824,16 +824,16 @@ func file_google_cloud_retail_v2beta_user_event_proto_rawDescGZIP() []byte { var file_google_cloud_retail_v2beta_user_event_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_google_cloud_retail_v2beta_user_event_proto_goTypes = []interface{}{ - (*UserEvent)(nil), // 0: google.cloud.retail.v2beta.UserEvent - (*ProductDetail)(nil), // 1: google.cloud.retail.v2beta.ProductDetail - (*CompletionDetail)(nil), // 2: google.cloud.retail.v2beta.CompletionDetail - (*PurchaseTransaction)(nil), // 3: google.cloud.retail.v2beta.PurchaseTransaction - nil, // 4: google.cloud.retail.v2beta.UserEvent.AttributesEntry - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp - (*UserInfo)(nil), // 6: google.cloud.retail.v2beta.UserInfo - (*Product)(nil), // 7: google.cloud.retail.v2beta.Product - (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value - (*CustomAttribute)(nil), // 9: google.cloud.retail.v2beta.CustomAttribute + (*UserEvent)(nil), // 0: google.cloud.retail.v2beta.UserEvent + (*ProductDetail)(nil), // 1: google.cloud.retail.v2beta.ProductDetail + (*CompletionDetail)(nil), // 2: google.cloud.retail.v2beta.CompletionDetail + (*PurchaseTransaction)(nil), // 3: google.cloud.retail.v2beta.PurchaseTransaction + nil, // 4: google.cloud.retail.v2beta.UserEvent.AttributesEntry + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*UserInfo)(nil), // 6: google.cloud.retail.v2beta.UserInfo + (*Product)(nil), // 7: google.cloud.retail.v2beta.Product + (*wrappers.Int32Value)(nil), // 8: google.protobuf.Int32Value + (*CustomAttribute)(nil), // 9: google.cloud.retail.v2beta.CustomAttribute } var file_google_cloud_retail_v2beta_user_event_proto_depIdxs = []int32{ 5, // 0: google.cloud.retail.v2beta.UserEvent.event_time:type_name -> google.protobuf.Timestamp diff --git a/retail/apiv2beta/retailpb/user_event_service.pb.go b/retail/apiv2beta/retailpb/user_event_service.pb.go index 6e597df9b47..1b63ad8661b 100644 --- a/retail/apiv2beta/retailpb/user_event_service.pb.go +++ b/retail/apiv2beta/retailpb/user_event_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/retail/v2beta/user_event_service.proto package retailpb diff --git a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go index b4f527b687a..c50262fd3eb 100644 --- a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package schedulerpb @@ -26,14 +26,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -311,7 +311,7 @@ type UpdateJobRequest struct { // Any value specified for an output only field will be ignored. Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // A mask used to specify which fields of the job are being updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateJobRequest) Reset() { @@ -353,7 +353,7 @@ func (x *UpdateJobRequest) GetJob() *Job { return nil } -func (x *UpdateJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateJobRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -761,18 +761,18 @@ func file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP() []by var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_goTypes = []interface{}{ - (*ListJobsRequest)(nil), // 0: google.cloud.scheduler.v1beta1.ListJobsRequest - (*ListJobsResponse)(nil), // 1: google.cloud.scheduler.v1beta1.ListJobsResponse - (*GetJobRequest)(nil), // 2: google.cloud.scheduler.v1beta1.GetJobRequest - (*CreateJobRequest)(nil), // 3: google.cloud.scheduler.v1beta1.CreateJobRequest - (*UpdateJobRequest)(nil), // 4: google.cloud.scheduler.v1beta1.UpdateJobRequest - (*DeleteJobRequest)(nil), // 5: google.cloud.scheduler.v1beta1.DeleteJobRequest - (*PauseJobRequest)(nil), // 6: google.cloud.scheduler.v1beta1.PauseJobRequest - (*ResumeJobRequest)(nil), // 7: google.cloud.scheduler.v1beta1.ResumeJobRequest - (*RunJobRequest)(nil), // 8: google.cloud.scheduler.v1beta1.RunJobRequest - (*Job)(nil), // 9: google.cloud.scheduler.v1beta1.Job - (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 11: google.protobuf.Empty + (*ListJobsRequest)(nil), // 0: google.cloud.scheduler.v1beta1.ListJobsRequest + (*ListJobsResponse)(nil), // 1: google.cloud.scheduler.v1beta1.ListJobsResponse + (*GetJobRequest)(nil), // 2: google.cloud.scheduler.v1beta1.GetJobRequest + (*CreateJobRequest)(nil), // 3: google.cloud.scheduler.v1beta1.CreateJobRequest + (*UpdateJobRequest)(nil), // 4: google.cloud.scheduler.v1beta1.UpdateJobRequest + (*DeleteJobRequest)(nil), // 5: google.cloud.scheduler.v1beta1.DeleteJobRequest + (*PauseJobRequest)(nil), // 6: google.cloud.scheduler.v1beta1.PauseJobRequest + (*ResumeJobRequest)(nil), // 7: google.cloud.scheduler.v1beta1.ResumeJobRequest + (*RunJobRequest)(nil), // 8: google.cloud.scheduler.v1beta1.RunJobRequest + (*Job)(nil), // 9: google.cloud.scheduler.v1beta1.Job + (*field_mask.FieldMask)(nil), // 10: google.protobuf.FieldMask + (*empty.Empty)(nil), // 11: google.protobuf.Empty } var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_depIdxs = []int32{ 9, // 0: google.cloud.scheduler.v1beta1.ListJobsResponse.jobs:type_name -> google.cloud.scheduler.v1beta1.Job @@ -967,7 +967,7 @@ type CloudSchedulerClient interface { // until a successful response is received. UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) // Deletes a job. - DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Pauses a job. // // If a job is paused then the system will stop executing the job @@ -1034,8 +1034,8 @@ func (c *cloudSchedulerClient) UpdateJob(ctx context.Context, in *UpdateJobReque return out, nil } -func (c *cloudSchedulerClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *cloudSchedulerClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/DeleteJob", in, out, opts...) if err != nil { return nil, err @@ -1089,7 +1089,7 @@ type CloudSchedulerServer interface { // until a successful response is received. UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) // Deletes a job. - DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) + DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) // Pauses a job. // // If a job is paused then the system will stop executing the job @@ -1128,7 +1128,7 @@ func (*UnimplementedCloudSchedulerServer) CreateJob(context.Context, *CreateJobR func (*UnimplementedCloudSchedulerServer) UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateJob not implemented") } -func (*UnimplementedCloudSchedulerServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedCloudSchedulerServer) DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented") } func (*UnimplementedCloudSchedulerServer) PauseJob(context.Context, *PauseJobRequest) (*Job, error) { diff --git a/scheduler/apiv1beta1/schedulerpb/job.pb.go b/scheduler/apiv1beta1/schedulerpb/job.pb.go index c8183b5f6bb..b4464e7fda1 100644 --- a/scheduler/apiv1beta1/schedulerpb/job.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/job.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/scheduler/v1beta1/job.proto package schedulerpb @@ -25,12 +25,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -182,7 +182,7 @@ type Job struct { // as GMT). TimeZone string `protobuf:"bytes,21,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // Output only. The creation time of the job. - UserUpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=user_update_time,json=userUpdateTime,proto3" json:"user_update_time,omitempty"` + UserUpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=user_update_time,json=userUpdateTime,proto3" json:"user_update_time,omitempty"` // Output only. State of the job. State Job_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.scheduler.v1beta1.Job_State" json:"state,omitempty"` // Output only. The response from the target for the last attempted execution. @@ -190,9 +190,9 @@ type Job struct { // Output only. The next time the job is scheduled. Note that this may be a // retry of a previously failed attempt or the next execution time // according to the schedule. - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Output only. The time the last job attempt started. - LastAttemptTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=last_attempt_time,json=lastAttemptTime,proto3" json:"last_attempt_time,omitempty"` + LastAttemptTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=last_attempt_time,json=lastAttemptTime,proto3" json:"last_attempt_time,omitempty"` // Settings that determine the retry behavior. RetryConfig *RetryConfig `protobuf:"bytes,19,opt,name=retry_config,json=retryConfig,proto3" json:"retry_config,omitempty"` // The deadline for job attempts. If the request handler does not respond by @@ -207,7 +207,7 @@ type Job struct { // - For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15 // seconds and 24 hours. // - For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored. - AttemptDeadline *durationpb.Duration `protobuf:"bytes,22,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,omitempty"` + AttemptDeadline *duration.Duration `protobuf:"bytes,22,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,omitempty"` } func (x *Job) Reset() { @@ -298,7 +298,7 @@ func (x *Job) GetTimeZone() string { return "" } -func (x *Job) GetUserUpdateTime() *timestamppb.Timestamp { +func (x *Job) GetUserUpdateTime() *timestamp.Timestamp { if x != nil { return x.UserUpdateTime } @@ -319,14 +319,14 @@ func (x *Job) GetStatus() *status.Status { return nil } -func (x *Job) GetScheduleTime() *timestamppb.Timestamp { +func (x *Job) GetScheduleTime() *timestamp.Timestamp { if x != nil { return x.ScheduleTime } return nil } -func (x *Job) GetLastAttemptTime() *timestamppb.Timestamp { +func (x *Job) GetLastAttemptTime() *timestamp.Timestamp { if x != nil { return x.LastAttemptTime } @@ -340,7 +340,7 @@ func (x *Job) GetRetryConfig() *RetryConfig { return nil } -func (x *Job) GetAttemptDeadline() *durationpb.Duration { +func (x *Job) GetAttemptDeadline() *duration.Duration { if x != nil { return x.AttemptDeadline } @@ -406,17 +406,17 @@ type RetryConfig struct { // // The default value for max_retry_duration is zero, which means retry // duration is unlimited. - MaxRetryDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` + MaxRetryDuration *duration.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` // The minimum amount of time to wait before retrying a job after // it fails. // // The default value of this field is 5 seconds. - MinBackoffDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=min_backoff_duration,json=minBackoffDuration,proto3" json:"min_backoff_duration,omitempty"` + MinBackoffDuration *duration.Duration `protobuf:"bytes,3,opt,name=min_backoff_duration,json=minBackoffDuration,proto3" json:"min_backoff_duration,omitempty"` // The maximum amount of time to wait before retrying a job after // it fails. // // The default value of this field is 1 hour. - MaxBackoffDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=max_backoff_duration,json=maxBackoffDuration,proto3" json:"max_backoff_duration,omitempty"` + MaxBackoffDuration *duration.Duration `protobuf:"bytes,4,opt,name=max_backoff_duration,json=maxBackoffDuration,proto3" json:"max_backoff_duration,omitempty"` // The time between retries will double `max_doublings` times. // // A job's retry interval starts at @@ -478,21 +478,21 @@ func (x *RetryConfig) GetRetryCount() int32 { return 0 } -func (x *RetryConfig) GetMaxRetryDuration() *durationpb.Duration { +func (x *RetryConfig) GetMaxRetryDuration() *duration.Duration { if x != nil { return x.MaxRetryDuration } return nil } -func (x *RetryConfig) GetMinBackoffDuration() *durationpb.Duration { +func (x *RetryConfig) GetMinBackoffDuration() *duration.Duration { if x != nil { return x.MinBackoffDuration } return nil } -func (x *RetryConfig) GetMaxBackoffDuration() *durationpb.Duration { +func (x *RetryConfig) GetMaxBackoffDuration() *duration.Duration { if x != nil { return x.MaxBackoffDuration } @@ -635,15 +635,15 @@ func file_google_cloud_scheduler_v1beta1_job_proto_rawDescGZIP() []byte { var file_google_cloud_scheduler_v1beta1_job_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_scheduler_v1beta1_job_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_scheduler_v1beta1_job_proto_goTypes = []interface{}{ - (Job_State)(0), // 0: google.cloud.scheduler.v1beta1.Job.State - (*Job)(nil), // 1: google.cloud.scheduler.v1beta1.Job - (*RetryConfig)(nil), // 2: google.cloud.scheduler.v1beta1.RetryConfig - (*PubsubTarget)(nil), // 3: google.cloud.scheduler.v1beta1.PubsubTarget - (*AppEngineHttpTarget)(nil), // 4: google.cloud.scheduler.v1beta1.AppEngineHttpTarget - (*HttpTarget)(nil), // 5: google.cloud.scheduler.v1beta1.HttpTarget - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*status.Status)(nil), // 7: google.rpc.Status - (*durationpb.Duration)(nil), // 8: google.protobuf.Duration + (Job_State)(0), // 0: google.cloud.scheduler.v1beta1.Job.State + (*Job)(nil), // 1: google.cloud.scheduler.v1beta1.Job + (*RetryConfig)(nil), // 2: google.cloud.scheduler.v1beta1.RetryConfig + (*PubsubTarget)(nil), // 3: google.cloud.scheduler.v1beta1.PubsubTarget + (*AppEngineHttpTarget)(nil), // 4: google.cloud.scheduler.v1beta1.AppEngineHttpTarget + (*HttpTarget)(nil), // 5: google.cloud.scheduler.v1beta1.HttpTarget + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*status.Status)(nil), // 7: google.rpc.Status + (*duration.Duration)(nil), // 8: google.protobuf.Duration } var file_google_cloud_scheduler_v1beta1_job_proto_depIdxs = []int32{ 3, // 0: google.cloud.scheduler.v1beta1.Job.pubsub_target:type_name -> google.cloud.scheduler.v1beta1.PubsubTarget diff --git a/scheduler/apiv1beta1/schedulerpb/target.pb.go b/scheduler/apiv1beta1/schedulerpb/target.pb.go index b45c265dd33..efd0ad32126 100644 --- a/scheduler/apiv1beta1/schedulerpb/target.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/target.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/scheduler/v1beta1/target.proto package schedulerpb diff --git a/security/privateca/apiv1beta1/privatecapb/resources.pb.go b/security/privateca/apiv1beta1/privatecapb/resources.pb.go index 4b98eb71427..2a19ea14e56 100644 --- a/security/privateca/apiv1beta1/privatecapb/resources.pb.go +++ b/security/privateca/apiv1beta1/privatecapb/resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/security/privateca/v1beta1/resources.proto package privatecapb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -508,7 +508,7 @@ type CertificateAuthority struct { // Required. The desired lifetime of the CA certificate. Used to create the // "not_before_time" and "not_after_time" fields inside an X.509 // certificate. - Lifetime *durationpb.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + Lifetime *duration.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // Required. Immutable. Used when issuing certificates for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. If this // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] is a self-signed CertificateAuthority, this key // is also used to sign the self-signed CA certificate. Otherwise, it @@ -545,12 +545,12 @@ type CertificateAuthority struct { // and CRLs. AccessUrls *CertificateAuthority_AccessUrls `protobuf:"bytes,14,opt,name=access_urls,json=accessUrls,proto3" json:"access_urls,omitempty"` // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will be deleted, if // scheduled for deletion. - DeleteTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` + DeleteTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Optional. Labels with user-defined metadata. Labels map[string]string `protobuf:"bytes,18,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -615,7 +615,7 @@ func (x *CertificateAuthority) GetConfig() *CertificateConfig { return nil } -func (x *CertificateAuthority) GetLifetime() *durationpb.Duration { +func (x *CertificateAuthority) GetLifetime() *duration.Duration { if x != nil { return x.Lifetime } @@ -685,21 +685,21 @@ func (x *CertificateAuthority) GetAccessUrls() *CertificateAuthority_AccessUrls return nil } -func (x *CertificateAuthority) GetCreateTime() *timestamppb.Timestamp { +func (x *CertificateAuthority) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *CertificateAuthority) GetUpdateTime() *timestamppb.Timestamp { +func (x *CertificateAuthority) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *CertificateAuthority) GetDeleteTime() *timestamppb.Timestamp { +func (x *CertificateAuthority) GetDeleteTime() *timestamp.Timestamp { if x != nil { return x.DeleteTime } @@ -738,9 +738,9 @@ type CertificateRevocationList struct { // Output only. The [State][google.cloud.security.privateca.v1beta1.CertificateRevocationList.State] for this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. State CertificateRevocationList_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.security.privateca.v1beta1.CertificateRevocationList_State" json:"state,omitempty"` // Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Labels with user-defined metadata. Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -819,14 +819,14 @@ func (x *CertificateRevocationList) GetState() CertificateRevocationList_State { return CertificateRevocationList_STATE_UNSPECIFIED } -func (x *CertificateRevocationList) GetCreateTime() *timestamppb.Timestamp { +func (x *CertificateRevocationList) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *CertificateRevocationList) GetUpdateTime() *timestamppb.Timestamp { +func (x *CertificateRevocationList) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -861,7 +861,7 @@ type Certificate struct { // "not_before_time" and "not_after_time" fields inside an X.509 // certificate. Note that the lifetime may be truncated if it would extend // past the life of any certificate authority in the issuing chain. - Lifetime *durationpb.Duration `protobuf:"bytes,4,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + Lifetime *duration.Duration `protobuf:"bytes,4,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This // [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present. RevocationDetails *Certificate_RevocationDetails `protobuf:"bytes,5,opt,name=revocation_details,json=revocationDetails,proto3" json:"revocation_details,omitempty"` @@ -873,9 +873,9 @@ type Certificate struct { // in issuer-to-root order according to RFC 5246. PemCertificateChain []string `protobuf:"bytes,8,rep,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"` // Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Labels with user-defined metadata. Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -940,7 +940,7 @@ func (x *Certificate) GetConfig() *CertificateConfig { return nil } -func (x *Certificate) GetLifetime() *durationpb.Duration { +func (x *Certificate) GetLifetime() *duration.Duration { if x != nil { return x.Lifetime } @@ -975,14 +975,14 @@ func (x *Certificate) GetPemCertificateChain() []string { return nil } -func (x *Certificate) GetCreateTime() *timestamppb.Timestamp { +func (x *Certificate) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Certificate) GetUpdateTime() *timestamppb.Timestamp { +func (x *Certificate) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -1033,9 +1033,9 @@ type ReusableConfig struct { // compatible with. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] was updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Labels with user-defined metadata. Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -1093,14 +1093,14 @@ func (x *ReusableConfig) GetDescription() string { return "" } -func (x *ReusableConfig) GetCreateTime() *timestamppb.Timestamp { +func (x *ReusableConfig) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *ReusableConfig) GetUpdateTime() *timestamppb.Timestamp { +func (x *ReusableConfig) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2111,7 +2111,7 @@ type CertificateAuthority_CertificateAuthorityPolicy struct { // if the any part if the issuing chain expires before a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]'s // requested maximum_lifetime, the effective lifetime will be explicitly // truncated. - MaximumLifetime *durationpb.Duration `protobuf:"bytes,6,opt,name=maximum_lifetime,json=maximumLifetime,proto3" json:"maximum_lifetime,omitempty"` + MaximumLifetime *duration.Duration `protobuf:"bytes,6,opt,name=maximum_lifetime,json=maximumLifetime,proto3" json:"maximum_lifetime,omitempty"` // Optional. If specified, then only methods allowed in the [IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] may be // used to issue [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. AllowedIssuanceModes *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes `protobuf:"bytes,8,opt,name=allowed_issuance_modes,json=allowedIssuanceModes,proto3" json:"allowed_issuance_modes,omitempty"` @@ -2191,7 +2191,7 @@ func (x *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedSans() *Cert return nil } -func (x *CertificateAuthority_CertificateAuthorityPolicy) GetMaximumLifetime() *durationpb.Duration { +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetMaximumLifetime() *duration.Duration { if x != nil { return x.MaximumLifetime } @@ -2679,7 +2679,7 @@ type Certificate_RevocationDetails struct { // Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked. RevocationState RevocationReason `protobuf:"varint,1,opt,name=revocation_state,json=revocationState,proto3,enum=google.cloud.security.privateca.v1beta1.RevocationReason" json:"revocation_state,omitempty"` // The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked. - RevocationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=revocation_time,json=revocationTime,proto3" json:"revocation_time,omitempty"` + RevocationTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=revocation_time,json=revocationTime,proto3" json:"revocation_time,omitempty"` } func (x *Certificate_RevocationDetails) Reset() { @@ -2721,7 +2721,7 @@ func (x *Certificate_RevocationDetails) GetRevocationState() RevocationReason { return RevocationReason_REVOCATION_REASON_UNSPECIFIED } -func (x *Certificate_RevocationDetails) GetRevocationTime() *timestamppb.Timestamp { +func (x *Certificate_RevocationDetails) GetRevocationTime() *timestamp.Timestamp { if x != nil { return x.RevocationTime } @@ -2736,14 +2736,14 @@ type ReusableConfigValues_CaOptions struct { // Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this // value is missing, the extension will be omitted from the CA certificate. - IsCa *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=is_ca,json=isCa,proto3" json:"is_ca,omitempty"` + IsCa *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_ca,json=isCa,proto3" json:"is_ca,omitempty"` // Optional. Refers to the path length restriction X.509 extension. For a CA // certificate, this value describes the depth of subordinate CA // certificates that are allowed. // If this value is less than 0, the request will fail. // If this value is missing, the max path length will be omitted from the // CA certificate. - MaxIssuerPathLength *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=max_issuer_path_length,json=maxIssuerPathLength,proto3" json:"max_issuer_path_length,omitempty"` + MaxIssuerPathLength *wrappers.Int32Value `protobuf:"bytes,2,opt,name=max_issuer_path_length,json=maxIssuerPathLength,proto3" json:"max_issuer_path_length,omitempty"` } func (x *ReusableConfigValues_CaOptions) Reset() { @@ -2778,14 +2778,14 @@ func (*ReusableConfigValues_CaOptions) Descriptor() ([]byte, []int) { return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{4, 0} } -func (x *ReusableConfigValues_CaOptions) GetIsCa() *wrapperspb.BoolValue { +func (x *ReusableConfigValues_CaOptions) GetIsCa() *wrappers.BoolValue { if x != nil { return x.IsCa } return nil } -func (x *ReusableConfigValues_CaOptions) GetMaxIssuerPathLength() *wrapperspb.Int32Value { +func (x *ReusableConfigValues_CaOptions) GetMaxIssuerPathLength() *wrappers.Int32Value { if x != nil { return x.MaxIssuerPathLength } @@ -2927,11 +2927,11 @@ type CertificateDescription_SubjectDescription struct { HexSerialNumber string `protobuf:"bytes,4,opt,name=hex_serial_number,json=hexSerialNumber,proto3" json:"hex_serial_number,omitempty"` // For convenience, the actual lifetime of an issued certificate. // Corresponds to 'not_after_time' - 'not_before_time'. - Lifetime *durationpb.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + Lifetime *duration.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // The time at which the certificate becomes valid. - NotBeforeTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=not_before_time,json=notBeforeTime,proto3" json:"not_before_time,omitempty"` + NotBeforeTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=not_before_time,json=notBeforeTime,proto3" json:"not_before_time,omitempty"` // The time at which the certificate expires. - NotAfterTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=not_after_time,json=notAfterTime,proto3" json:"not_after_time,omitempty"` + NotAfterTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=not_after_time,json=notAfterTime,proto3" json:"not_after_time,omitempty"` } func (x *CertificateDescription_SubjectDescription) Reset() { @@ -2994,21 +2994,21 @@ func (x *CertificateDescription_SubjectDescription) GetHexSerialNumber() string return "" } -func (x *CertificateDescription_SubjectDescription) GetLifetime() *durationpb.Duration { +func (x *CertificateDescription_SubjectDescription) GetLifetime() *duration.Duration { if x != nil { return x.Lifetime } return nil } -func (x *CertificateDescription_SubjectDescription) GetNotBeforeTime() *timestamppb.Timestamp { +func (x *CertificateDescription_SubjectDescription) GetNotBeforeTime() *timestamp.Timestamp { if x != nil { return x.NotBeforeTime } return nil } -func (x *CertificateDescription_SubjectDescription) GetNotAfterTime() *timestamppb.Timestamp { +func (x *CertificateDescription_SubjectDescription) GetNotAfterTime() *timestamp.Timestamp { if x != nil { return x.NotAfterTime } @@ -4221,10 +4221,10 @@ var file_google_cloud_security_privateca_v1beta1_resources_proto_goTypes = []int (*CertificateDescription_CertificateFingerprint)(nil), // 40: google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint (*KeyUsage_KeyUsageOptions)(nil), // 41: google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions (*KeyUsage_ExtendedKeyUsageOptions)(nil), // 42: google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions - (*durationpb.Duration)(nil), // 43: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 44: google.protobuf.Timestamp - (*wrapperspb.BoolValue)(nil), // 45: google.protobuf.BoolValue - (*wrapperspb.Int32Value)(nil), // 46: google.protobuf.Int32Value + (*duration.Duration)(nil), // 43: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 44: google.protobuf.Timestamp + (*wrappers.BoolValue)(nil), // 45: google.protobuf.BoolValue + (*wrappers.Int32Value)(nil), // 46: google.protobuf.Int32Value } var file_google_cloud_security_privateca_v1beta1_resources_proto_depIdxs = []int32{ 1, // 0: google.cloud.security.privateca.v1beta1.CertificateAuthority.type:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.Type diff --git a/security/privateca/apiv1beta1/privatecapb/service.pb.go b/security/privateca/apiv1beta1/privatecapb/service.pb.go index e8258397a0e..00f93005312 100644 --- a/security/privateca/apiv1beta1/privatecapb/service.pb.go +++ b/security/privateca/apiv1beta1/privatecapb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/security/privateca/v1beta1/service.proto package privatecapb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -442,7 +442,7 @@ type UpdateCertificateRequest struct { // Required. [Certificate][google.cloud.security.privateca.v1beta1.Certificate] with updated values. Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // Required. A list of fields to be updated in this request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. An ID to identify requests. Specify a unique request ID so that if you must // retry your request, the server will know to ignore the request if it has // already been completed. The server will guarantee that for at least 60 @@ -498,7 +498,7 @@ func (x *UpdateCertificateRequest) GetCertificate() *Certificate { return nil } -func (x *UpdateCertificateRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCertificateRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1309,7 +1309,7 @@ type UpdateCertificateAuthorityRequest struct { // Required. [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] with updated values. CertificateAuthority *CertificateAuthority `protobuf:"bytes,1,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` // Required. A list of fields to be updated in this request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. An ID to identify requests. Specify a unique request ID so that if you must // retry your request, the server will know to ignore the request if it has // already been completed. The server will guarantee that for at least 60 @@ -1365,7 +1365,7 @@ func (x *UpdateCertificateAuthorityRequest) GetCertificateAuthority() *Certifica return nil } -func (x *UpdateCertificateAuthorityRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCertificateAuthorityRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1604,7 +1604,7 @@ type UpdateCertificateRevocationListRequest struct { // Required. [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] with updated values. CertificateRevocationList *CertificateRevocationList `protobuf:"bytes,1,opt,name=certificate_revocation_list,json=certificateRevocationList,proto3" json:"certificate_revocation_list,omitempty"` // Required. A list of fields to be updated in this request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. An ID to identify requests. Specify a unique request ID so that if you must // retry your request, the server will know to ignore the request if it has // already been completed. The server will guarantee that for at least 60 @@ -1660,7 +1660,7 @@ func (x *UpdateCertificateRevocationListRequest) GetCertificateRevocationList() return nil } -func (x *UpdateCertificateRevocationListRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCertificateRevocationListRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1895,9 +1895,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // Output only. The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. @@ -1945,14 +1945,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{25} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2771,12 +2771,12 @@ var file_google_cloud_security_privateca_v1beta1_service_proto_goTypes = []inter (*OperationMetadata)(nil), // 25: google.cloud.security.privateca.v1beta1.OperationMetadata (*Certificate)(nil), // 26: google.cloud.security.privateca.v1beta1.Certificate (RevocationReason)(0), // 27: google.cloud.security.privateca.v1beta1.RevocationReason - (*fieldmaskpb.FieldMask)(nil), // 28: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 28: google.protobuf.FieldMask (*SubordinateConfig)(nil), // 29: google.cloud.security.privateca.v1beta1.SubordinateConfig (*CertificateAuthority)(nil), // 30: google.cloud.security.privateca.v1beta1.CertificateAuthority (*CertificateRevocationList)(nil), // 31: google.cloud.security.privateca.v1beta1.CertificateRevocationList (*ReusableConfig)(nil), // 32: google.cloud.security.privateca.v1beta1.ReusableConfig - (*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 33: google.protobuf.Timestamp (*longrunning.Operation)(nil), // 34: google.longrunning.Operation } var file_google_cloud_security_privateca_v1beta1_service_proto_depIdxs = []int32{ diff --git a/securitycenter/apiv1/security_center_client.go b/securitycenter/apiv1/security_center_client.go index 0418fe84cf1..23f19444bb5 100644 --- a/securitycenter/apiv1/security_center_client.go +++ b/securitycenter/apiv1/security_center_client.go @@ -25,6 +25,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" + emptypb "github.com/golang/protobuf/ptypes/empty" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" @@ -37,7 +38,6 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/proto" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) var newClientHook clientHook diff --git a/securitycenter/apiv1beta1/security_center_client.go b/securitycenter/apiv1beta1/security_center_client.go index 3b6b6164a02..2f21286da90 100644 --- a/securitycenter/apiv1beta1/security_center_client.go +++ b/securitycenter/apiv1beta1/security_center_client.go @@ -29,6 +29,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" securitycenterpb "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb" + emptypb "github.com/golang/protobuf/ptypes/empty" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -43,7 +44,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) var newClientHook clientHook diff --git a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go index e91c9be93a9..f1b70f453d6 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/asset.proto package securitycenterpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -60,15 +60,15 @@ type Asset struct { SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"` // Resource managed properties. These properties are managed and defined by // the Google Cloud resource and cannot be modified by the user. - ResourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ResourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // User specified security marks. These marks are entirely managed by the user // and come from the SecurityMarks resource that belongs to the asset. SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"` // The time at which the asset was created in Security Command Center. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time at which the asset was last updated, added, or deleted in Security // Command Center. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Asset) Reset() { @@ -117,7 +117,7 @@ func (x *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties { return nil } -func (x *Asset) GetResourceProperties() map[string]*structpb.Value { +func (x *Asset) GetResourceProperties() map[string]*_struct.Value { if x != nil { return x.ResourceProperties } @@ -131,14 +131,14 @@ func (x *Asset) GetSecurityMarks() *SecurityMarks { return nil } -func (x *Asset) GetCreateTime() *timestamppb.Timestamp { +func (x *Asset) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Asset) GetUpdateTime() *timestamppb.Timestamp { +func (x *Asset) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -343,8 +343,8 @@ var file_google_cloud_securitycenter_v1beta1_asset_proto_goTypes = []interface{} (*Asset_SecurityCenterProperties)(nil), // 1: google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties nil, // 2: google.cloud.securitycenter.v1beta1.Asset.ResourcePropertiesEntry (*SecurityMarks)(nil), // 3: google.cloud.securitycenter.v1beta1.SecurityMarks - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp - (*structpb.Value)(nil), // 5: google.protobuf.Value + (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*_struct.Value)(nil), // 5: google.protobuf.Value } var file_google_cloud_securitycenter_v1beta1_asset_proto_depIdxs = []int32{ 1, // 0: google.cloud.securitycenter.v1beta1.Asset.security_center_properties:type_name -> google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties diff --git a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go index ac363e345af..a6bde06b1c0 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/finding.proto package securitycenterpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -136,7 +136,7 @@ type Finding struct { // that writes the finding. The key names in the source_properties map must be // between 1 and 255 characters, and must start with a letter and contain // alphanumeric characters or underscores only. - SourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. User specified security marks. These marks are entirely // managed by the user and come from the SecurityMarks resource that belongs // to the finding. @@ -146,9 +146,9 @@ type Finding struct { // capture the time the detector believes the firewall became open. The // accuracy is determined by the detector. If the finding were to be resolved // afterward, this time would reflect when the finding was resolved. - EventTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + EventTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // The time at which the finding was created in Security Command Center. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` } func (x *Finding) Reset() { @@ -225,7 +225,7 @@ func (x *Finding) GetExternalUri() string { return "" } -func (x *Finding) GetSourceProperties() map[string]*structpb.Value { +func (x *Finding) GetSourceProperties() map[string]*_struct.Value { if x != nil { return x.SourceProperties } @@ -239,14 +239,14 @@ func (x *Finding) GetSecurityMarks() *SecurityMarks { return nil } -func (x *Finding) GetEventTime() *timestamppb.Timestamp { +func (x *Finding) GetEventTime() *timestamp.Timestamp { if x != nil { return x.EventTime } return nil } -func (x *Finding) GetCreateTime() *timestamppb.Timestamp { +func (x *Finding) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -350,12 +350,12 @@ func file_google_cloud_securitycenter_v1beta1_finding_proto_rawDescGZIP() []byte var file_google_cloud_securitycenter_v1beta1_finding_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_securitycenter_v1beta1_finding_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_securitycenter_v1beta1_finding_proto_goTypes = []interface{}{ - (Finding_State)(0), // 0: google.cloud.securitycenter.v1beta1.Finding.State - (*Finding)(nil), // 1: google.cloud.securitycenter.v1beta1.Finding - nil, // 2: google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry - (*SecurityMarks)(nil), // 3: google.cloud.securitycenter.v1beta1.SecurityMarks - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp - (*structpb.Value)(nil), // 5: google.protobuf.Value + (Finding_State)(0), // 0: google.cloud.securitycenter.v1beta1.Finding.State + (*Finding)(nil), // 1: google.cloud.securitycenter.v1beta1.Finding + nil, // 2: google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry + (*SecurityMarks)(nil), // 3: google.cloud.securitycenter.v1beta1.SecurityMarks + (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*_struct.Value)(nil), // 5: google.protobuf.Value } var file_google_cloud_securitycenter_v1beta1_finding_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.v1beta1.Finding.state:type_name -> google.cloud.securitycenter.v1beta1.Finding.State diff --git a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go index 339469a3cb5..4f508df3f15 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/organization_settings.proto package securitycenterpb diff --git a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go index 8d0f582d456..45dd9236ddd 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto package securitycenterpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -103,7 +103,7 @@ type RunAssetDiscoveryResponse struct { // The state of an asset discovery run. State RunAssetDiscoveryResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse_State" json:"state,omitempty"` // The duration between asset discovery run start and end - Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` } func (x *RunAssetDiscoveryResponse) Reset() { @@ -145,7 +145,7 @@ func (x *RunAssetDiscoveryResponse) GetState() RunAssetDiscoveryResponse_State { return RunAssetDiscoveryResponse_STATE_UNSPECIFIED } -func (x *RunAssetDiscoveryResponse) GetDuration() *durationpb.Duration { +func (x *RunAssetDiscoveryResponse) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -208,7 +208,7 @@ var file_google_cloud_securitycenter_v1beta1_run_asset_discovery_response_proto_ var file_google_cloud_securitycenter_v1beta1_run_asset_discovery_response_proto_goTypes = []interface{}{ (RunAssetDiscoveryResponse_State)(0), // 0: google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State (*RunAssetDiscoveryResponse)(nil), // 1: google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse - (*durationpb.Duration)(nil), // 2: google.protobuf.Duration + (*duration.Duration)(nil), // 2: google.protobuf.Duration } var file_google_cloud_securitycenter_v1beta1_run_asset_discovery_response_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.state:type_name -> google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State diff --git a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go index f86eda1d64b..b8143efd20d 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/security_marks.proto package securitycenterpb diff --git a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go index b447f2762c4..98184916201 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto package securitycenterpb @@ -25,18 +25,18 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -416,12 +416,12 @@ type GroupAssetsRequest struct { // compare_duration and reference_time. // // This field is ignored if `state` is not a field in `group_by`. - CompareDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + CompareDuration *duration.Duration `protobuf:"bytes,4,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` // Time used as a reference point when filtering assets. The filter is limited // to assets existing at the supplied time and their values are those at that // specific time. Absence of this field will default to the API's version of // NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // The value returned by the last `GroupAssetsResponse`; indicates // that this is a continuation of a prior `GroupAssets` call, and that the // system should return the next page of data. @@ -484,14 +484,14 @@ func (x *GroupAssetsRequest) GetGroupBy() string { return "" } -func (x *GroupAssetsRequest) GetCompareDuration() *durationpb.Duration { +func (x *GroupAssetsRequest) GetCompareDuration() *duration.Duration { if x != nil { return x.CompareDuration } return nil } -func (x *GroupAssetsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *GroupAssetsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -523,7 +523,7 @@ type GroupAssetsResponse struct { // of times those specific property/values appear. GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"` // Time used for executing the groupBy request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -568,7 +568,7 @@ func (x *GroupAssetsResponse) GetGroupByResults() []*GroupResult { return nil } -func (x *GroupAssetsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *GroupAssetsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -635,7 +635,7 @@ type GroupFindingsRequest struct { // limited to findings existing at the supplied time and their values are // those at that specific time. Absence of this field will default to the // API's version of NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // The value returned by the last `GroupFindingsResponse`; indicates // that this is a continuation of a prior `GroupFindings` call, and // that the system should return the next page of data. @@ -698,7 +698,7 @@ func (x *GroupFindingsRequest) GetGroupBy() string { return "" } -func (x *GroupFindingsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *GroupFindingsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -730,7 +730,7 @@ type GroupFindingsResponse struct { // of times those specific property/values appear. GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"` // Time used for executing the groupBy request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -775,7 +775,7 @@ func (x *GroupFindingsResponse) GetGroupByResults() []*GroupResult { return nil } -func (x *GroupFindingsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *GroupFindingsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -796,7 +796,7 @@ type GroupResult struct { unknownFields protoimpl.UnknownFields // Properties matching the groupBy fields in the request. - Properties map[string]*structpb.Value `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Properties map[string]*_struct.Value `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Total count of resources for the given properties. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` } @@ -833,7 +833,7 @@ func (*GroupResult) Descriptor() ([]byte, []int) { return file_google_cloud_securitycenter_v1beta1_securitycenter_service_proto_rawDescGZIP(), []int{8} } -func (x *GroupResult) GetProperties() map[string]*structpb.Value { +func (x *GroupResult) GetProperties() map[string]*_struct.Value { if x != nil { return x.Properties } @@ -1027,7 +1027,7 @@ type ListAssetsRequest struct { // to assets existing at the supplied time and their values are those at that // specific time. Absence of this field will default to the API's version of // NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // When compare_duration is set, the ListAssetResult's "state" attribute is // updated to indicate whether the asset was added, removed, or remained // present during the compare_duration period of time that precedes the @@ -1051,11 +1051,11 @@ type ListAssetsRequest struct { // // If compare_duration is not specified, then the only possible state is // "UNUSED", which indicates that the asset is present at read_time. - CompareDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` // Optional. A field mask to specify the ListAssetsResult fields to be listed in the // response. // An empty field mask will list all fields. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // The value returned by the last `ListAssetsResponse`; indicates // that this is a continuation of a prior `ListAssets` call, and // that the system should return the next page of data. @@ -1118,21 +1118,21 @@ func (x *ListAssetsRequest) GetOrderBy() string { return "" } -func (x *ListAssetsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *ListAssetsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } return nil } -func (x *ListAssetsRequest) GetCompareDuration() *durationpb.Duration { +func (x *ListAssetsRequest) GetCompareDuration() *duration.Duration { if x != nil { return x.CompareDuration } return nil } -func (x *ListAssetsRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ListAssetsRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -1162,7 +1162,7 @@ type ListAssetsResponse struct { // Assets matching the list request. ListAssetsResults []*ListAssetsResponse_ListAssetsResult `protobuf:"bytes,1,rep,name=list_assets_results,json=listAssetsResults,proto3" json:"list_assets_results,omitempty"` // Time used for executing the list request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -1209,7 +1209,7 @@ func (x *ListAssetsResponse) GetListAssetsResults() []*ListAssetsResponse_ListAs return nil } -func (x *ListAssetsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *ListAssetsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -1280,10 +1280,10 @@ type ListFindingsRequest struct { // limited to findings existing at the supplied time and their values are // those at that specific time. Absence of this field will default to the // API's version of NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Optional. A field mask to specify the Finding fields to be listed in the response. // An empty field mask will list all fields. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // The value returned by the last `ListFindingsResponse`; indicates // that this is a continuation of a prior `ListFindings` call, and // that the system should return the next page of data. @@ -1346,14 +1346,14 @@ func (x *ListFindingsRequest) GetOrderBy() string { return "" } -func (x *ListFindingsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *ListFindingsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } return nil } -func (x *ListFindingsRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ListFindingsRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -1383,7 +1383,7 @@ type ListFindingsResponse struct { // Findings matching the list request. Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` // Time used for executing the list request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -1430,7 +1430,7 @@ func (x *ListFindingsResponse) GetFindings() []*Finding { return nil } -func (x *ListFindingsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *ListFindingsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -1465,7 +1465,7 @@ type SetFindingStateRequest struct { // Required. The desired State of the finding. State Finding_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.Finding_State" json:"state,omitempty"` // Required. The time at which the updated state takes effect. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` } func (x *SetFindingStateRequest) Reset() { @@ -1514,7 +1514,7 @@ func (x *SetFindingStateRequest) GetState() Finding_State { return Finding_STATE_UNSPECIFIED } -func (x *SetFindingStateRequest) GetStartTime() *timestamppb.Timestamp { +func (x *SetFindingStateRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -1586,7 +1586,7 @@ type UpdateFindingRequest struct { Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"` // The FieldMask to use when updating the finding resource. This field should // not be specified when creating a finding. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateFindingRequest) Reset() { @@ -1628,7 +1628,7 @@ func (x *UpdateFindingRequest) GetFinding() *Finding { return nil } -func (x *UpdateFindingRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateFindingRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1644,7 +1644,7 @@ type UpdateOrganizationSettingsRequest struct { // Required. The organization settings resource to update. OrganizationSettings *OrganizationSettings `protobuf:"bytes,1,opt,name=organization_settings,json=organizationSettings,proto3" json:"organization_settings,omitempty"` // The FieldMask to use when updating the settings resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateOrganizationSettingsRequest) Reset() { @@ -1686,7 +1686,7 @@ func (x *UpdateOrganizationSettingsRequest) GetOrganizationSettings() *Organizat return nil } -func (x *UpdateOrganizationSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateOrganizationSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1702,7 +1702,7 @@ type UpdateSourceRequest struct { // Required. The source resource to update. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // The FieldMask to use when updating the source resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSourceRequest) Reset() { @@ -1744,7 +1744,7 @@ func (x *UpdateSourceRequest) GetSource() *Source { return nil } -func (x *UpdateSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSourceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1760,9 +1760,9 @@ type UpdateSecurityMarksRequest struct { // Required. The security marks resource to update. SecurityMarks *SecurityMarks `protobuf:"bytes,1,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"` // The FieldMask to use when updating the security marks resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The time at which the updated SecurityMarks take effect. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` } func (x *UpdateSecurityMarksRequest) Reset() { @@ -1804,14 +1804,14 @@ func (x *UpdateSecurityMarksRequest) GetSecurityMarks() *SecurityMarks { return nil } -func (x *UpdateSecurityMarksRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSecurityMarksRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } return nil } -func (x *UpdateSecurityMarksRequest) GetStartTime() *timestamppb.Timestamp { +func (x *UpdateSecurityMarksRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -2522,13 +2522,13 @@ var file_google_cloud_securitycenter_v1beta1_securitycenter_service_proto_goType (*ListAssetsResponse_ListAssetsResult)(nil), // 23: google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult (*Finding)(nil), // 24: google.cloud.securitycenter.v1beta1.Finding (*Source)(nil), // 25: google.cloud.securitycenter.v1beta1.Source - (*durationpb.Duration)(nil), // 26: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 28: google.protobuf.FieldMask + (*duration.Duration)(nil), // 26: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 27: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 28: google.protobuf.FieldMask (Finding_State)(0), // 29: google.cloud.securitycenter.v1beta1.Finding.State (*OrganizationSettings)(nil), // 30: google.cloud.securitycenter.v1beta1.OrganizationSettings (*SecurityMarks)(nil), // 31: google.cloud.securitycenter.v1beta1.SecurityMarks - (*structpb.Value)(nil), // 32: google.protobuf.Value + (*_struct.Value)(nil), // 32: google.protobuf.Value (*Asset)(nil), // 33: google.cloud.securitycenter.v1beta1.Asset (*v1.GetIamPolicyRequest)(nil), // 34: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 35: google.iam.v1.SetIamPolicyRequest diff --git a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go index dcee2c5d3c1..fe695d4fdba 100644 --- a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1beta1/source.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/security_center_client.go b/securitycenter/apiv1p1beta1/security_center_client.go index 4b1d70295d6..b188a5a188b 100644 --- a/securitycenter/apiv1p1beta1/security_center_client.go +++ b/securitycenter/apiv1p1beta1/security_center_client.go @@ -29,6 +29,7 @@ import ( "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" securitycenterpb "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb" + emptypb "github.com/golang/protobuf/ptypes/empty" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" @@ -43,7 +44,6 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) var newClientHook clientHook diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go index ada70e9a31e..0011d38421f 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/asset.proto package securitycenterpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -60,14 +60,14 @@ type Asset struct { SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"` // Resource managed properties. These properties are managed and defined by // the Google Cloud resource and cannot be modified by the user. - ResourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ResourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // User specified security marks. These marks are entirely managed by the user // and come from the SecurityMarks resource that belongs to the asset. SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"` // The time at which the asset was created in Security Command Center. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time at which the asset was last updated or added in Cloud SCC. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Cloud IAM Policy information associated with the Google Cloud resource // described by the Security Command Center asset. This information is managed // and defined by the Google Cloud resource and cannot be modified by the @@ -127,7 +127,7 @@ func (x *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties { return nil } -func (x *Asset) GetResourceProperties() map[string]*structpb.Value { +func (x *Asset) GetResourceProperties() map[string]*_struct.Value { if x != nil { return x.ResourceProperties } @@ -141,14 +141,14 @@ func (x *Asset) GetSecurityMarks() *SecurityMarks { return nil } -func (x *Asset) GetCreateTime() *timestamppb.Timestamp { +func (x *Asset) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Asset) GetUpdateTime() *timestamppb.Timestamp { +func (x *Asset) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -501,9 +501,9 @@ var file_google_cloud_securitycenter_v1p1beta1_asset_proto_goTypes = []interface (*Asset_IamPolicy)(nil), // 2: google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy nil, // 3: google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry (*SecurityMarks)(nil), // 4: google.cloud.securitycenter.v1p1beta1.SecurityMarks - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp (*Folder)(nil), // 6: google.cloud.securitycenter.v1p1beta1.Folder - (*structpb.Value)(nil), // 7: google.protobuf.Value + (*_struct.Value)(nil), // 7: google.protobuf.Value } var file_google_cloud_securitycenter_v1p1beta1_asset_proto_depIdxs = []int32{ 1, // 0: google.cloud.securitycenter.v1p1beta1.Asset.security_center_properties:type_name -> google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go index 063c9c888b0..58a753322b4 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/finding.proto package securitycenterpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -197,7 +197,7 @@ type Finding struct { // that writes the finding. The key names in the source_properties map must be // between 1 and 255 characters, and must start with a letter and contain // alphanumeric characters or underscores only. - SourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. User specified security marks. These marks are entirely // managed by the user and come from the SecurityMarks resource that belongs // to the finding. @@ -208,9 +208,9 @@ type Finding struct { // accuracy is determined by the detector. If the finding were to be resolved // afterward, this time would reflect when the finding was resolved. Must not // be set to a value greater than the current timestamp. - EventTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + EventTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // The time at which the finding was created in Security Command Center. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The severity of the finding. This field is managed by the source that // writes the finding. Severity Finding_Severity `protobuf:"varint,13,opt,name=severity,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_Severity" json:"severity,omitempty"` @@ -297,7 +297,7 @@ func (x *Finding) GetExternalUri() string { return "" } -func (x *Finding) GetSourceProperties() map[string]*structpb.Value { +func (x *Finding) GetSourceProperties() map[string]*_struct.Value { if x != nil { return x.SourceProperties } @@ -311,14 +311,14 @@ func (x *Finding) GetSecurityMarks() *SecurityMarks { return nil } -func (x *Finding) GetEventTime() *timestamppb.Timestamp { +func (x *Finding) GetEventTime() *timestamp.Timestamp { if x != nil { return x.EventTime } return nil } -func (x *Finding) GetCreateTime() *timestamppb.Timestamp { +func (x *Finding) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -465,13 +465,13 @@ func file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescGZIP() []by var file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_google_cloud_securitycenter_v1p1beta1_finding_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_securitycenter_v1p1beta1_finding_proto_goTypes = []interface{}{ - (Finding_State)(0), // 0: google.cloud.securitycenter.v1p1beta1.Finding.State - (Finding_Severity)(0), // 1: google.cloud.securitycenter.v1p1beta1.Finding.Severity - (*Finding)(nil), // 2: google.cloud.securitycenter.v1p1beta1.Finding - nil, // 3: google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry - (*SecurityMarks)(nil), // 4: google.cloud.securitycenter.v1p1beta1.SecurityMarks - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp - (*structpb.Value)(nil), // 6: google.protobuf.Value + (Finding_State)(0), // 0: google.cloud.securitycenter.v1p1beta1.Finding.State + (Finding_Severity)(0), // 1: google.cloud.securitycenter.v1p1beta1.Finding.Severity + (*Finding)(nil), // 2: google.cloud.securitycenter.v1p1beta1.Finding + nil, // 3: google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry + (*SecurityMarks)(nil), // 4: google.cloud.securitycenter.v1p1beta1.SecurityMarks + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*_struct.Value)(nil), // 6: google.protobuf.Value } var file_google_cloud_securitycenter_v1p1beta1_finding_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.v1p1beta1.Finding.state:type_name -> google.cloud.securitycenter.v1p1beta1.Finding.State diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go index 26ed514b6a3..1856b381ca3 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/folder.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go index c50d3faee81..66b566f2786 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/notification_config.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go index 82e23187a55..dc58682c82f 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/notification_message.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go index aa7b268cab9..8a5a1dbf931 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/organization_settings.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go index cb275f36d85..41adabf58f5 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/resource.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go index 7fdc25590fc..c7b304a9c49 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto package securitycenterpb @@ -24,9 +24,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -103,7 +103,7 @@ type RunAssetDiscoveryResponse struct { // The state of an asset discovery run. State RunAssetDiscoveryResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse_State" json:"state,omitempty"` // The duration between asset discovery run start and end - Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` } func (x *RunAssetDiscoveryResponse) Reset() { @@ -145,7 +145,7 @@ func (x *RunAssetDiscoveryResponse) GetState() RunAssetDiscoveryResponse_State { return RunAssetDiscoveryResponse_STATE_UNSPECIFIED } -func (x *RunAssetDiscoveryResponse) GetDuration() *durationpb.Duration { +func (x *RunAssetDiscoveryResponse) GetDuration() *duration.Duration { if x != nil { return x.Duration } @@ -216,7 +216,7 @@ var file_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_prot var file_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto_goTypes = []interface{}{ (RunAssetDiscoveryResponse_State)(0), // 0: google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State (*RunAssetDiscoveryResponse)(nil), // 1: google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse - (*durationpb.Duration)(nil), // 2: google.protobuf.Duration + (*duration.Duration)(nil), // 2: google.protobuf.Duration } var file_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.state:type_name -> google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go index 4b51c96d738..2b211d599c1 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/security_marks.proto package securitycenterpb diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go index 695e6e68421..ff793ad8981 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto package securitycenterpb @@ -25,19 +25,19 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + empty "github.com/golang/protobuf/ptypes/empty" + _struct "github.com/golang/protobuf/ptypes/struct" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -699,12 +699,12 @@ type GroupAssetsRequest struct { // // If this field is set then `state_change` must be a specified field in // `group_by`. - CompareDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + CompareDuration *duration.Duration `protobuf:"bytes,4,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` // Time used as a reference point when filtering assets. The filter is limited // to assets existing at the supplied time and their values are those at that // specific time. Absence of this field will default to the API's version of // NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // The value returned by the last `GroupAssetsResponse`; indicates // that this is a continuation of a prior `GroupAssets` call, and that the // system should return the next page of data. @@ -767,14 +767,14 @@ func (x *GroupAssetsRequest) GetGroupBy() string { return "" } -func (x *GroupAssetsRequest) GetCompareDuration() *durationpb.Duration { +func (x *GroupAssetsRequest) GetCompareDuration() *duration.Duration { if x != nil { return x.CompareDuration } return nil } -func (x *GroupAssetsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *GroupAssetsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -806,7 +806,7 @@ type GroupAssetsResponse struct { // of times those specific property/values appear. GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"` // Time used for executing the groupBy request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -853,7 +853,7 @@ func (x *GroupAssetsResponse) GetGroupByResults() []*GroupResult { return nil } -func (x *GroupAssetsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *GroupAssetsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -959,7 +959,7 @@ type GroupFindingsRequest struct { // limited to findings existing at the supplied time and their values are // those at that specific time. Absence of this field will default to the // API's version of NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // When compare_duration is set, the GroupResult's "state_change" attribute is // updated to indicate whether the finding had its state changed, the // finding's state remained unchanged, or if the finding was added during the @@ -992,7 +992,7 @@ type GroupFindingsRequest struct { // // If this field is set then `state_change` must be a specified field in // `group_by`. - CompareDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` // The value returned by the last `GroupFindingsResponse`; indicates // that this is a continuation of a prior `GroupFindings` call, and // that the system should return the next page of data. @@ -1055,14 +1055,14 @@ func (x *GroupFindingsRequest) GetGroupBy() string { return "" } -func (x *GroupFindingsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *GroupFindingsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } return nil } -func (x *GroupFindingsRequest) GetCompareDuration() *durationpb.Duration { +func (x *GroupFindingsRequest) GetCompareDuration() *duration.Duration { if x != nil { return x.CompareDuration } @@ -1094,7 +1094,7 @@ type GroupFindingsResponse struct { // of times those specific property/values appear. GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"` // Time used for executing the groupBy request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -1141,7 +1141,7 @@ func (x *GroupFindingsResponse) GetGroupByResults() []*GroupResult { return nil } -func (x *GroupFindingsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *GroupFindingsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -1169,7 +1169,7 @@ type GroupResult struct { unknownFields protoimpl.UnknownFields // Properties matching the groupBy fields in the request. - Properties map[string]*structpb.Value `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Properties map[string]*_struct.Value `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Total count of resources for the given properties. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` } @@ -1206,7 +1206,7 @@ func (*GroupResult) Descriptor() ([]byte, []int) { return file_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto_rawDescGZIP(), []int{11} } -func (x *GroupResult) GetProperties() map[string]*structpb.Value { +func (x *GroupResult) GetProperties() map[string]*_struct.Value { if x != nil { return x.Properties } @@ -1580,7 +1580,7 @@ type ListAssetsRequest struct { // to assets existing at the supplied time and their values are those at that // specific time. Absence of this field will default to the API's version of // NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // When compare_duration is set, the ListAssetsResult's "state_change" // attribute is updated to indicate whether the asset was added, removed, or // remained present during the compare_duration period of time that precedes @@ -1605,11 +1605,11 @@ type ListAssetsRequest struct { // If compare_duration is not specified, then the only possible state_change // is "UNUSED", which will be the state_change set for all assets present at // read_time. - CompareDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` // A field mask to specify the ListAssetsResult fields to be listed in the // response. // An empty field mask will list all fields. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // The value returned by the last `ListAssetsResponse`; indicates // that this is a continuation of a prior `ListAssets` call, and // that the system should return the next page of data. @@ -1672,21 +1672,21 @@ func (x *ListAssetsRequest) GetOrderBy() string { return "" } -func (x *ListAssetsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *ListAssetsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } return nil } -func (x *ListAssetsRequest) GetCompareDuration() *durationpb.Duration { +func (x *ListAssetsRequest) GetCompareDuration() *duration.Duration { if x != nil { return x.CompareDuration } return nil } -func (x *ListAssetsRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ListAssetsRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -1716,7 +1716,7 @@ type ListAssetsResponse struct { // Assets matching the list request. ListAssetsResults []*ListAssetsResponse_ListAssetsResult `protobuf:"bytes,1,rep,name=list_assets_results,json=listAssetsResults,proto3" json:"list_assets_results,omitempty"` // Time used for executing the list request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -1763,7 +1763,7 @@ func (x *ListAssetsResponse) GetListAssetsResults() []*ListAssetsResponse_ListAs return nil } -func (x *ListAssetsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *ListAssetsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -1872,7 +1872,7 @@ type ListFindingsRequest struct { // limited to findings existing at the supplied time and their values are // those at that specific time. Absence of this field will default to the // API's version of NOW. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // When compare_duration is set, the ListFindingsResult's "state_change" // attribute is updated to indicate whether the finding had its state changed, // the finding's state remained unchanged, or if the finding was added in any @@ -1903,10 +1903,10 @@ type ListFindingsRequest struct { // If compare_duration is not specified, then the only possible state_change // is "UNUSED", which will be the state_change set for all findings present at // read_time. - CompareDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` // A field mask to specify the Finding fields to be listed in the response. // An empty field mask will list all fields. - FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // The value returned by the last `ListFindingsResponse`; indicates // that this is a continuation of a prior `ListFindings` call, and // that the system should return the next page of data. @@ -1969,21 +1969,21 @@ func (x *ListFindingsRequest) GetOrderBy() string { return "" } -func (x *ListFindingsRequest) GetReadTime() *timestamppb.Timestamp { +func (x *ListFindingsRequest) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } return nil } -func (x *ListFindingsRequest) GetCompareDuration() *durationpb.Duration { +func (x *ListFindingsRequest) GetCompareDuration() *duration.Duration { if x != nil { return x.CompareDuration } return nil } -func (x *ListFindingsRequest) GetFieldMask() *fieldmaskpb.FieldMask { +func (x *ListFindingsRequest) GetFieldMask() *field_mask.FieldMask { if x != nil { return x.FieldMask } @@ -2013,7 +2013,7 @@ type ListFindingsResponse struct { // Findings matching the list request. ListFindingsResults []*ListFindingsResponse_ListFindingsResult `protobuf:"bytes,1,rep,name=list_findings_results,json=listFindingsResults,proto3" json:"list_findings_results,omitempty"` // Time used for executing the list request. - ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -2060,7 +2060,7 @@ func (x *ListFindingsResponse) GetListFindingsResults() []*ListFindingsResponse_ return nil } -func (x *ListFindingsResponse) GetReadTime() *timestamppb.Timestamp { +func (x *ListFindingsResponse) GetReadTime() *timestamp.Timestamp { if x != nil { return x.ReadTime } @@ -2095,7 +2095,7 @@ type SetFindingStateRequest struct { // Required. The desired State of the finding. State Finding_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_State" json:"state,omitempty"` // Required. The time at which the updated state takes effect. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` } func (x *SetFindingStateRequest) Reset() { @@ -2144,7 +2144,7 @@ func (x *SetFindingStateRequest) GetState() Finding_State { return Finding_STATE_UNSPECIFIED } -func (x *SetFindingStateRequest) GetStartTime() *timestamppb.Timestamp { +func (x *SetFindingStateRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -2221,7 +2221,7 @@ type UpdateFindingRequest struct { // fields and replacing source_properties. Individual source_properties can // be added/updated by using "source_properties." in the field // mask. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateFindingRequest) Reset() { @@ -2263,7 +2263,7 @@ func (x *UpdateFindingRequest) GetFinding() *Finding { return nil } -func (x *UpdateFindingRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateFindingRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2281,7 +2281,7 @@ type UpdateNotificationConfigRequest struct { // The FieldMask to use when updating the notification config. // // If empty all mutable fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateNotificationConfigRequest) Reset() { @@ -2323,7 +2323,7 @@ func (x *UpdateNotificationConfigRequest) GetNotificationConfig() *NotificationC return nil } -func (x *UpdateNotificationConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateNotificationConfigRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2341,7 +2341,7 @@ type UpdateOrganizationSettingsRequest struct { // The FieldMask to use when updating the settings resource. // // If empty all mutable fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateOrganizationSettingsRequest) Reset() { @@ -2383,7 +2383,7 @@ func (x *UpdateOrganizationSettingsRequest) GetOrganizationSettings() *Organizat return nil } -func (x *UpdateOrganizationSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateOrganizationSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2401,7 +2401,7 @@ type UpdateSourceRequest struct { // The FieldMask to use when updating the source resource. // // If empty all mutable fields will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSourceRequest) Reset() { @@ -2443,7 +2443,7 @@ func (x *UpdateSourceRequest) GetSource() *Source { return nil } -func (x *UpdateSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSourceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -2463,11 +2463,11 @@ type UpdateSecurityMarksRequest struct { // The field mask must not contain duplicate fields. // If empty or set to "marks", all marks will be replaced. Individual // marks can be updated using "marks.". - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The time at which the updated SecurityMarks take effect. // If not set uses current server time. Updates will be applied to the // SecurityMarks that are active immediately preceding this time. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` } func (x *UpdateSecurityMarksRequest) Reset() { @@ -2509,14 +2509,14 @@ func (x *UpdateSecurityMarksRequest) GetSecurityMarks() *SecurityMarks { return nil } -func (x *UpdateSecurityMarksRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSecurityMarksRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } return nil } -func (x *UpdateSecurityMarksRequest) GetStartTime() *timestamppb.Timestamp { +func (x *UpdateSecurityMarksRequest) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } @@ -3723,19 +3723,19 @@ var file_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto_goTy (*Finding)(nil), // 33: google.cloud.securitycenter.v1p1beta1.Finding (*NotificationConfig)(nil), // 34: google.cloud.securitycenter.v1p1beta1.NotificationConfig (*Source)(nil), // 35: google.cloud.securitycenter.v1p1beta1.Source - (*durationpb.Duration)(nil), // 36: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 38: google.protobuf.FieldMask + (*duration.Duration)(nil), // 36: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 37: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 38: google.protobuf.FieldMask (Finding_State)(0), // 39: google.cloud.securitycenter.v1p1beta1.Finding.State (*OrganizationSettings)(nil), // 40: google.cloud.securitycenter.v1p1beta1.OrganizationSettings (*SecurityMarks)(nil), // 41: google.cloud.securitycenter.v1p1beta1.SecurityMarks - (*structpb.Value)(nil), // 42: google.protobuf.Value + (*_struct.Value)(nil), // 42: google.protobuf.Value (*Asset)(nil), // 43: google.cloud.securitycenter.v1p1beta1.Asset (*Folder)(nil), // 44: google.cloud.securitycenter.v1p1beta1.Folder (*v1.GetIamPolicyRequest)(nil), // 45: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 46: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 47: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 48: google.protobuf.Empty + (*empty.Empty)(nil), // 48: google.protobuf.Empty (*v1.Policy)(nil), // 49: google.iam.v1.Policy (*longrunning.Operation)(nil), // 50: google.longrunning.Operation (*v1.TestIamPermissionsResponse)(nil), // 51: google.iam.v1.TestIamPermissionsResponse @@ -4255,7 +4255,7 @@ type SecurityCenterClient interface { // Creates a notification config. CreateNotificationConfig(ctx context.Context, in *CreateNotificationConfigRequest, opts ...grpc.CallOption) (*NotificationConfig, error) // Deletes a notification config. - DeleteNotificationConfig(ctx context.Context, in *DeleteNotificationConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteNotificationConfig(ctx context.Context, in *DeleteNotificationConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets the access control policy on the specified Source. GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Gets a notification config. @@ -4348,8 +4348,8 @@ func (c *securityCenterClient) CreateNotificationConfig(ctx context.Context, in return out, nil } -func (c *securityCenterClient) DeleteNotificationConfig(ctx context.Context, in *DeleteNotificationConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *securityCenterClient) DeleteNotificationConfig(ctx context.Context, in *DeleteNotificationConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1p1beta1.SecurityCenter/DeleteNotificationConfig", in, out, opts...) if err != nil { return nil, err @@ -4538,7 +4538,7 @@ type SecurityCenterServer interface { // Creates a notification config. CreateNotificationConfig(context.Context, *CreateNotificationConfigRequest) (*NotificationConfig, error) // Deletes a notification config. - DeleteNotificationConfig(context.Context, *DeleteNotificationConfigRequest) (*emptypb.Empty, error) + DeleteNotificationConfig(context.Context, *DeleteNotificationConfigRequest) (*empty.Empty, error) // Gets the access control policy on the specified Source. GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) // Gets a notification config. @@ -4609,7 +4609,7 @@ func (*UnimplementedSecurityCenterServer) CreateFinding(context.Context, *Create func (*UnimplementedSecurityCenterServer) CreateNotificationConfig(context.Context, *CreateNotificationConfigRequest) (*NotificationConfig, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateNotificationConfig not implemented") } -func (*UnimplementedSecurityCenterServer) DeleteNotificationConfig(context.Context, *DeleteNotificationConfigRequest) (*emptypb.Empty, error) { +func (*UnimplementedSecurityCenterServer) DeleteNotificationConfig(context.Context, *DeleteNotificationConfigRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteNotificationConfig not implemented") } func (*UnimplementedSecurityCenterServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) { diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go index 765abb89e32..ac9751c9a67 100644 --- a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/v1p1beta1/source.proto package securitycenterpb diff --git a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go index 7d9e1e990da..0a1aee33a14 100644 --- a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/settings/v1beta1/billing_settings.proto package settingspb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -159,12 +159,12 @@ type BillingSettings struct { BillingType BillingType `protobuf:"varint,2,opt,name=billing_type,json=billingType,proto3,enum=google.cloud.securitycenter.settings.v1beta1.BillingType" json:"billing_type,omitempty"` // Output only. The absolute point in time when the subscription became effective. // Can be compared to expire_time value to determine full contract duration - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The absolute point in time when the subscription expires. // // If this field is populated and billing_tier is STANDARD, this is // indication of a point in the _past_ when a PREMIUM access ended. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` } func (x *BillingSettings) Reset() { @@ -213,14 +213,14 @@ func (x *BillingSettings) GetBillingType() BillingType { return BillingType_BILLING_TYPE_UNSPECIFIED } -func (x *BillingSettings) GetStartTime() *timestamppb.Timestamp { +func (x *BillingSettings) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *BillingSettings) GetExpireTime() *timestamppb.Timestamp { +func (x *BillingSettings) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -311,10 +311,10 @@ func file_google_cloud_securitycenter_settings_v1beta1_billing_settings_proto_ra var file_google_cloud_securitycenter_settings_v1beta1_billing_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_google_cloud_securitycenter_settings_v1beta1_billing_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_google_cloud_securitycenter_settings_v1beta1_billing_settings_proto_goTypes = []interface{}{ - (BillingTier)(0), // 0: google.cloud.securitycenter.settings.v1beta1.BillingTier - (BillingType)(0), // 1: google.cloud.securitycenter.settings.v1beta1.BillingType - (*BillingSettings)(nil), // 2: google.cloud.securitycenter.settings.v1beta1.BillingSettings - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (BillingTier)(0), // 0: google.cloud.securitycenter.settings.v1beta1.BillingTier + (BillingType)(0), // 1: google.cloud.securitycenter.settings.v1beta1.BillingType + (*BillingSettings)(nil), // 2: google.cloud.securitycenter.settings.v1beta1.BillingSettings + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_securitycenter_settings_v1beta1_billing_settings_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.settings.v1beta1.BillingSettings.billing_tier:type_name -> google.cloud.securitycenter.settings.v1beta1.BillingTier diff --git a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go index 4430239f7d6..6f6b643c42f 100644 --- a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/settings/v1beta1/component_settings.proto package settingspb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -124,7 +124,7 @@ type ComponentSettings struct { // on updates then the existing metadata will be blindly overwritten. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` // Output only. The time these settings were last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Component specific settings. This must match the component value. // // Types that are assignable to SpecificSettings: @@ -203,7 +203,7 @@ func (x *ComponentSettings) GetEtag() string { return "" } -func (x *ComponentSettings) GetUpdateTime() *timestamppb.Timestamp { +func (x *ComponentSettings) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -847,7 +847,7 @@ var file_google_cloud_securitycenter_settings_v1beta1_component_settings_proto_g nil, // 7: google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettingsEntry (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings)(nil), // 8: google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings)(nil), // 9: google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp } var file_google_cloud_securitycenter_settings_v1beta1_component_settings_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.settings.v1beta1.ComponentSettings.state:type_name -> google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState diff --git a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go index 323c51dce03..9ac31f067f4 100644 --- a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/settings/v1beta1/detector.proto package settingspb diff --git a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go index 6f4b29407e4..c0810c2b52f 100644 --- a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/settings/v1beta1/securitycenter_settings_service.proto package settingspb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -231,7 +231,7 @@ type UpdateSettingsRequest struct { // - `projects/{project}/zones/{zone}/clusters/{cluster}/settings` Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // The list of fields to be updated on the settings. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSettingsRequest) Reset() { @@ -273,7 +273,7 @@ func (x *UpdateSettingsRequest) GetSettings() *Settings { return nil } -func (x *UpdateSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -706,7 +706,7 @@ type UpdateComponentSettingsRequest struct { // - `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings` ComponentSettings *ComponentSettings `protobuf:"bytes,1,opt,name=component_settings,json=componentSettings,proto3" json:"component_settings,omitempty"` // The list of fields to be updated on the component settings resource. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateComponentSettingsRequest) Reset() { @@ -748,7 +748,7 @@ func (x *UpdateComponentSettingsRequest) GetComponentSettings() *ComponentSettin return nil } -func (x *UpdateComponentSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateComponentSettingsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1824,10 +1824,10 @@ var file_google_cloud_securitycenter_settings_v1beta1_securitycenter_settings_se (*ListComponentsRequest)(nil), // 16: google.cloud.securitycenter.settings.v1beta1.ListComponentsRequest (*ListComponentsResponse)(nil), // 17: google.cloud.securitycenter.settings.v1beta1.ListComponentsResponse (*Settings)(nil), // 18: google.cloud.securitycenter.settings.v1beta1.Settings - (*fieldmaskpb.FieldMask)(nil), // 19: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 19: google.protobuf.FieldMask (*ComponentSettings)(nil), // 20: google.cloud.securitycenter.settings.v1beta1.ComponentSettings (*Detector)(nil), // 21: google.cloud.securitycenter.settings.v1beta1.Detector - (*emptypb.Empty)(nil), // 22: google.protobuf.Empty + (*empty.Empty)(nil), // 22: google.protobuf.Empty } var file_google_cloud_securitycenter_settings_v1beta1_securitycenter_settings_service_proto_depIdxs = []int32{ 18, // 0: google.cloud.securitycenter.settings.v1beta1.UpdateSettingsRequest.settings:type_name -> google.cloud.securitycenter.settings.v1beta1.Settings @@ -2156,7 +2156,7 @@ type SecurityCenterSettingsServiceClient interface { // // Using Reset on organization will remove the override that was set and // result in default settings being used. - ResetSettings(ctx context.Context, in *ResetSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResetSettings(ctx context.Context, in *ResetSettingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets a list of settings. BatchGetSettings(ctx context.Context, in *BatchGetSettingsRequest, opts ...grpc.CallOption) (*BatchGetSettingsResponse, error) // CalculateEffectiveSettings looks up all of the Security Center @@ -2182,7 +2182,7 @@ type SecurityCenterSettingsServiceClient interface { // organization, folder and project levels. Using Reset for a folder or // project will remove the override that was set and result in the // organization-level settings being used. - ResetComponentSettings(ctx context.Context, in *ResetComponentSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResetComponentSettings(ctx context.Context, in *ResetComponentSettingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets the Effective Component Settings. CalculateEffectiveComponentSettings(ctx context.Context, in *CalculateEffectiveComponentSettingsRequest, opts ...grpc.CallOption) (*ComponentSettings, error) // Retrieves an unordered list of available detectors. @@ -2226,8 +2226,8 @@ func (c *securityCenterSettingsServiceClient) UpdateSettings(ctx context.Context return out, nil } -func (c *securityCenterSettingsServiceClient) ResetSettings(ctx context.Context, in *ResetSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *securityCenterSettingsServiceClient) ResetSettings(ctx context.Context, in *ResetSettingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService/ResetSettings", in, out, opts...) if err != nil { return nil, err @@ -2280,8 +2280,8 @@ func (c *securityCenterSettingsServiceClient) UpdateComponentSettings(ctx contex return out, nil } -func (c *securityCenterSettingsServiceClient) ResetComponentSettings(ctx context.Context, in *ResetComponentSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *securityCenterSettingsServiceClient) ResetComponentSettings(ctx context.Context, in *ResetComponentSettingsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService/ResetComponentSettings", in, out, opts...) if err != nil { return nil, err @@ -2343,7 +2343,7 @@ type SecurityCenterSettingsServiceServer interface { // // Using Reset on organization will remove the override that was set and // result in default settings being used. - ResetSettings(context.Context, *ResetSettingsRequest) (*emptypb.Empty, error) + ResetSettings(context.Context, *ResetSettingsRequest) (*empty.Empty, error) // Gets a list of settings. BatchGetSettings(context.Context, *BatchGetSettingsRequest) (*BatchGetSettingsResponse, error) // CalculateEffectiveSettings looks up all of the Security Center @@ -2369,7 +2369,7 @@ type SecurityCenterSettingsServiceServer interface { // organization, folder and project levels. Using Reset for a folder or // project will remove the override that was set and result in the // organization-level settings being used. - ResetComponentSettings(context.Context, *ResetComponentSettingsRequest) (*emptypb.Empty, error) + ResetComponentSettings(context.Context, *ResetComponentSettingsRequest) (*empty.Empty, error) // Gets the Effective Component Settings. CalculateEffectiveComponentSettings(context.Context, *CalculateEffectiveComponentSettingsRequest) (*ComponentSettings, error) // Retrieves an unordered list of available detectors. @@ -2391,7 +2391,7 @@ func (*UnimplementedSecurityCenterSettingsServiceServer) GetSettings(context.Con func (*UnimplementedSecurityCenterSettingsServiceServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*Settings, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSettings not implemented") } -func (*UnimplementedSecurityCenterSettingsServiceServer) ResetSettings(context.Context, *ResetSettingsRequest) (*emptypb.Empty, error) { +func (*UnimplementedSecurityCenterSettingsServiceServer) ResetSettings(context.Context, *ResetSettingsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetSettings not implemented") } func (*UnimplementedSecurityCenterSettingsServiceServer) BatchGetSettings(context.Context, *BatchGetSettingsRequest) (*BatchGetSettingsResponse, error) { @@ -2409,7 +2409,7 @@ func (*UnimplementedSecurityCenterSettingsServiceServer) GetComponentSettings(co func (*UnimplementedSecurityCenterSettingsServiceServer) UpdateComponentSettings(context.Context, *UpdateComponentSettingsRequest) (*ComponentSettings, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateComponentSettings not implemented") } -func (*UnimplementedSecurityCenterSettingsServiceServer) ResetComponentSettings(context.Context, *ResetComponentSettingsRequest) (*emptypb.Empty, error) { +func (*UnimplementedSecurityCenterSettingsServiceServer) ResetComponentSettings(context.Context, *ResetComponentSettingsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetComponentSettings not implemented") } func (*UnimplementedSecurityCenterSettingsServiceServer) CalculateEffectiveComponentSettings(context.Context, *CalculateEffectiveComponentSettingsRequest) (*ComponentSettings, error) { diff --git a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go index 97e6ace4ecd..4a5cf4a8d7f 100644 --- a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/settings/v1beta1/settings.proto package settingspb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -146,7 +146,7 @@ type Settings struct { // on updates then the existing metadata will be blindly overwritten. Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"` // Output only. The time these settings were last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Settings) Reset() { @@ -237,7 +237,7 @@ func (x *Settings) GetEtag() string { return "" } -func (x *Settings) GetUpdateTime() *timestamppb.Timestamp { +func (x *Settings) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -469,7 +469,7 @@ var file_google_cloud_securitycenter_settings_v1beta1_settings_proto_goTypes = [ nil, // 4: google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettingsEntry (*BillingSettings)(nil), // 5: google.cloud.securitycenter.settings.v1beta1.BillingSettings (*SinkSettings)(nil), // 6: google.cloud.securitycenter.settings.v1beta1.SinkSettings - (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 7: google.protobuf.Timestamp (ComponentEnablementState)(0), // 8: google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState (*ComponentSettings)(nil), // 9: google.cloud.securitycenter.settings.v1beta1.ComponentSettings } diff --git a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go index d192a9e45c1..dcb52098bea 100644 --- a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/securitycenter/settings/v1beta1/sink_settings.proto package settingspb diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go index df90b746446..aab68b3552b 100644 --- a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/servicedirectory/v1beta1/endpoint.proto package servicedirectorypb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -94,9 +94,9 @@ type Endpoint struct { // or permissions). Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"` // Output only. The timestamp when the endpoint was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the endpoint was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Endpoint) Reset() { @@ -166,14 +166,14 @@ func (x *Endpoint) GetNetwork() string { return "" } -func (x *Endpoint) GetCreateTime() *timestamppb.Timestamp { +func (x *Endpoint) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Endpoint) GetUpdateTime() *timestamppb.Timestamp { +func (x *Endpoint) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -273,9 +273,9 @@ func file_google_cloud_servicedirectory_v1beta1_endpoint_proto_rawDescGZIP() []b var file_google_cloud_servicedirectory_v1beta1_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_servicedirectory_v1beta1_endpoint_proto_goTypes = []interface{}{ - (*Endpoint)(nil), // 0: google.cloud.servicedirectory.v1beta1.Endpoint - nil, // 1: google.cloud.servicedirectory.v1beta1.Endpoint.MetadataEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*Endpoint)(nil), // 0: google.cloud.servicedirectory.v1beta1.Endpoint + nil, // 1: google.cloud.servicedirectory.v1beta1.Endpoint.MetadataEntry + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_servicedirectory_v1beta1_endpoint_proto_depIdxs = []int32{ 1, // 0: google.cloud.servicedirectory.v1beta1.Endpoint.metadata:type_name -> google.cloud.servicedirectory.v1beta1.Endpoint.MetadataEntry diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go index 462b3f9aa46..ba76fc28dc3 100644 --- a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/servicedirectory/v1beta1/lookup_service.proto package servicedirectorypb diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go index 64a1b3201f8..271b0d8636e 100644 --- a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/servicedirectory/v1beta1/namespace.proto package servicedirectorypb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -53,9 +53,9 @@ type Namespace struct { // keys and values can be no longer than 63 characters. Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The timestamp when the namespace was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the namespace was last updated. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Namespace) Reset() { @@ -104,14 +104,14 @@ func (x *Namespace) GetLabels() map[string]string { return nil } -func (x *Namespace) GetCreateTime() *timestamppb.Timestamp { +func (x *Namespace) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Namespace) GetUpdateTime() *timestamppb.Timestamp { +func (x *Namespace) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -194,9 +194,9 @@ func file_google_cloud_servicedirectory_v1beta1_namespace_proto_rawDescGZIP() [] var file_google_cloud_servicedirectory_v1beta1_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_servicedirectory_v1beta1_namespace_proto_goTypes = []interface{}{ - (*Namespace)(nil), // 0: google.cloud.servicedirectory.v1beta1.Namespace - nil, // 1: google.cloud.servicedirectory.v1beta1.Namespace.LabelsEntry - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*Namespace)(nil), // 0: google.cloud.servicedirectory.v1beta1.Namespace + nil, // 1: google.cloud.servicedirectory.v1beta1.Namespace.LabelsEntry + (*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp } var file_google_cloud_servicedirectory_v1beta1_namespace_proto_depIdxs = []int32{ 1, // 0: google.cloud.servicedirectory.v1beta1.Namespace.labels:type_name -> google.cloud.servicedirectory.v1beta1.Namespace.LabelsEntry diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go index 848f5f4de5a..fe88086ed31 100644 --- a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/servicedirectory/v1beta1/registration_service.proto package servicedirectorypb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -355,7 +355,7 @@ type UpdateNamespaceRequest struct { // Required. The updated namespace. Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Required. List of fields to be updated in this request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateNamespaceRequest) Reset() { @@ -397,7 +397,7 @@ func (x *UpdateNamespaceRequest) GetNamespace() *Namespace { return nil } -func (x *UpdateNamespaceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateNamespaceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -772,7 +772,7 @@ type UpdateServiceRequest struct { // Required. The updated service. Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // Required. List of fields to be updated in this request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateServiceRequest) Reset() { @@ -814,7 +814,7 @@ func (x *UpdateServiceRequest) GetService() *Service { return nil } -func (x *UpdateServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1192,7 +1192,7 @@ type UpdateEndpointRequest struct { // Required. The updated endpoint. Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Required. List of fields to be updated in this request. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateEndpointRequest) Reset() { @@ -1234,7 +1234,7 @@ func (x *UpdateEndpointRequest) GetEndpoint() *Endpoint { return nil } -func (x *UpdateEndpointRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateEndpointRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1818,13 +1818,13 @@ var file_google_cloud_servicedirectory_v1beta1_registration_service_proto_goType (*UpdateEndpointRequest)(nil), // 16: google.cloud.servicedirectory.v1beta1.UpdateEndpointRequest (*DeleteEndpointRequest)(nil), // 17: google.cloud.servicedirectory.v1beta1.DeleteEndpointRequest (*Namespace)(nil), // 18: google.cloud.servicedirectory.v1beta1.Namespace - (*fieldmaskpb.FieldMask)(nil), // 19: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 19: google.protobuf.FieldMask (*Service)(nil), // 20: google.cloud.servicedirectory.v1beta1.Service (*Endpoint)(nil), // 21: google.cloud.servicedirectory.v1beta1.Endpoint (*v1.GetIamPolicyRequest)(nil), // 22: google.iam.v1.GetIamPolicyRequest (*v1.SetIamPolicyRequest)(nil), // 23: google.iam.v1.SetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 24: google.iam.v1.TestIamPermissionsRequest - (*emptypb.Empty)(nil), // 25: google.protobuf.Empty + (*empty.Empty)(nil), // 25: google.protobuf.Empty (*v1.Policy)(nil), // 26: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 27: google.iam.v1.TestIamPermissionsResponse } @@ -2152,7 +2152,7 @@ type RegistrationServiceClient interface { UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) // Deletes a namespace. This also deletes all services and endpoints in // the namespace. - DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a service, and returns the new service. CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error) // Lists all services belonging to a namespace. @@ -2163,7 +2163,7 @@ type RegistrationServiceClient interface { UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*Service, error) // Deletes a service. This also deletes all endpoints associated with // the service. - DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates an endpoint, and returns the new endpoint. CreateEndpoint(ctx context.Context, in *CreateEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error) // Lists all endpoints. @@ -2173,7 +2173,7 @@ type RegistrationServiceClient interface { // Updates an endpoint. UpdateEndpoint(ctx context.Context, in *UpdateEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error) // Deletes an endpoint. - DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets the IAM Policy for a resource (namespace or service only). GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Sets the IAM Policy for a resource (namespace or service only). @@ -2226,8 +2226,8 @@ func (c *registrationServiceClient) UpdateNamespace(ctx context.Context, in *Upd return out, nil } -func (c *registrationServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *registrationServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.servicedirectory.v1beta1.RegistrationService/DeleteNamespace", in, out, opts...) if err != nil { return nil, err @@ -2271,8 +2271,8 @@ func (c *registrationServiceClient) UpdateService(ctx context.Context, in *Updat return out, nil } -func (c *registrationServiceClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *registrationServiceClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.servicedirectory.v1beta1.RegistrationService/DeleteService", in, out, opts...) if err != nil { return nil, err @@ -2316,8 +2316,8 @@ func (c *registrationServiceClient) UpdateEndpoint(ctx context.Context, in *Upda return out, nil } -func (c *registrationServiceClient) DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *registrationServiceClient) DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.servicedirectory.v1beta1.RegistrationService/DeleteEndpoint", in, out, opts...) if err != nil { return nil, err @@ -2364,7 +2364,7 @@ type RegistrationServiceServer interface { UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error) // Deletes a namespace. This also deletes all services and endpoints in // the namespace. - DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error) + DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*empty.Empty, error) // Creates a service, and returns the new service. CreateService(context.Context, *CreateServiceRequest) (*Service, error) // Lists all services belonging to a namespace. @@ -2375,7 +2375,7 @@ type RegistrationServiceServer interface { UpdateService(context.Context, *UpdateServiceRequest) (*Service, error) // Deletes a service. This also deletes all endpoints associated with // the service. - DeleteService(context.Context, *DeleteServiceRequest) (*emptypb.Empty, error) + DeleteService(context.Context, *DeleteServiceRequest) (*empty.Empty, error) // Creates an endpoint, and returns the new endpoint. CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error) // Lists all endpoints. @@ -2385,7 +2385,7 @@ type RegistrationServiceServer interface { // Updates an endpoint. UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error) // Deletes an endpoint. - DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*emptypb.Empty, error) + DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*empty.Empty, error) // Gets the IAM Policy for a resource (namespace or service only). GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) // Sets the IAM Policy for a resource (namespace or service only). @@ -2410,7 +2410,7 @@ func (*UnimplementedRegistrationServiceServer) GetNamespace(context.Context, *Ge func (*UnimplementedRegistrationServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespace not implemented") } -func (*UnimplementedRegistrationServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error) { +func (*UnimplementedRegistrationServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") } func (*UnimplementedRegistrationServiceServer) CreateService(context.Context, *CreateServiceRequest) (*Service, error) { @@ -2425,7 +2425,7 @@ func (*UnimplementedRegistrationServiceServer) GetService(context.Context, *GetS func (*UnimplementedRegistrationServiceServer) UpdateService(context.Context, *UpdateServiceRequest) (*Service, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateService not implemented") } -func (*UnimplementedRegistrationServiceServer) DeleteService(context.Context, *DeleteServiceRequest) (*emptypb.Empty, error) { +func (*UnimplementedRegistrationServiceServer) DeleteService(context.Context, *DeleteServiceRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteService not implemented") } func (*UnimplementedRegistrationServiceServer) CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error) { @@ -2440,7 +2440,7 @@ func (*UnimplementedRegistrationServiceServer) GetEndpoint(context.Context, *Get func (*UnimplementedRegistrationServiceServer) UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateEndpoint not implemented") } -func (*UnimplementedRegistrationServiceServer) DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*emptypb.Empty, error) { +func (*UnimplementedRegistrationServiceServer) DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteEndpoint not implemented") } func (*UnimplementedRegistrationServiceServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) { diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go index 767b9f2ab0e..d43eaa0a4d1 100644 --- a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/servicedirectory/v1beta1/service.proto package servicedirectorypb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -79,11 +79,11 @@ type Service struct { // [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints]. Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // Output only. The timestamp when the service was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the service was last updated. Note: endpoints being // created/deleted/updated within the service are not considered service // updates for the purpose of this timestamp. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *Service) Reset() { @@ -139,14 +139,14 @@ func (x *Service) GetEndpoints() []*Endpoint { return nil } -func (x *Service) GetCreateTime() *timestamppb.Timestamp { +func (x *Service) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Service) GetUpdateTime() *timestamppb.Timestamp { +func (x *Service) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -239,10 +239,10 @@ func file_google_cloud_servicedirectory_v1beta1_service_proto_rawDescGZIP() []by var file_google_cloud_servicedirectory_v1beta1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_servicedirectory_v1beta1_service_proto_goTypes = []interface{}{ - (*Service)(nil), // 0: google.cloud.servicedirectory.v1beta1.Service - nil, // 1: google.cloud.servicedirectory.v1beta1.Service.MetadataEntry - (*Endpoint)(nil), // 2: google.cloud.servicedirectory.v1beta1.Endpoint - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*Service)(nil), // 0: google.cloud.servicedirectory.v1beta1.Service + nil, // 1: google.cloud.servicedirectory.v1beta1.Service.MetadataEntry + (*Endpoint)(nil), // 2: google.cloud.servicedirectory.v1beta1.Endpoint + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_servicedirectory_v1beta1_service_proto_depIdxs = []int32{ 1, // 0: google.cloud.servicedirectory.v1beta1.Service.metadata:type_name -> google.cloud.servicedirectory.v1beta1.Service.MetadataEntry diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go index 09460cb944a..de537078d92 100644 --- a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/speech/v1p1beta1/cloud_speech.proto package speechpb @@ -25,6 +25,9 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" @@ -33,9 +36,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -989,13 +989,13 @@ type RecognitionConfig struct { // the request. For example, "how are you question mark" becomes "how are // you?". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation // for support. If 'false', spoken punctuation is not replaced. - EnableSpokenPunctuation *wrapperspb.BoolValue `protobuf:"bytes,22,opt,name=enable_spoken_punctuation,json=enableSpokenPunctuation,proto3" json:"enable_spoken_punctuation,omitempty"` + EnableSpokenPunctuation *wrappers.BoolValue `protobuf:"bytes,22,opt,name=enable_spoken_punctuation,json=enableSpokenPunctuation,proto3" json:"enable_spoken_punctuation,omitempty"` // The spoken emoji behavior for the call // If not set, uses default behavior based on model of choice // If 'true', adds spoken emoji formatting for the request. This will replace // spoken emojis with the corresponding Unicode symbols in the final // transcript. If 'false', spoken emojis are not replaced. - EnableSpokenEmojis *wrapperspb.BoolValue `protobuf:"bytes,23,opt,name=enable_spoken_emojis,json=enableSpokenEmojis,proto3" json:"enable_spoken_emojis,omitempty"` + EnableSpokenEmojis *wrappers.BoolValue `protobuf:"bytes,23,opt,name=enable_spoken_emojis,json=enableSpokenEmojis,proto3" json:"enable_spoken_emojis,omitempty"` // If 'true', enables speaker detection for each recognized word in // the top alternative of the recognition result using a speaker_tag provided // in the WordInfo. @@ -1215,14 +1215,14 @@ func (x *RecognitionConfig) GetEnableAutomaticPunctuation() bool { return false } -func (x *RecognitionConfig) GetEnableSpokenPunctuation() *wrapperspb.BoolValue { +func (x *RecognitionConfig) GetEnableSpokenPunctuation() *wrappers.BoolValue { if x != nil { return x.EnableSpokenPunctuation } return nil } -func (x *RecognitionConfig) GetEnableSpokenEmojis() *wrapperspb.BoolValue { +func (x *RecognitionConfig) GetEnableSpokenEmojis() *wrappers.BoolValue { if x != nil { return x.EnableSpokenEmojis } @@ -1681,7 +1681,7 @@ type RecognizeResponse struct { // sequential portions of audio. Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // When available, billed audio seconds for the corresponding request. - TotalBilledTime *durationpb.Duration `protobuf:"bytes,3,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` + TotalBilledTime *duration.Duration `protobuf:"bytes,3,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` } func (x *RecognizeResponse) Reset() { @@ -1723,7 +1723,7 @@ func (x *RecognizeResponse) GetResults() []*SpeechRecognitionResult { return nil } -func (x *RecognizeResponse) GetTotalBilledTime() *durationpb.Duration { +func (x *RecognizeResponse) GetTotalBilledTime() *duration.Duration { if x != nil { return x.TotalBilledTime } @@ -1744,7 +1744,7 @@ type LongRunningRecognizeResponse struct { // sequential portions of audio. Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // When available, billed audio seconds for the corresponding request. - TotalBilledTime *durationpb.Duration `protobuf:"bytes,3,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` + TotalBilledTime *duration.Duration `protobuf:"bytes,3,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` // Original output config if present in the request. OutputConfig *TranscriptOutputConfig `protobuf:"bytes,6,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` // If the transcript output fails this field contains the relevant error. @@ -1790,7 +1790,7 @@ func (x *LongRunningRecognizeResponse) GetResults() []*SpeechRecognitionResult { return nil } -func (x *LongRunningRecognizeResponse) GetTotalBilledTime() *durationpb.Duration { +func (x *LongRunningRecognizeResponse) GetTotalBilledTime() *duration.Duration { if x != nil { return x.TotalBilledTime } @@ -1823,9 +1823,9 @@ type LongRunningRecognizeMetadata struct { // when the audio is fully processed and the results are available. ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Time when the request was received. - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time of the most recent processing update. - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` + LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // Output only. The URI of the audio file being transcribed. Empty if the audio was sent // as byte content. Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` @@ -1872,14 +1872,14 @@ func (x *LongRunningRecognizeMetadata) GetProgressPercent() int32 { return 0 } -func (x *LongRunningRecognizeMetadata) GetStartTime() *timestamppb.Timestamp { +func (x *LongRunningRecognizeMetadata) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *LongRunningRecognizeMetadata) GetLastUpdateTime() *timestamppb.Timestamp { +func (x *LongRunningRecognizeMetadata) GetLastUpdateTime() *timestamp.Timestamp { if x != nil { return x.LastUpdateTime } @@ -1966,7 +1966,7 @@ type StreamingRecognizeResponse struct { SpeechEventType StreamingRecognizeResponse_SpeechEventType `protobuf:"varint,4,opt,name=speech_event_type,json=speechEventType,proto3,enum=google.cloud.speech.v1p1beta1.StreamingRecognizeResponse_SpeechEventType" json:"speech_event_type,omitempty"` // When available, billed audio seconds for the stream. // Set only if this is the last response in the stream. - TotalBilledTime *durationpb.Duration `protobuf:"bytes,5,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` + TotalBilledTime *duration.Duration `protobuf:"bytes,5,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` } func (x *StreamingRecognizeResponse) Reset() { @@ -2022,7 +2022,7 @@ func (x *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResp return StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED } -func (x *StreamingRecognizeResponse) GetTotalBilledTime() *durationpb.Duration { +func (x *StreamingRecognizeResponse) GetTotalBilledTime() *duration.Duration { if x != nil { return x.TotalBilledTime } @@ -2055,7 +2055,7 @@ type StreamingRecognitionResult struct { Stability float32 `protobuf:"fixed32,3,opt,name=stability,proto3" json:"stability,omitempty"` // Time offset of the end of this result relative to the // beginning of the audio. - ResultEndTime *durationpb.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` + ResultEndTime *duration.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` // For multi-channel audio, this is the channel number corresponding to the // recognized result for the audio from that channel. // For audio_channel_count = N, its output values can range from '1' to 'N'. @@ -2119,7 +2119,7 @@ func (x *StreamingRecognitionResult) GetStability() float32 { return 0 } -func (x *StreamingRecognitionResult) GetResultEndTime() *durationpb.Duration { +func (x *StreamingRecognitionResult) GetResultEndTime() *duration.Duration { if x != nil { return x.ResultEndTime } @@ -2157,7 +2157,7 @@ type SpeechRecognitionResult struct { ChannelTag int32 `protobuf:"varint,2,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` // Time offset of the end of this result relative to the // beginning of the audio. - ResultEndTime *durationpb.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` + ResultEndTime *duration.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` // Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag // of the language in this result. This language code was detected to have // the most likelihood of being spoken in the audio. @@ -2210,7 +2210,7 @@ func (x *SpeechRecognitionResult) GetChannelTag() int32 { return 0 } -func (x *SpeechRecognitionResult) GetResultEndTime() *durationpb.Duration { +func (x *SpeechRecognitionResult) GetResultEndTime() *duration.Duration { if x != nil { return x.ResultEndTime } @@ -2314,14 +2314,14 @@ type WordInfo struct { // in the top hypothesis. // This is an experimental feature and the accuracy of the time offset can // vary. - StartTime *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time offset relative to the beginning of the audio, // and corresponding to the end of the spoken word. // This field is only set if `enable_word_time_offsets=true` and only // in the top hypothesis. // This is an experimental feature and the accuracy of the time offset can // vary. - EndTime *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The word corresponding to this set of information. Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` // The confidence estimate between 0.0 and 1.0. A higher number @@ -2372,14 +2372,14 @@ func (*WordInfo) Descriptor() ([]byte, []int) { return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{17} } -func (x *WordInfo) GetStartTime() *durationpb.Duration { +func (x *WordInfo) GetStartTime() *duration.Duration { if x != nil { return x.StartTime } return nil } -func (x *WordInfo) GetEndTime() *durationpb.Duration { +func (x *WordInfo) GetEndTime() *duration.Duration { if x != nil { return x.EndTime } @@ -2929,10 +2929,10 @@ var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_goTypes = []interface{ (*WordInfo)(nil), // 23: google.cloud.speech.v1p1beta1.WordInfo (*SpeechAdaptation)(nil), // 24: google.cloud.speech.v1p1beta1.SpeechAdaptation (*TranscriptNormalization)(nil), // 25: google.cloud.speech.v1p1beta1.TranscriptNormalization - (*wrapperspb.BoolValue)(nil), // 26: google.protobuf.BoolValue - (*durationpb.Duration)(nil), // 27: google.protobuf.Duration + (*wrappers.BoolValue)(nil), // 26: google.protobuf.BoolValue + (*duration.Duration)(nil), // 27: google.protobuf.Duration (*status.Status)(nil), // 28: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 29: google.protobuf.Timestamp (*longrunning.Operation)(nil), // 30: google.longrunning.Operation } var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_depIdxs = []int32{ diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go index 8d03f28834b..58190c79a87 100644 --- a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto package speechpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -141,7 +141,7 @@ type UpdatePhraseSetRequest struct { // with matching `us` or `eu` location value. PhraseSet *PhraseSet `protobuf:"bytes,1,opt,name=phrase_set,json=phraseSet,proto3" json:"phrase_set,omitempty"` // The list of fields to be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdatePhraseSetRequest) Reset() { @@ -183,7 +183,7 @@ func (x *UpdatePhraseSetRequest) GetPhraseSet() *PhraseSet { return nil } -func (x *UpdatePhraseSetRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdatePhraseSetRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -538,7 +538,7 @@ type UpdateCustomClassRequest struct { // with matching `us` or `eu` location value. CustomClass *CustomClass `protobuf:"bytes,1,opt,name=custom_class,json=customClass,proto3" json:"custom_class,omitempty"` // The list of fields to be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCustomClassRequest) Reset() { @@ -580,7 +580,7 @@ func (x *UpdateCustomClassRequest) GetCustomClass() *CustomClass { return nil } -func (x *UpdateCustomClassRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCustomClassRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1139,9 +1139,9 @@ var file_google_cloud_speech_v1p1beta1_cloud_speech_adaptation_proto_goTypes = [ (*ListCustomClassesResponse)(nil), // 10: google.cloud.speech.v1p1beta1.ListCustomClassesResponse (*DeleteCustomClassRequest)(nil), // 11: google.cloud.speech.v1p1beta1.DeleteCustomClassRequest (*PhraseSet)(nil), // 12: google.cloud.speech.v1p1beta1.PhraseSet - (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 13: google.protobuf.FieldMask (*CustomClass)(nil), // 14: google.cloud.speech.v1p1beta1.CustomClass - (*emptypb.Empty)(nil), // 15: google.protobuf.Empty + (*empty.Empty)(nil), // 15: google.protobuf.Empty } var file_google_cloud_speech_v1p1beta1_cloud_speech_adaptation_proto_depIdxs = []int32{ 12, // 0: google.cloud.speech.v1p1beta1.CreatePhraseSetRequest.phrase_set:type_name -> google.cloud.speech.v1p1beta1.PhraseSet @@ -1374,7 +1374,7 @@ type AdaptationClient interface { // Update a phrase set. UpdatePhraseSet(ctx context.Context, in *UpdatePhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error) // Delete a phrase set. - DeletePhraseSet(ctx context.Context, in *DeletePhraseSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePhraseSet(ctx context.Context, in *DeletePhraseSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Create a custom class. CreateCustomClass(ctx context.Context, in *CreateCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error) // Get a custom class. @@ -1384,7 +1384,7 @@ type AdaptationClient interface { // Update a custom class. UpdateCustomClass(ctx context.Context, in *UpdateCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error) // Delete a custom class. - DeleteCustomClass(ctx context.Context, in *DeleteCustomClassRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteCustomClass(ctx context.Context, in *DeleteCustomClassRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type adaptationClient struct { @@ -1431,8 +1431,8 @@ func (c *adaptationClient) UpdatePhraseSet(ctx context.Context, in *UpdatePhrase return out, nil } -func (c *adaptationClient) DeletePhraseSet(ctx context.Context, in *DeletePhraseSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *adaptationClient) DeletePhraseSet(ctx context.Context, in *DeletePhraseSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.speech.v1p1beta1.Adaptation/DeletePhraseSet", in, out, opts...) if err != nil { return nil, err @@ -1476,8 +1476,8 @@ func (c *adaptationClient) UpdateCustomClass(ctx context.Context, in *UpdateCust return out, nil } -func (c *adaptationClient) DeleteCustomClass(ctx context.Context, in *DeleteCustomClassRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *adaptationClient) DeleteCustomClass(ctx context.Context, in *DeleteCustomClassRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.speech.v1p1beta1.Adaptation/DeleteCustomClass", in, out, opts...) if err != nil { return nil, err @@ -1498,7 +1498,7 @@ type AdaptationServer interface { // Update a phrase set. UpdatePhraseSet(context.Context, *UpdatePhraseSetRequest) (*PhraseSet, error) // Delete a phrase set. - DeletePhraseSet(context.Context, *DeletePhraseSetRequest) (*emptypb.Empty, error) + DeletePhraseSet(context.Context, *DeletePhraseSetRequest) (*empty.Empty, error) // Create a custom class. CreateCustomClass(context.Context, *CreateCustomClassRequest) (*CustomClass, error) // Get a custom class. @@ -1508,7 +1508,7 @@ type AdaptationServer interface { // Update a custom class. UpdateCustomClass(context.Context, *UpdateCustomClassRequest) (*CustomClass, error) // Delete a custom class. - DeleteCustomClass(context.Context, *DeleteCustomClassRequest) (*emptypb.Empty, error) + DeleteCustomClass(context.Context, *DeleteCustomClassRequest) (*empty.Empty, error) } // UnimplementedAdaptationServer can be embedded to have forward compatible implementations. @@ -1527,7 +1527,7 @@ func (*UnimplementedAdaptationServer) ListPhraseSet(context.Context, *ListPhrase func (*UnimplementedAdaptationServer) UpdatePhraseSet(context.Context, *UpdatePhraseSetRequest) (*PhraseSet, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdatePhraseSet not implemented") } -func (*UnimplementedAdaptationServer) DeletePhraseSet(context.Context, *DeletePhraseSetRequest) (*emptypb.Empty, error) { +func (*UnimplementedAdaptationServer) DeletePhraseSet(context.Context, *DeletePhraseSetRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePhraseSet not implemented") } func (*UnimplementedAdaptationServer) CreateCustomClass(context.Context, *CreateCustomClassRequest) (*CustomClass, error) { @@ -1542,7 +1542,7 @@ func (*UnimplementedAdaptationServer) ListCustomClasses(context.Context, *ListCu func (*UnimplementedAdaptationServer) UpdateCustomClass(context.Context, *UpdateCustomClassRequest) (*CustomClass, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomClass not implemented") } -func (*UnimplementedAdaptationServer) DeleteCustomClass(context.Context, *DeleteCustomClassRequest) (*emptypb.Empty, error) { +func (*UnimplementedAdaptationServer) DeleteCustomClass(context.Context, *DeleteCustomClassRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomClass not implemented") } diff --git a/speech/apiv1p1beta1/speechpb/resource.pb.go b/speech/apiv1p1beta1/speechpb/resource.pb.go index f2e0bf14637..98f499e9c16 100644 --- a/speech/apiv1p1beta1/speechpb/resource.pb.go +++ b/speech/apiv1p1beta1/speechpb/resource.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/speech/v1p1beta1/resource.proto package speechpb diff --git a/talent/apiv4beta1/talentpb/batch.pb.go b/talent/apiv4beta1/talentpb/batch.pb.go index 62307ffa05e..63b5a575791 100644 --- a/talent/apiv4beta1/talentpb/batch.pb.go +++ b/talent/apiv4beta1/talentpb/batch.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/batch.proto package talentpb diff --git a/talent/apiv4beta1/talentpb/common.pb.go b/talent/apiv4beta1/talentpb/common.pb.go index fd6336654d1..66a4eecf2ee 100644 --- a/talent/apiv4beta1/talentpb/common.pb.go +++ b/talent/apiv4beta1/talentpb/common.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/common.proto package talentpb @@ -24,14 +24,14 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" ) const ( @@ -1306,9 +1306,9 @@ type TimestampRange struct { unknownFields protoimpl.UnknownFields // Begin of the period (inclusive). - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End of the period (exclusive). - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *TimestampRange) Reset() { @@ -1343,14 +1343,14 @@ func (*TimestampRange) Descriptor() ([]byte, []int) { return file_google_cloud_talent_v4beta1_common_proto_rawDescGZIP(), []int{0} } -func (x *TimestampRange) GetStartTime() *timestamppb.Timestamp { +func (x *TimestampRange) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *TimestampRange) GetEndTime() *timestamppb.Timestamp { +func (x *TimestampRange) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1950,14 +1950,14 @@ type BatchOperationMetadata struct { // Count of total item(s) inside an operation. TotalCount int32 `protobuf:"varint,5,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // The time when the batch operation is created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the batch operation status is updated. The metadata and the // [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is // returned. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The time when the batch operation is finished and // [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`. - EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } func (x *BatchOperationMetadata) Reset() { @@ -2027,21 +2027,21 @@ func (x *BatchOperationMetadata) GetTotalCount() int32 { return 0 } -func (x *BatchOperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *BatchOperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *BatchOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { +func (x *BatchOperationMetadata) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *BatchOperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *BatchOperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -2088,7 +2088,7 @@ type CompensationInfo_CompensationEntry struct { // - WEEKLY: 52 // - MONTHLY: 12 // - ANNUAL: 1 - ExpectedUnitsPerYear *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=expected_units_per_year,json=expectedUnitsPerYear,proto3" json:"expected_units_per_year,omitempty"` + ExpectedUnitsPerYear *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=expected_units_per_year,json=expectedUnitsPerYear,proto3" json:"expected_units_per_year,omitempty"` } func (x *CompensationInfo_CompensationEntry) Reset() { @@ -2165,7 +2165,7 @@ func (x *CompensationInfo_CompensationEntry) GetDescription() string { return "" } -func (x *CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear() *wrapperspb.DoubleValue { +func (x *CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear() *wrappers.DoubleValue { if x != nil { return x.ExpectedUnitsPerYear } @@ -2674,11 +2674,11 @@ var file_google_cloud_talent_v4beta1_common_proto_goTypes = []interface{}{ (*BatchOperationMetadata)(nil), // 23: google.cloud.talent.v4beta1.BatchOperationMetadata (*CompensationInfo_CompensationEntry)(nil), // 24: google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry (*CompensationInfo_CompensationRange)(nil), // 25: google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 26: google.protobuf.Timestamp (*postaladdress.PostalAddress)(nil), // 27: google.type.PostalAddress (*latlng.LatLng)(nil), // 28: google.type.LatLng (*money.Money)(nil), // 29: google.type.Money - (*wrapperspb.DoubleValue)(nil), // 30: google.protobuf.DoubleValue + (*wrappers.DoubleValue)(nil), // 30: google.protobuf.DoubleValue } var file_google_cloud_talent_v4beta1_common_proto_depIdxs = []int32{ 26, // 0: google.cloud.talent.v4beta1.TimestampRange.start_time:type_name -> google.protobuf.Timestamp diff --git a/talent/apiv4beta1/talentpb/company.pb.go b/talent/apiv4beta1/talentpb/company.pb.go index 731138b13bb..ea65bddf1b9 100644 --- a/talent/apiv4beta1/talentpb/company.pb.go +++ b/talent/apiv4beta1/talentpb/company.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/company.proto package talentpb diff --git a/talent/apiv4beta1/talentpb/company_service.pb.go b/talent/apiv4beta1/talentpb/company_service.pb.go index 5548ddc399d..5a9570075f7 100644 --- a/talent/apiv4beta1/talentpb/company_service.pb.go +++ b/talent/apiv4beta1/talentpb/company_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/company_service.proto package talentpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -175,7 +175,7 @@ type UpdateCompanyRequest struct { // // A field mask to specify the company fields to be updated. Only // top level fields of [Company][google.cloud.talent.v4beta1.Company] are supported. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateCompanyRequest) Reset() { @@ -217,7 +217,7 @@ func (x *UpdateCompanyRequest) GetCompany() *Company { return nil } -func (x *UpdateCompanyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateCompanyRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -624,9 +624,9 @@ var file_google_cloud_talent_v4beta1_company_service_proto_goTypes = []interface (*ListCompaniesRequest)(nil), // 4: google.cloud.talent.v4beta1.ListCompaniesRequest (*ListCompaniesResponse)(nil), // 5: google.cloud.talent.v4beta1.ListCompaniesResponse (*Company)(nil), // 6: google.cloud.talent.v4beta1.Company - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask (*ResponseMetadata)(nil), // 8: google.cloud.talent.v4beta1.ResponseMetadata - (*emptypb.Empty)(nil), // 9: google.protobuf.Empty + (*empty.Empty)(nil), // 9: google.protobuf.Empty } var file_google_cloud_talent_v4beta1_company_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.talent.v4beta1.CreateCompanyRequest.company:type_name -> google.cloud.talent.v4beta1.Company @@ -772,7 +772,7 @@ type CompanyServiceClient interface { UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error) // Deletes specified company. // Prerequisite: The company has no jobs associated with it. - DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all companies associated with the project. ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error) } @@ -812,8 +812,8 @@ func (c *companyServiceClient) UpdateCompany(ctx context.Context, in *UpdateComp return out, nil } -func (c *companyServiceClient) DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *companyServiceClient) DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.CompanyService/DeleteCompany", in, out, opts...) if err != nil { return nil, err @@ -840,7 +840,7 @@ type CompanyServiceServer interface { UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error) // Deletes specified company. // Prerequisite: The company has no jobs associated with it. - DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error) + DeleteCompany(context.Context, *DeleteCompanyRequest) (*empty.Empty, error) // Lists all companies associated with the project. ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error) } @@ -858,7 +858,7 @@ func (*UnimplementedCompanyServiceServer) GetCompany(context.Context, *GetCompan func (*UnimplementedCompanyServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCompany not implemented") } -func (*UnimplementedCompanyServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error) { +func (*UnimplementedCompanyServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCompany not implemented") } func (*UnimplementedCompanyServiceServer) ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error) { diff --git a/talent/apiv4beta1/talentpb/completion_service.pb.go b/talent/apiv4beta1/talentpb/completion_service.pb.go index ed7f2de3bfb..c1b687a78e4 100644 --- a/talent/apiv4beta1/talentpb/completion_service.pb.go +++ b/talent/apiv4beta1/talentpb/completion_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/completion_service.proto package talentpb diff --git a/talent/apiv4beta1/talentpb/event.pb.go b/talent/apiv4beta1/talentpb/event.pb.go index 8da21d97da4..f44bab30e63 100644 --- a/talent/apiv4beta1/talentpb/event.pb.go +++ b/talent/apiv4beta1/talentpb/event.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/event.proto package talentpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -203,7 +203,7 @@ type ClientEvent struct { // Required. A unique identifier, generated by the client application. EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // Required. The timestamp of the event. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Required. // // The detail information of a specific event type. @@ -263,7 +263,7 @@ func (x *ClientEvent) GetEventId() string { return "" } -func (x *ClientEvent) GetCreateTime() *timestamppb.Timestamp { +func (x *ClientEvent) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } @@ -469,10 +469,10 @@ func file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP() []byte { var file_google_cloud_talent_v4beta1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_cloud_talent_v4beta1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_cloud_talent_v4beta1_event_proto_goTypes = []interface{}{ - (JobEvent_JobEventType)(0), // 0: google.cloud.talent.v4beta1.JobEvent.JobEventType - (*ClientEvent)(nil), // 1: google.cloud.talent.v4beta1.ClientEvent - (*JobEvent)(nil), // 2: google.cloud.talent.v4beta1.JobEvent - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (JobEvent_JobEventType)(0), // 0: google.cloud.talent.v4beta1.JobEvent.JobEventType + (*ClientEvent)(nil), // 1: google.cloud.talent.v4beta1.ClientEvent + (*JobEvent)(nil), // 2: google.cloud.talent.v4beta1.JobEvent + (*timestamp.Timestamp)(nil), // 3: google.protobuf.Timestamp } var file_google_cloud_talent_v4beta1_event_proto_depIdxs = []int32{ 3, // 0: google.cloud.talent.v4beta1.ClientEvent.create_time:type_name -> google.protobuf.Timestamp diff --git a/talent/apiv4beta1/talentpb/event_service.pb.go b/talent/apiv4beta1/talentpb/event_service.pb.go index 2a69628b47f..714d1363cb7 100644 --- a/talent/apiv4beta1/talentpb/event_service.pb.go +++ b/talent/apiv4beta1/talentpb/event_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/event_service.proto package talentpb diff --git a/talent/apiv4beta1/talentpb/filters.pb.go b/talent/apiv4beta1/talentpb/filters.pb.go index 0c64b93f3e8..5acb10b1c99 100644 --- a/talent/apiv4beta1/talentpb/filters.pb.go +++ b/talent/apiv4beta1/talentpb/filters.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/filters.proto package talentpb @@ -24,12 +24,12 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" ) const ( @@ -743,7 +743,7 @@ type CommuteFilter struct { StartCoordinates *latlng.LatLng `protobuf:"bytes,2,opt,name=start_coordinates,json=startCoordinates,proto3" json:"start_coordinates,omitempty"` // Required. The maximum travel time in seconds. The maximum allowed value is `3600s` // (one hour). Format is `123s`. - TravelDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` + TravelDuration *duration.Duration `protobuf:"bytes,3,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` // If `true`, jobs without street level addresses may also be returned. // For city level addresses, the city center is used. For state and coarser // level addresses, text matching is used. @@ -805,7 +805,7 @@ func (x *CommuteFilter) GetStartCoordinates() *latlng.LatLng { return nil } -func (x *CommuteFilter) GetTravelDuration() *durationpb.Duration { +func (x *CommuteFilter) GetTravelDuration() *duration.Duration { if x != nil { return x.TravelDuration } @@ -1070,7 +1070,7 @@ var file_google_cloud_talent_v4beta1_filters_proto_goTypes = []interface{}{ (CompensationInfo_CompensationUnit)(0), // 11: google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit (*CompensationInfo_CompensationRange)(nil), // 12: google.cloud.talent.v4beta1.CompensationInfo.CompensationRange (CommuteMethod)(0), // 13: google.cloud.talent.v4beta1.CommuteMethod - (*durationpb.Duration)(nil), // 14: google.protobuf.Duration + (*duration.Duration)(nil), // 14: google.protobuf.Duration (*timeofday.TimeOfDay)(nil), // 15: google.type.TimeOfDay } var file_google_cloud_talent_v4beta1_filters_proto_depIdxs = []int32{ diff --git a/talent/apiv4beta1/talentpb/histogram.pb.go b/talent/apiv4beta1/talentpb/histogram.pb.go index c74435da6d4..b621b1ad54c 100644 --- a/talent/apiv4beta1/talentpb/histogram.pb.go +++ b/talent/apiv4beta1/talentpb/histogram.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/histogram.proto package talentpb diff --git a/talent/apiv4beta1/talentpb/job.pb.go b/talent/apiv4beta1/talentpb/job.pb.go index aa0f3f1ee0a..e03ce61cb15 100644 --- a/talent/apiv4beta1/talentpb/job.pb.go +++ b/talent/apiv4beta1/talentpb/job.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/job.proto package talentpb @@ -24,10 +24,10 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -204,14 +204,14 @@ type Job struct { Visibility Visibility `protobuf:"varint,21,opt,name=visibility,proto3,enum=google.cloud.talent.v4beta1.Visibility" json:"visibility,omitempty"` // The start timestamp of the job in UTC time zone. Typically this field // is used for contracting engagements. Invalid timestamps are ignored. - JobStartTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty"` + JobStartTime *timestamp.Timestamp `protobuf:"bytes,22,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty"` // The end timestamp of the job. Typically this field is used for contracting // engagements. Invalid timestamps are ignored. - JobEndTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty"` + JobEndTime *timestamp.Timestamp `protobuf:"bytes,23,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty"` // The timestamp this job posting was most recently published. The default // value is the time the request arrives at the server. Invalid timestamps are // ignored. - PostingPublishTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=posting_publish_time,json=postingPublishTime,proto3" json:"posting_publish_time,omitempty"` + PostingPublishTime *timestamp.Timestamp `protobuf:"bytes,24,opt,name=posting_publish_time,json=postingPublishTime,proto3" json:"posting_publish_time,omitempty"` // Strongly recommended for the best service experience. // // The expiration timestamp of the job. After this timestamp, the @@ -253,11 +253,11 @@ type Job struct { // [job_end_time][google.cloud.talent.v4beta1.Job.job_end_time], or the masks are empty meaning that every field is // updated, the job posting expires after 30 days from the job's last // update time. Otherwise the expiration date isn't updated. - PostingExpireTime *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=posting_expire_time,json=postingExpireTime,proto3" json:"posting_expire_time,omitempty"` + PostingExpireTime *timestamp.Timestamp `protobuf:"bytes,25,opt,name=posting_expire_time,json=postingExpireTime,proto3" json:"posting_expire_time,omitempty"` // Output only. The timestamp when this job posting was created. - PostingCreateTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=posting_create_time,json=postingCreateTime,proto3" json:"posting_create_time,omitempty"` + PostingCreateTime *timestamp.Timestamp `protobuf:"bytes,26,opt,name=posting_create_time,json=postingCreateTime,proto3" json:"posting_create_time,omitempty"` // Output only. The timestamp when this job posting was last updated. - PostingUpdateTime *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=posting_update_time,json=postingUpdateTime,proto3" json:"posting_update_time,omitempty"` + PostingUpdateTime *timestamp.Timestamp `protobuf:"bytes,27,opt,name=posting_update_time,json=postingUpdateTime,proto3" json:"posting_update_time,omitempty"` // Output only. Display name of the company listing the job. CompanyDisplayName string `protobuf:"bytes,28,opt,name=company_display_name,json=companyDisplayName,proto3" json:"company_display_name,omitempty"` // Output only. Derived details about the job posting. @@ -446,42 +446,42 @@ func (x *Job) GetVisibility() Visibility { return Visibility_VISIBILITY_UNSPECIFIED } -func (x *Job) GetJobStartTime() *timestamppb.Timestamp { +func (x *Job) GetJobStartTime() *timestamp.Timestamp { if x != nil { return x.JobStartTime } return nil } -func (x *Job) GetJobEndTime() *timestamppb.Timestamp { +func (x *Job) GetJobEndTime() *timestamp.Timestamp { if x != nil { return x.JobEndTime } return nil } -func (x *Job) GetPostingPublishTime() *timestamppb.Timestamp { +func (x *Job) GetPostingPublishTime() *timestamp.Timestamp { if x != nil { return x.PostingPublishTime } return nil } -func (x *Job) GetPostingExpireTime() *timestamppb.Timestamp { +func (x *Job) GetPostingExpireTime() *timestamp.Timestamp { if x != nil { return x.PostingExpireTime } return nil } -func (x *Job) GetPostingCreateTime() *timestamppb.Timestamp { +func (x *Job) GetPostingCreateTime() *timestamp.Timestamp { if x != nil { return x.PostingCreateTime } return nil } -func (x *Job) GetPostingUpdateTime() *timestamppb.Timestamp { +func (x *Job) GetPostingUpdateTime() *timestamp.Timestamp { if x != nil { return x.PostingUpdateTime } @@ -932,7 +932,7 @@ var file_google_cloud_talent_v4beta1_job_proto_goTypes = []interface{}{ (JobLevel)(0), // 9: google.cloud.talent.v4beta1.JobLevel (PostingRegion)(0), // 10: google.cloud.talent.v4beta1.PostingRegion (Visibility)(0), // 11: google.cloud.talent.v4beta1.Visibility - (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 12: google.protobuf.Timestamp (*Location)(nil), // 13: google.cloud.talent.v4beta1.Location (JobCategory)(0), // 14: google.cloud.talent.v4beta1.JobCategory (HtmlSanitization)(0), // 15: google.cloud.talent.v4beta1.HtmlSanitization diff --git a/talent/apiv4beta1/talentpb/job_service.pb.go b/talent/apiv4beta1/talentpb/job_service.pb.go index de13927431e..81fbdf05085 100644 --- a/talent/apiv4beta1/talentpb/job_service.pb.go +++ b/talent/apiv4beta1/talentpb/job_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/job_service.proto package talentpb @@ -25,17 +25,17 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -529,7 +529,7 @@ type UpdateJobRequest struct { // // A field mask to restrict the fields that are updated. Only // top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateJobRequest) Reset() { @@ -571,7 +571,7 @@ func (x *UpdateJobRequest) GetJob() *Job { return nil } -func (x *UpdateJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateJobRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1516,7 +1516,7 @@ type BatchUpdateJobsRequest struct { // will only contains fields that is updated, plus the Id of the Job. // Otherwise, [Job][google.cloud.talent.v4beta1.Job] will include all fields, which can yield a very // large response. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *BatchUpdateJobsRequest) Reset() { @@ -1565,7 +1565,7 @@ func (x *BatchUpdateJobsRequest) GetJobs() []*Job { return nil } -func (x *BatchUpdateJobsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *BatchUpdateJobsRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -1811,7 +1811,7 @@ type SearchJobsResponse_CommuteInfo struct { // query location. A duration of 0 seconds indicates that the job isn't // reachable within the requested duration, but was returned as part of an // expanded query. - TravelDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` + TravelDuration *duration.Duration `protobuf:"bytes,2,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` } func (x *SearchJobsResponse_CommuteInfo) Reset() { @@ -1853,7 +1853,7 @@ func (x *SearchJobsResponse_CommuteInfo) GetJobLocation() *Location { return nil } -func (x *SearchJobsResponse_CommuteInfo) GetTravelDuration() *durationpb.Duration { +func (x *SearchJobsResponse_CommuteInfo) GetTravelDuration() *duration.Duration { if x != nil { return x.TravelDuration } @@ -2435,7 +2435,7 @@ var file_google_cloud_talent_v4beta1_job_service_proto_goTypes = []interface{}{ (*SearchJobsResponse_CommuteInfo)(nil), // 19: google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo (*JobOperationResult_JobResult)(nil), // 20: google.cloud.talent.v4beta1.JobOperationResult.JobResult (*Job)(nil), // 21: google.cloud.talent.v4beta1.Job - (*fieldmaskpb.FieldMask)(nil), // 22: google.protobuf.FieldMask + (*field_mask.FieldMask)(nil), // 22: google.protobuf.FieldMask (*ResponseMetadata)(nil), // 23: google.cloud.talent.v4beta1.ResponseMetadata (*RequestMetadata)(nil), // 24: google.cloud.talent.v4beta1.RequestMetadata (*JobQuery)(nil), // 25: google.cloud.talent.v4beta1.JobQuery @@ -2443,10 +2443,10 @@ var file_google_cloud_talent_v4beta1_job_service_proto_goTypes = []interface{}{ (*HistogramQueryResult)(nil), // 27: google.cloud.talent.v4beta1.HistogramQueryResult (*Location)(nil), // 28: google.cloud.talent.v4beta1.Location (*SpellingCorrection)(nil), // 29: google.cloud.talent.v4beta1.SpellingCorrection - (*durationpb.Duration)(nil), // 30: google.protobuf.Duration + (*duration.Duration)(nil), // 30: google.protobuf.Duration (*status.Status)(nil), // 31: google.rpc.Status (*longrunning.Operation)(nil), // 32: google.longrunning.Operation - (*emptypb.Empty)(nil), // 33: google.protobuf.Empty + (*empty.Empty)(nil), // 33: google.protobuf.Empty } var file_google_cloud_talent_v4beta1_job_service_proto_depIdxs = []int32{ 21, // 0: google.cloud.talent.v4beta1.CreateJobRequest.job:type_name -> google.cloud.talent.v4beta1.Job @@ -2763,9 +2763,9 @@ type JobServiceClient interface { // // Typically, the job becomes unsearchable within 10 seconds, but it may take // up to 5 minutes. - DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. - BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists jobs by filter. ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) // Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. @@ -2840,8 +2840,8 @@ func (c *jobServiceClient) BatchUpdateJobs(ctx context.Context, in *BatchUpdateJ return out, nil } -func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/DeleteJob", in, out, opts...) if err != nil { return nil, err @@ -2849,8 +2849,8 @@ func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, return out, nil } -func (c *jobServiceClient) BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *jobServiceClient) BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs", in, out, opts...) if err != nil { return nil, err @@ -2908,9 +2908,9 @@ type JobServiceServer interface { // // Typically, the job becomes unsearchable within 10 seconds, but it may take // up to 5 minutes. - DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) + DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) // Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. - BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*emptypb.Empty, error) + BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*empty.Empty, error) // Lists jobs by filter. ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) // Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. @@ -2951,10 +2951,10 @@ func (*UnimplementedJobServiceServer) UpdateJob(context.Context, *UpdateJobReque func (*UnimplementedJobServiceServer) BatchUpdateJobs(context.Context, *BatchUpdateJobsRequest) (*longrunning.Operation, error) { return nil, status1.Errorf(codes.Unimplemented, "method BatchUpdateJobs not implemented") } -func (*UnimplementedJobServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) { return nil, status1.Errorf(codes.Unimplemented, "method DeleteJob not implemented") } -func (*UnimplementedJobServiceServer) BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*emptypb.Empty, error) { +func (*UnimplementedJobServiceServer) BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*empty.Empty, error) { return nil, status1.Errorf(codes.Unimplemented, "method BatchDeleteJobs not implemented") } func (*UnimplementedJobServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) { diff --git a/talent/apiv4beta1/talentpb/tenant.pb.go b/talent/apiv4beta1/talentpb/tenant.pb.go index dccff2b8025..ef918beda58 100644 --- a/talent/apiv4beta1/talentpb/tenant.pb.go +++ b/talent/apiv4beta1/talentpb/tenant.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/tenant.proto package talentpb diff --git a/talent/apiv4beta1/talentpb/tenant_service.pb.go b/talent/apiv4beta1/talentpb/tenant_service.pb.go index eb5ce4e54d9..7478933a1f3 100644 --- a/talent/apiv4beta1/talentpb/tenant_service.pb.go +++ b/talent/apiv4beta1/talentpb/tenant_service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/talent/v4beta1/tenant_service.proto package talentpb @@ -25,14 +25,14 @@ import ( reflect "reflect" sync "sync" + empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -170,7 +170,7 @@ type UpdateTenantRequest struct { // // A field mask to specify the tenant fields to be updated. Only // top level fields of [Tenant][google.cloud.talent.v4beta1.Tenant] are supported. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateTenantRequest) Reset() { @@ -212,7 +212,7 @@ func (x *UpdateTenantRequest) GetTenant() *Tenant { return nil } -func (x *UpdateTenantRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateTenantRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -570,16 +570,16 @@ func file_google_cloud_talent_v4beta1_tenant_service_proto_rawDescGZIP() []byte var file_google_cloud_talent_v4beta1_tenant_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_google_cloud_talent_v4beta1_tenant_service_proto_goTypes = []interface{}{ - (*CreateTenantRequest)(nil), // 0: google.cloud.talent.v4beta1.CreateTenantRequest - (*GetTenantRequest)(nil), // 1: google.cloud.talent.v4beta1.GetTenantRequest - (*UpdateTenantRequest)(nil), // 2: google.cloud.talent.v4beta1.UpdateTenantRequest - (*DeleteTenantRequest)(nil), // 3: google.cloud.talent.v4beta1.DeleteTenantRequest - (*ListTenantsRequest)(nil), // 4: google.cloud.talent.v4beta1.ListTenantsRequest - (*ListTenantsResponse)(nil), // 5: google.cloud.talent.v4beta1.ListTenantsResponse - (*Tenant)(nil), // 6: google.cloud.talent.v4beta1.Tenant - (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask - (*ResponseMetadata)(nil), // 8: google.cloud.talent.v4beta1.ResponseMetadata - (*emptypb.Empty)(nil), // 9: google.protobuf.Empty + (*CreateTenantRequest)(nil), // 0: google.cloud.talent.v4beta1.CreateTenantRequest + (*GetTenantRequest)(nil), // 1: google.cloud.talent.v4beta1.GetTenantRequest + (*UpdateTenantRequest)(nil), // 2: google.cloud.talent.v4beta1.UpdateTenantRequest + (*DeleteTenantRequest)(nil), // 3: google.cloud.talent.v4beta1.DeleteTenantRequest + (*ListTenantsRequest)(nil), // 4: google.cloud.talent.v4beta1.ListTenantsRequest + (*ListTenantsResponse)(nil), // 5: google.cloud.talent.v4beta1.ListTenantsResponse + (*Tenant)(nil), // 6: google.cloud.talent.v4beta1.Tenant + (*field_mask.FieldMask)(nil), // 7: google.protobuf.FieldMask + (*ResponseMetadata)(nil), // 8: google.cloud.talent.v4beta1.ResponseMetadata + (*empty.Empty)(nil), // 9: google.protobuf.Empty } var file_google_cloud_talent_v4beta1_tenant_service_proto_depIdxs = []int32{ 6, // 0: google.cloud.talent.v4beta1.CreateTenantRequest.tenant:type_name -> google.cloud.talent.v4beta1.Tenant @@ -724,7 +724,7 @@ type TenantServiceClient interface { // Updates specified tenant. UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) // Deletes specified tenant. - DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all tenants associated with the project. ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error) } @@ -764,8 +764,8 @@ func (c *tenantServiceClient) UpdateTenant(ctx context.Context, in *UpdateTenant return out, nil } -func (c *tenantServiceClient) DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) +func (c *tenantServiceClient) DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.TenantService/DeleteTenant", in, out, opts...) if err != nil { return nil, err @@ -791,7 +791,7 @@ type TenantServiceServer interface { // Updates specified tenant. UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error) // Deletes specified tenant. - DeleteTenant(context.Context, *DeleteTenantRequest) (*emptypb.Empty, error) + DeleteTenant(context.Context, *DeleteTenantRequest) (*empty.Empty, error) // Lists all tenants associated with the project. ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) } @@ -809,7 +809,7 @@ func (*UnimplementedTenantServiceServer) GetTenant(context.Context, *GetTenantRe func (*UnimplementedTenantServiceServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateTenant not implemented") } -func (*UnimplementedTenantServiceServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*emptypb.Empty, error) { +func (*UnimplementedTenantServiceServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTenant not implemented") } func (*UnimplementedTenantServiceServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) { diff --git a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go index d156f634216..280e64e77ed 100644 --- a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/videointelligence/v1beta2/video_intelligence.proto package videointelligencepb @@ -26,6 +26,8 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" @@ -34,8 +36,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -672,10 +672,10 @@ type VideoSegment struct { // Time-offset, relative to the beginning of the video, // corresponding to the start of the segment (inclusive). - StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` + StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` // Time-offset, relative to the beginning of the video, // corresponding to the end of the segment (inclusive). - EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` + EndTimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` } func (x *VideoSegment) Reset() { @@ -710,14 +710,14 @@ func (*VideoSegment) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1beta2_video_intelligence_proto_rawDescGZIP(), []int{6} } -func (x *VideoSegment) GetStartTimeOffset() *durationpb.Duration { +func (x *VideoSegment) GetStartTimeOffset() *duration.Duration { if x != nil { return x.StartTimeOffset } return nil } -func (x *VideoSegment) GetEndTimeOffset() *durationpb.Duration { +func (x *VideoSegment) GetEndTimeOffset() *duration.Duration { if x != nil { return x.EndTimeOffset } @@ -790,7 +790,7 @@ type LabelFrame struct { // Time-offset, relative to the beginning of the video, corresponding to the // video frame for this location. - TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // Confidence that the label is accurate. Range: [0, 1]. Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` } @@ -827,7 +827,7 @@ func (*LabelFrame) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1beta2_video_intelligence_proto_rawDescGZIP(), []int{8} } -func (x *LabelFrame) GetTimeOffset() *durationpb.Duration { +func (x *LabelFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -997,7 +997,7 @@ type ExplicitContentFrame struct { // Time-offset, relative to the beginning of the video, corresponding to the // video frame for this location. - TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // Likelihood of the pornography content.. PornographyLikelihood Likelihood `protobuf:"varint,2,opt,name=pornography_likelihood,json=pornographyLikelihood,proto3,enum=google.cloud.videointelligence.v1beta2.Likelihood" json:"pornography_likelihood,omitempty"` } @@ -1034,7 +1034,7 @@ func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1beta2_video_intelligence_proto_rawDescGZIP(), []int{11} } -func (x *ExplicitContentFrame) GetTimeOffset() *durationpb.Duration { +func (x *ExplicitContentFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -1238,7 +1238,7 @@ type FaceFrame struct { NormalizedBoundingBoxes []*NormalizedBoundingBox `protobuf:"bytes,1,rep,name=normalized_bounding_boxes,json=normalizedBoundingBoxes,proto3" json:"normalized_bounding_boxes,omitempty"` // Time-offset, relative to the beginning of the video, // corresponding to the video frame for this location. - TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` } func (x *FaceFrame) Reset() { @@ -1280,7 +1280,7 @@ func (x *FaceFrame) GetNormalizedBoundingBoxes() []*NormalizedBoundingBox { return nil } -func (x *FaceFrame) GetTimeOffset() *durationpb.Duration { +func (x *FaceFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -1535,9 +1535,9 @@ type VideoAnnotationProgress struct { // Guaranteed to be 100 when fully processed. ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Time when the request was received. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time of the most recent update. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` } func (x *VideoAnnotationProgress) Reset() { @@ -1586,14 +1586,14 @@ func (x *VideoAnnotationProgress) GetProgressPercent() int32 { return 0 } -func (x *VideoAnnotationProgress) GetStartTime() *timestamppb.Timestamp { +func (x *VideoAnnotationProgress) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *VideoAnnotationProgress) GetUpdateTime() *timestamppb.Timestamp { +func (x *VideoAnnotationProgress) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2051,9 +2051,9 @@ var file_google_cloud_videointelligence_v1beta2_video_intelligence_proto_goTypes (*AnnotateVideoResponse)(nil), // 21: google.cloud.videointelligence.v1beta2.AnnotateVideoResponse (*VideoAnnotationProgress)(nil), // 22: google.cloud.videointelligence.v1beta2.VideoAnnotationProgress (*AnnotateVideoProgress)(nil), // 23: google.cloud.videointelligence.v1beta2.AnnotateVideoProgress - (*durationpb.Duration)(nil), // 24: google.protobuf.Duration + (*duration.Duration)(nil), // 24: google.protobuf.Duration (*status.Status)(nil), // 25: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 26: google.protobuf.Timestamp (*longrunning.Operation)(nil), // 27: google.longrunning.Operation } var file_google_cloud_videointelligence_v1beta2_video_intelligence_proto_depIdxs = []int32{ diff --git a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go index 2441594bfc5..317d42e586c 100644 --- a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto package videointelligencepb @@ -25,6 +25,8 @@ import ( reflect "reflect" sync "sync" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" status "google.golang.org/genproto/googleapis/rpc/status" @@ -33,8 +35,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -1030,10 +1030,10 @@ type VideoSegment struct { // Time-offset, relative to the beginning of the video, // corresponding to the start of the segment (inclusive). - StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` + StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` // Time-offset, relative to the beginning of the video, // corresponding to the end of the segment (inclusive). - EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` + EndTimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` } func (x *VideoSegment) Reset() { @@ -1068,14 +1068,14 @@ func (*VideoSegment) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto_rawDescGZIP(), []int{9} } -func (x *VideoSegment) GetStartTimeOffset() *durationpb.Duration { +func (x *VideoSegment) GetStartTimeOffset() *duration.Duration { if x != nil { return x.StartTimeOffset } return nil } -func (x *VideoSegment) GetEndTimeOffset() *durationpb.Duration { +func (x *VideoSegment) GetEndTimeOffset() *duration.Duration { if x != nil { return x.EndTimeOffset } @@ -1148,7 +1148,7 @@ type LabelFrame struct { // Time-offset, relative to the beginning of the video, corresponding to the // video frame for this location. - TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // Confidence that the label is accurate. Range: [0, 1]. Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` } @@ -1185,7 +1185,7 @@ func (*LabelFrame) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto_rawDescGZIP(), []int{11} } -func (x *LabelFrame) GetTimeOffset() *durationpb.Duration { +func (x *LabelFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -1355,7 +1355,7 @@ type ExplicitContentFrame struct { // Time-offset, relative to the beginning of the video, corresponding to the // video frame for this location. - TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // Likelihood of the pornography content.. PornographyLikelihood Likelihood `protobuf:"varint,2,opt,name=pornography_likelihood,json=pornographyLikelihood,proto3,enum=google.cloud.videointelligence.v1p3beta1.Likelihood" json:"pornography_likelihood,omitempty"` } @@ -1392,7 +1392,7 @@ func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto_rawDescGZIP(), []int{14} } -func (x *ExplicitContentFrame) GetTimeOffset() *durationpb.Duration { +func (x *ExplicitContentFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -1547,7 +1547,7 @@ type TimestampedObject struct { NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` // Time-offset, relative to the beginning of the video, // corresponding to the video frame for this object. - TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // Optional. The attributes of the object in the bounding box. Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` // Optional. The detected landmarks. @@ -1593,7 +1593,7 @@ func (x *TimestampedObject) GetNormalizedBoundingBox() *NormalizedBoundingBox { return nil } -func (x *TimestampedObject) GetTimeOffset() *durationpb.Duration { +func (x *TimestampedObject) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -2388,9 +2388,9 @@ type VideoAnnotationProgress struct { // 100 when fully processed. ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Time when the request was received. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time of the most recent update. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Specifies which feature is being tracked if the request contains more than // one feature. Feature Feature `protobuf:"varint,5,opt,name=feature,proto3,enum=google.cloud.videointelligence.v1p3beta1.Feature" json:"feature,omitempty"` @@ -2445,14 +2445,14 @@ func (x *VideoAnnotationProgress) GetProgressPercent() int32 { return 0 } -func (x *VideoAnnotationProgress) GetStartTime() *timestamppb.Timestamp { +func (x *VideoAnnotationProgress) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *VideoAnnotationProgress) GetUpdateTime() *timestamppb.Timestamp { +func (x *VideoAnnotationProgress) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } @@ -2876,12 +2876,12 @@ type WordInfo struct { // corresponding to the start of the spoken word. This field is only set if // `enable_word_time_offsets=true` and only in the top hypothesis. This is an // experimental feature and the accuracy of the time offset can vary. - StartTime *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time offset relative to the beginning of the audio, and // corresponding to the end of the spoken word. This field is only set if // `enable_word_time_offsets=true` and only in the top hypothesis. This is an // experimental feature and the accuracy of the time offset can vary. - EndTime *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The word corresponding to this set of information. Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` // Output only. The confidence estimate between 0.0 and 1.0. A higher number @@ -2930,14 +2930,14 @@ func (*WordInfo) Descriptor() ([]byte, []int) { return file_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto_rawDescGZIP(), []int{34} } -func (x *WordInfo) GetStartTime() *durationpb.Duration { +func (x *WordInfo) GetStartTime() *duration.Duration { if x != nil { return x.StartTime } return nil } -func (x *WordInfo) GetEndTime() *durationpb.Duration { +func (x *WordInfo) GetEndTime() *duration.Duration { if x != nil { return x.EndTime } @@ -3171,7 +3171,7 @@ type TextFrame struct { // Bounding polygon of the detected text for this frame. RotatedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=rotated_bounding_box,json=rotatedBoundingBox,proto3" json:"rotated_bounding_box,omitempty"` // Timestamp of this frame. - TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` } func (x *TextFrame) Reset() { @@ -3213,7 +3213,7 @@ func (x *TextFrame) GetRotatedBoundingBox() *NormalizedBoundingPoly { return nil } -func (x *TextFrame) GetTimeOffset() *durationpb.Duration { +func (x *TextFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -3290,7 +3290,7 @@ type ObjectTrackingFrame struct { // The normalized bounding box location of this object track for the frame. NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` // The timestamp of the frame in microseconds. - TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` } func (x *ObjectTrackingFrame) Reset() { @@ -3332,7 +3332,7 @@ func (x *ObjectTrackingFrame) GetNormalizedBoundingBox() *NormalizedBoundingBox return nil } -func (x *ObjectTrackingFrame) GetTimeOffset() *durationpb.Duration { +func (x *ObjectTrackingFrame) GetTimeOffset() *duration.Duration { if x != nil { return x.TimeOffset } @@ -5458,9 +5458,9 @@ var file_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto_goTyp (*StreamingAutomlObjectTrackingConfig)(nil), // 57: google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig (*StreamingStorageConfig)(nil), // 58: google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig (*CelebrityTrack_RecognizedCelebrity)(nil), // 59: google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - (*durationpb.Duration)(nil), // 60: google.protobuf.Duration + (*duration.Duration)(nil), // 60: google.protobuf.Duration (*status.Status)(nil), // 61: google.rpc.Status - (*timestamppb.Timestamp)(nil), // 62: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 62: google.protobuf.Timestamp (*longrunning.Operation)(nil), // 63: google.longrunning.Operation } var file_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto_depIdxs = []int32{ diff --git a/vision/v2/apiv1p1beta1/visionpb/geometry.pb.go b/vision/v2/apiv1p1beta1/visionpb/geometry.pb.go index 5b80e17e661..b7fe1d7699f 100644 --- a/vision/v2/apiv1p1beta1/visionpb/geometry.pb.go +++ b/vision/v2/apiv1p1beta1/visionpb/geometry.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/vision/v1p1beta1/geometry.proto package visionpb diff --git a/vision/v2/apiv1p1beta1/visionpb/image_annotator.pb.go b/vision/v2/apiv1p1beta1/visionpb/image_annotator.pb.go index c0e6f961cc6..0283589ccef 100644 --- a/vision/v2/apiv1p1beta1/visionpb/image_annotator.pb.go +++ b/vision/v2/apiv1p1beta1/visionpb/image_annotator.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/vision/v1p1beta1/image_annotator.proto package visionpb diff --git a/vision/v2/apiv1p1beta1/visionpb/text_annotation.pb.go b/vision/v2/apiv1p1beta1/visionpb/text_annotation.pb.go index cb9173b9c55..ad7ec9c8d45 100644 --- a/vision/v2/apiv1p1beta1/visionpb/text_annotation.pb.go +++ b/vision/v2/apiv1p1beta1/visionpb/text_annotation.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/vision/v1p1beta1/text_annotation.proto package visionpb diff --git a/vision/v2/apiv1p1beta1/visionpb/web_detection.pb.go b/vision/v2/apiv1p1beta1/visionpb/web_detection.pb.go index 61351048141..6b05d92a5ec 100644 --- a/vision/v2/apiv1p1beta1/visionpb/web_detection.pb.go +++ b/vision/v2/apiv1p1beta1/visionpb/web_detection.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/vision/v1p1beta1/web_detection.proto package visionpb diff --git a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go index 8e6158909e6..f2a8f143e1b 100644 --- a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/webrisk/v1beta1/webrisk.proto package webriskpb @@ -26,13 +26,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -300,7 +300,7 @@ type ComputeThreatListDiffResponse struct { // request. Querying sooner is unlikely to produce a meaningful diff. // Waiting longer is acceptable considering the use case. // If this field is not set clients may update as soon as they want. - RecommendedNextDiff *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=recommended_next_diff,json=recommendedNextDiff,proto3" json:"recommended_next_diff,omitempty"` + RecommendedNextDiff *timestamp.Timestamp `protobuf:"bytes,2,opt,name=recommended_next_diff,json=recommendedNextDiff,proto3" json:"recommended_next_diff,omitempty"` } func (x *ComputeThreatListDiffResponse) Reset() { @@ -370,7 +370,7 @@ func (x *ComputeThreatListDiffResponse) GetChecksum() *ComputeThreatListDiffResp return nil } -func (x *ComputeThreatListDiffResponse) GetRecommendedNextDiff() *timestamppb.Timestamp { +func (x *ComputeThreatListDiffResponse) GetRecommendedNextDiff() *timestamp.Timestamp { if x != nil { return x.RecommendedNextDiff } @@ -552,7 +552,7 @@ type SearchHashesResponse struct { Threats []*SearchHashesResponse_ThreatHash `protobuf:"bytes,1,rep,name=threats,proto3" json:"threats,omitempty"` // For requested entities that did not match the threat list, how long to // cache the response until. - NegativeExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=negative_expire_time,json=negativeExpireTime,proto3" json:"negative_expire_time,omitempty"` + NegativeExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=negative_expire_time,json=negativeExpireTime,proto3" json:"negative_expire_time,omitempty"` } func (x *SearchHashesResponse) Reset() { @@ -594,7 +594,7 @@ func (x *SearchHashesResponse) GetThreats() []*SearchHashesResponse_ThreatHash { return nil } -func (x *SearchHashesResponse) GetNegativeExpireTime() *timestamppb.Timestamp { +func (x *SearchHashesResponse) GetNegativeExpireTime() *timestamp.Timestamp { if x != nil { return x.NegativeExpireTime } @@ -1054,7 +1054,7 @@ type SearchUrisResponse_ThreatUri struct { ThreatTypes []ThreatType `protobuf:"varint,1,rep,packed,name=threat_types,json=threatTypes,proto3,enum=google.cloud.webrisk.v1beta1.ThreatType" json:"threat_types,omitempty"` // The cache lifetime for the returned match. Clients must not cache this // response past this timestamp to avoid false positives. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` } func (x *SearchUrisResponse_ThreatUri) Reset() { @@ -1096,7 +1096,7 @@ func (x *SearchUrisResponse_ThreatUri) GetThreatTypes() []ThreatType { return nil } -func (x *SearchUrisResponse_ThreatUri) GetExpireTime() *timestamppb.Timestamp { +func (x *SearchUrisResponse_ThreatUri) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -1117,7 +1117,7 @@ type SearchHashesResponse_ThreatHash struct { Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // The cache lifetime for the returned match. Clients must not cache this // response past this timestamp to avoid false positives. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` } func (x *SearchHashesResponse_ThreatHash) Reset() { @@ -1166,7 +1166,7 @@ func (x *SearchHashesResponse_ThreatHash) GetHash() []byte { return nil } -func (x *SearchHashesResponse_ThreatHash) GetExpireTime() *timestamppb.Timestamp { +func (x *SearchHashesResponse_ThreatHash) GetExpireTime() *timestamp.Timestamp { if x != nil { return x.ExpireTime } @@ -1455,7 +1455,7 @@ var file_google_cloud_webrisk_v1beta1_webrisk_proto_goTypes = []interface{}{ (*ComputeThreatListDiffResponse_Checksum)(nil), // 15: google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum (*SearchUrisResponse_ThreatUri)(nil), // 16: google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri (*SearchHashesResponse_ThreatHash)(nil), // 17: google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp } var file_google_cloud_webrisk_v1beta1_webrisk_proto_depIdxs = []int32{ 0, // 0: google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.threat_type:type_name -> google.cloud.webrisk.v1beta1.ThreatType diff --git a/workflows/apiv1beta/workflowspb/workflows.pb.go b/workflows/apiv1beta/workflowspb/workflows.pb.go index 06f1144b7b2..dc9697d4eff 100644 --- a/workflows/apiv1beta/workflowspb/workflows.pb.go +++ b/workflows/apiv1beta/workflowspb/workflows.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/workflows/v1beta/workflows.proto package workflowspb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -117,12 +117,12 @@ type Workflow struct { // 3 hexadecimal random characters. RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` // Output only. The timestamp of when the workflow was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update timestamp of the workflow. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The timestamp that the latest revision of the workflow // was created. - RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"` + RevisionCreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"` // Labels associated with this workflow. // Labels can contain at most 64 entries. Keys and values can be no longer // than 63 characters and can only contain lowercase letters, numeric @@ -212,21 +212,21 @@ func (x *Workflow) GetRevisionId() string { return "" } -func (x *Workflow) GetCreateTime() *timestamppb.Timestamp { +func (x *Workflow) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *Workflow) GetUpdateTime() *timestamppb.Timestamp { +func (x *Workflow) GetUpdateTime() *timestamp.Timestamp { if x != nil { return x.UpdateTime } return nil } -func (x *Workflow) GetRevisionCreateTime() *timestamppb.Timestamp { +func (x *Workflow) GetRevisionCreateTime() *timestamp.Timestamp { if x != nil { return x.RevisionCreateTime } @@ -632,7 +632,7 @@ type UpdateWorkflowRequest struct { Workflow *Workflow `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` // List of fields to be updated. If not present, the entire workflow // will be updated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateWorkflowRequest) Reset() { @@ -674,7 +674,7 @@ func (x *UpdateWorkflowRequest) GetWorkflow() *Workflow { return nil } -func (x *UpdateWorkflowRequest) GetUpdateMask() *fieldmaskpb.FieldMask { +func (x *UpdateWorkflowRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } @@ -688,9 +688,9 @@ type OperationMetadata struct { unknownFields protoimpl.UnknownFields // The time the operation was created. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Name of the verb executed by the operation. @@ -731,14 +731,14 @@ func (*OperationMetadata) Descriptor() ([]byte, []int) { return file_google_cloud_workflows_v1beta_workflows_proto_rawDescGZIP(), []int{7} } -func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -1014,8 +1014,8 @@ var file_google_cloud_workflows_v1beta_workflows_proto_goTypes = []interface{}{ (*UpdateWorkflowRequest)(nil), // 7: google.cloud.workflows.v1beta.UpdateWorkflowRequest (*OperationMetadata)(nil), // 8: google.cloud.workflows.v1beta.OperationMetadata nil, // 9: google.cloud.workflows.v1beta.Workflow.LabelsEntry - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp - (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask (*longrunning.Operation)(nil), // 12: google.longrunning.Operation } var file_google_cloud_workflows_v1beta_workflows_proto_depIdxs = []int32{ diff --git a/workflows/executions/apiv1beta/executionspb/executions.pb.go b/workflows/executions/apiv1beta/executionspb/executions.pb.go index 7aae7961937..4f31a13637f 100644 --- a/workflows/executions/apiv1beta/executionspb/executions.pb.go +++ b/workflows/executions/apiv1beta/executionspb/executions.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.21.5 +// protoc v3.12.2 // source: google/cloud/workflows/executions/v1beta/executions.proto package executionspb @@ -25,13 +25,13 @@ import ( reflect "reflect" sync "sync" + timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -169,9 +169,9 @@ type Execution struct { // projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Marks the beginning of execution. - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Marks the end of execution, successful or not. - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Current state of the execution. State Execution_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.workflows.executions.v1beta.Execution_State" json:"state,omitempty"` // Input parameters of the execution represented as a JSON string. @@ -227,14 +227,14 @@ func (x *Execution) GetName() string { return "" } -func (x *Execution) GetStartTime() *timestamppb.Timestamp { +func (x *Execution) GetStartTime() *timestamp.Timestamp { if x != nil { return x.StartTime } return nil } -func (x *Execution) GetEndTime() *timestamppb.Timestamp { +func (x *Execution) GetEndTime() *timestamp.Timestamp { if x != nil { return x.EndTime } @@ -889,7 +889,7 @@ var file_google_cloud_workflows_executions_v1beta_executions_proto_goTypes = []i (*GetExecutionRequest)(nil), // 6: google.cloud.workflows.executions.v1beta.GetExecutionRequest (*CancelExecutionRequest)(nil), // 7: google.cloud.workflows.executions.v1beta.CancelExecutionRequest (*Execution_Error)(nil), // 8: google.cloud.workflows.executions.v1beta.Execution.Error - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp + (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp } var file_google_cloud_workflows_executions_v1beta_executions_proto_depIdxs = []int32{ 9, // 0: google.cloud.workflows.executions.v1beta.Execution.start_time:type_name -> google.protobuf.Timestamp