...

Source file src/google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance

     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.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto
    20  
    21  package instance
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Prediction input format for Image Segmentation.
    39  type ImageSegmentationPredictionInstance struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The image bytes to make the predictions on.
    45  	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
    46  	// The MIME type of the content of the image. Only the images in below listed
    47  	// MIME types are supported.
    48  	// - image/jpeg
    49  	// - image/png
    50  	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
    51  }
    52  
    53  func (x *ImageSegmentationPredictionInstance) Reset() {
    54  	*x = ImageSegmentationPredictionInstance{}
    55  	if protoimpl.UnsafeEnabled {
    56  		mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes[0]
    57  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    58  		ms.StoreMessageInfo(mi)
    59  	}
    60  }
    61  
    62  func (x *ImageSegmentationPredictionInstance) String() string {
    63  	return protoimpl.X.MessageStringOf(x)
    64  }
    65  
    66  func (*ImageSegmentationPredictionInstance) ProtoMessage() {}
    67  
    68  func (x *ImageSegmentationPredictionInstance) ProtoReflect() protoreflect.Message {
    69  	mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes[0]
    70  	if protoimpl.UnsafeEnabled && x != nil {
    71  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    72  		if ms.LoadMessageInfo() == nil {
    73  			ms.StoreMessageInfo(mi)
    74  		}
    75  		return ms
    76  	}
    77  	return mi.MessageOf(x)
    78  }
    79  
    80  // Deprecated: Use ImageSegmentationPredictionInstance.ProtoReflect.Descriptor instead.
    81  func (*ImageSegmentationPredictionInstance) Descriptor() ([]byte, []int) {
    82  	return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescGZIP(), []int{0}
    83  }
    84  
    85  func (x *ImageSegmentationPredictionInstance) GetContent() string {
    86  	if x != nil {
    87  		return x.Content
    88  	}
    89  	return ""
    90  }
    91  
    92  func (x *ImageSegmentationPredictionInstance) GetMimeType() string {
    93  	if x != nil {
    94  		return x.MimeType
    95  	}
    96  	return ""
    97  }
    98  
    99  var File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto protoreflect.FileDescriptor
   100  
   101  var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc = []byte{
   102  	0x0a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   103  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   104  	0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
   105  	0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
   106  	0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
   107  	0x74, 0x6f, 0x12, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   108  	0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65,
   109  	0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69,
   110  	0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x5c, 0x0a, 0x23, 0x49,
   111  	0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   112  	0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
   113  	0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
   114  	0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09,
   115  	0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   116  	0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0xfe, 0x02, 0x0a, 0x3b, 0x63, 0x6f,
   117  	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
   118  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   119  	0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
   120  	0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x28, 0x49, 0x6d, 0x61, 0x67, 0x65,
   121  	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64,
   122  	0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72,
   123  	0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   124  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
   125  	0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f,
   126  	0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31,
   127  	0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65,
   128  	0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e,
   129  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xaa, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   130  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   131  	0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e,
   132  	0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
   133  	0xca, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
   134  	0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74,
   135  	0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
   136  	0x74, 0x5c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xea, 0x02, 0x3d, 0x47, 0x6f, 0x6f,
   137  	0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c,
   138  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a,
   139  	0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
   140  	0x3a, 0x3a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   141  	0x6f, 0x33,
   142  }
   143  
   144  var (
   145  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescOnce sync.Once
   146  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc
   147  )
   148  
   149  func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescGZIP() []byte {
   150  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescOnce.Do(func() {
   151  		file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData)
   152  	})
   153  	return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData
   154  }
   155  
   156  var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   157  var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_goTypes = []interface{}{
   158  	(*ImageSegmentationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageSegmentationPredictionInstance
   159  }
   160  var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_depIdxs = []int32{
   161  	0, // [0:0] is the sub-list for method output_type
   162  	0, // [0:0] is the sub-list for method input_type
   163  	0, // [0:0] is the sub-list for extension type_name
   164  	0, // [0:0] is the sub-list for extension extendee
   165  	0, // [0:0] is the sub-list for field type_name
   166  }
   167  
   168  func init() {
   169  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_init()
   170  }
   171  func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_init() {
   172  	if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto != nil {
   173  		return
   174  	}
   175  	if !protoimpl.UnsafeEnabled {
   176  		file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   177  			switch v := v.(*ImageSegmentationPredictionInstance); i {
   178  			case 0:
   179  				return &v.state
   180  			case 1:
   181  				return &v.sizeCache
   182  			case 2:
   183  				return &v.unknownFields
   184  			default:
   185  				return nil
   186  			}
   187  		}
   188  	}
   189  	type x struct{}
   190  	out := protoimpl.TypeBuilder{
   191  		File: protoimpl.DescBuilder{
   192  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   193  			RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc,
   194  			NumEnums:      0,
   195  			NumMessages:   1,
   196  			NumExtensions: 0,
   197  			NumServices:   0,
   198  		},
   199  		GoTypes:           file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_goTypes,
   200  		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_depIdxs,
   201  		MessageInfos:      file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes,
   202  	}.Build()
   203  	File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto = out.File
   204  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc = nil
   205  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_goTypes = nil
   206  	file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_depIdxs = nil
   207  }
   208  

View as plain text