...

Source file src/google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1/annotation_spec.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1

     1  // Copyright 2020 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.25.0
    18  // 	protoc        v3.13.0
    19  // source: google/cloud/visualinspection/v1beta1/annotation_spec.proto
    20  
    21  package visualinspection
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	proto "github.com/golang/protobuf/proto"
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    30  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    31  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // This is a compile-time assertion that a sufficiently up-to-date version
    42  // of the legacy proto package is being used.
    43  const _ = proto.ProtoPackageIsVersion4
    44  
    45  // Resource of an AnnotationSpec.
    46  type AnnotationSpec struct {
    47  	state         protoimpl.MessageState
    48  	sizeCache     protoimpl.SizeCache
    49  	unknownFields protoimpl.UnknownFields
    50  
    51  	// Output only. Resource name for the AnnotationSpec generated by the system.
    52  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    53  	// Required. A user friendly display name for the AnnotationSpec.
    54  	// The name can be up to 128 characters long and can be consist of any UTF-8
    55  	// characters.
    56  	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    57  	// Output only. Timestamp when this AnnotationSpec was created.
    58  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    59  	// Output only. Timestamp when AnnotationSpec was last updated.
    60  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    61  }
    62  
    63  func (x *AnnotationSpec) Reset() {
    64  	*x = AnnotationSpec{}
    65  	if protoimpl.UnsafeEnabled {
    66  		mi := &file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_msgTypes[0]
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		ms.StoreMessageInfo(mi)
    69  	}
    70  }
    71  
    72  func (x *AnnotationSpec) String() string {
    73  	return protoimpl.X.MessageStringOf(x)
    74  }
    75  
    76  func (*AnnotationSpec) ProtoMessage() {}
    77  
    78  func (x *AnnotationSpec) ProtoReflect() protoreflect.Message {
    79  	mi := &file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_msgTypes[0]
    80  	if protoimpl.UnsafeEnabled && x != nil {
    81  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    82  		if ms.LoadMessageInfo() == nil {
    83  			ms.StoreMessageInfo(mi)
    84  		}
    85  		return ms
    86  	}
    87  	return mi.MessageOf(x)
    88  }
    89  
    90  // Deprecated: Use AnnotationSpec.ProtoReflect.Descriptor instead.
    91  func (*AnnotationSpec) Descriptor() ([]byte, []int) {
    92  	return file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescGZIP(), []int{0}
    93  }
    94  
    95  func (x *AnnotationSpec) GetName() string {
    96  	if x != nil {
    97  		return x.Name
    98  	}
    99  	return ""
   100  }
   101  
   102  func (x *AnnotationSpec) GetDisplayName() string {
   103  	if x != nil {
   104  		return x.DisplayName
   105  	}
   106  	return ""
   107  }
   108  
   109  func (x *AnnotationSpec) GetCreateTime() *timestamppb.Timestamp {
   110  	if x != nil {
   111  		return x.CreateTime
   112  	}
   113  	return nil
   114  }
   115  
   116  func (x *AnnotationSpec) GetUpdateTime() *timestamppb.Timestamp {
   117  	if x != nil {
   118  		return x.UpdateTime
   119  	}
   120  	return nil
   121  }
   122  
   123  var File_google_cloud_visualinspection_v1beta1_annotation_spec_proto protoreflect.FileDescriptor
   124  
   125  var file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDesc = []byte{
   126  	0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
   127  	0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
   128  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
   129  	0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67,
   130  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75,
   131  	0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62,
   132  	0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
   133  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   134  	0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
   135  	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
   136  	0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
   137  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
   138  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
   139  	0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   140  	0xea, 0x02, 0x0a, 0x0e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70,
   141  	0x65, 0x63, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   142  	0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64,
   143  	0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   144  	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
   145  	0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
   146  	0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   147  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
   148  	0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
   149  	0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
   150  	0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   151  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   152  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64,
   153  	0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0x92, 0x01, 0xea, 0x41, 0x8e, 0x01, 0x0a, 0x2e,
   154  	0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   155  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   156  	0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5c,
   157  	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
   158  	0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f,
   159  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73,
   160  	0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x7d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
   161  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x7b, 0x61, 0x6e, 0x6e, 0x6f,
   162  	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x7d, 0x42, 0xff, 0x01, 0x0a,
   163  	0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   164  	0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69,
   165  	0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x55, 0x67, 0x6f,
   166  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
   167  	0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   168  	0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c,
   169  	0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
   170  	0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74,
   171  	0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
   172  	0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74,
   173  	0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x25, 0x47, 0x6f,
   174  	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x75, 0x61,
   175  	0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65,
   176  	0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
   177  	0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65,
   178  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06,
   179  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   180  }
   181  
   182  var (
   183  	file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescOnce sync.Once
   184  	file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDesc
   185  )
   186  
   187  func file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescGZIP() []byte {
   188  	file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescOnce.Do(func() {
   189  		file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescData)
   190  	})
   191  	return file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDescData
   192  }
   193  
   194  var file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   195  var file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_goTypes = []interface{}{
   196  	(*AnnotationSpec)(nil),        // 0: google.cloud.visualinspection.v1beta1.AnnotationSpec
   197  	(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
   198  }
   199  var file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_depIdxs = []int32{
   200  	1, // 0: google.cloud.visualinspection.v1beta1.AnnotationSpec.create_time:type_name -> google.protobuf.Timestamp
   201  	1, // 1: google.cloud.visualinspection.v1beta1.AnnotationSpec.update_time:type_name -> google.protobuf.Timestamp
   202  	2, // [2:2] is the sub-list for method output_type
   203  	2, // [2:2] is the sub-list for method input_type
   204  	2, // [2:2] is the sub-list for extension type_name
   205  	2, // [2:2] is the sub-list for extension extendee
   206  	0, // [0:2] is the sub-list for field type_name
   207  }
   208  
   209  func init() { file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_init() }
   210  func file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_init() {
   211  	if File_google_cloud_visualinspection_v1beta1_annotation_spec_proto != nil {
   212  		return
   213  	}
   214  	if !protoimpl.UnsafeEnabled {
   215  		file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   216  			switch v := v.(*AnnotationSpec); i {
   217  			case 0:
   218  				return &v.state
   219  			case 1:
   220  				return &v.sizeCache
   221  			case 2:
   222  				return &v.unknownFields
   223  			default:
   224  				return nil
   225  			}
   226  		}
   227  	}
   228  	type x struct{}
   229  	out := protoimpl.TypeBuilder{
   230  		File: protoimpl.DescBuilder{
   231  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   232  			RawDescriptor: file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDesc,
   233  			NumEnums:      0,
   234  			NumMessages:   1,
   235  			NumExtensions: 0,
   236  			NumServices:   0,
   237  		},
   238  		GoTypes:           file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_goTypes,
   239  		DependencyIndexes: file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_depIdxs,
   240  		MessageInfos:      file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_msgTypes,
   241  	}.Build()
   242  	File_google_cloud_visualinspection_v1beta1_annotation_spec_proto = out.File
   243  	file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_rawDesc = nil
   244  	file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_goTypes = nil
   245  	file_google_cloud_visualinspection_v1beta1_annotation_spec_proto_depIdxs = nil
   246  }
   247  

View as plain text