...

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

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

     1  // Copyright 2021 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/geometry.proto
    20  
    21  package schema
    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  // A vertex represents a 2D point in the image.
    39  // NOTE: the normalized vertex coordinates are relative to the original image
    40  // and range from 0 to 1.
    41  type Vertex struct {
    42  	state         protoimpl.MessageState
    43  	sizeCache     protoimpl.SizeCache
    44  	unknownFields protoimpl.UnknownFields
    45  
    46  	// X coordinate.
    47  	X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
    48  	// Y coordinate.
    49  	Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
    50  }
    51  
    52  func (x *Vertex) Reset() {
    53  	*x = Vertex{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *Vertex) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*Vertex) ProtoMessage() {}
    66  
    67  func (x *Vertex) ProtoReflect() protoreflect.Message {
    68  	mi := &file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use Vertex.ProtoReflect.Descriptor instead.
    80  func (*Vertex) Descriptor() ([]byte, []int) {
    81  	return file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *Vertex) GetX() float64 {
    85  	if x != nil {
    86  		return x.X
    87  	}
    88  	return 0
    89  }
    90  
    91  func (x *Vertex) GetY() float64 {
    92  	if x != nil {
    93  		return x.Y
    94  	}
    95  	return 0
    96  }
    97  
    98  var File_google_cloud_aiplatform_v1beta1_schema_geometry_proto protoreflect.FileDescriptor
    99  
   100  var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc = []byte{
   101  	0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   102  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   103  	0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72,
   104  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   105  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   106  	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22,
   107  	0x24, 0x0a, 0x06, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01,
   108  	0x20, 0x01, 0x28, 0x01, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01,
   109  	0x28, 0x01, 0x52, 0x01, 0x79, 0x42, 0x8a, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   110  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61,
   111  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63,
   112  	0x68, 0x65, 0x6d, 0x61, 0x42, 0x0d, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x50, 0x72,
   113  	0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   114  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
   115  	0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f,
   116  	0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31,
   117  	0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68,
   118  	0x65, 0x6d, 0x61, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
   119  	0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31,
   120  	0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xca, 0x02, 0x26, 0x47,
   121  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c,
   122  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53,
   123  	0x63, 0x68, 0x65, 0x6d, 0x61, 0xea, 0x02, 0x2a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
   124  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   125  	0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65,
   126  	0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   127  }
   128  
   129  var (
   130  	file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescOnce sync.Once
   131  	file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc
   132  )
   133  
   134  func file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescGZIP() []byte {
   135  	file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescOnce.Do(func() {
   136  		file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData)
   137  	})
   138  	return file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData
   139  }
   140  
   141  var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   142  var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_goTypes = []interface{}{
   143  	(*Vertex)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.Vertex
   144  }
   145  var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_depIdxs = []int32{
   146  	0, // [0:0] is the sub-list for method output_type
   147  	0, // [0:0] is the sub-list for method input_type
   148  	0, // [0:0] is the sub-list for extension type_name
   149  	0, // [0:0] is the sub-list for extension extendee
   150  	0, // [0:0] is the sub-list for field type_name
   151  }
   152  
   153  func init() { file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_init() }
   154  func file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_init() {
   155  	if File_google_cloud_aiplatform_v1beta1_schema_geometry_proto != nil {
   156  		return
   157  	}
   158  	if !protoimpl.UnsafeEnabled {
   159  		file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   160  			switch v := v.(*Vertex); i {
   161  			case 0:
   162  				return &v.state
   163  			case 1:
   164  				return &v.sizeCache
   165  			case 2:
   166  				return &v.unknownFields
   167  			default:
   168  				return nil
   169  			}
   170  		}
   171  	}
   172  	type x struct{}
   173  	out := protoimpl.TypeBuilder{
   174  		File: protoimpl.DescBuilder{
   175  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   176  			RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc,
   177  			NumEnums:      0,
   178  			NumMessages:   1,
   179  			NumExtensions: 0,
   180  			NumServices:   0,
   181  		},
   182  		GoTypes:           file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_goTypes,
   183  		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_depIdxs,
   184  		MessageInfos:      file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes,
   185  	}.Build()
   186  	File_google_cloud_aiplatform_v1beta1_schema_geometry_proto = out.File
   187  	file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc = nil
   188  	file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_goTypes = nil
   189  	file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_depIdxs = nil
   190  }
   191  

View as plain text