• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/aiplatform/v1beta1/index.proto
18 
19 package com.google.cloud.aiplatform.v1beta1;
20 
21 public final class IndexProto {
IndexProto()22   private IndexProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_aiplatform_v1beta1_Index_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_aiplatform_v1beta1_Index_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_fieldAccessorTable;
50   static final com.google.protobuf.Descriptors.Descriptor
51       internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor;
52   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
53       internal_static_google_cloud_aiplatform_v1beta1_IndexStats_fieldAccessorTable;
54 
getDescriptor()55   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
56     return descriptor;
57   }
58 
59   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
60 
61   static {
62     java.lang.String[] descriptorData = {
63       "\n+google/cloud/aiplatform/v1beta1/index."
64           + "proto\022\037google.cloud.aiplatform.v1beta1\032\037"
65           + "google/api/field_behavior.proto\032\031google/"
66           + "api/resource.proto\0328google/cloud/aiplatf"
67           + "orm/v1beta1/deployed_index_ref.proto\032\034go"
68           + "ogle/protobuf/struct.proto\032\037google/proto"
69           + "buf/timestamp.proto\"\266\006\n\005Index\022\021\n\004name\030\001 "
70           + "\001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013d"
71           + "escription\030\003 \001(\t\022 \n\023metadata_schema_uri\030"
72           + "\004 \001(\tB\003\340A\005\022(\n\010metadata\030\006 \001(\0132\026.google.pr"
73           + "otobuf.Value\022P\n\020deployed_indexes\030\007 \003(\01321"
74           + ".google.cloud.aiplatform.v1beta1.Deploye"
75           + "dIndexRefB\003\340A\003\022\014\n\004etag\030\010 \001(\t\022B\n\006labels\030\t"
76           + " \003(\01322.google.cloud.aiplatform.v1beta1.I"
77           + "ndex.LabelsEntry\0224\n\013create_time\030\n \001(\0132\032."
78           + "google.protobuf.TimestampB\003\340A\003\0224\n\013update"
79           + "_time\030\013 \001(\0132\032.google.protobuf.TimestampB"
80           + "\003\340A\003\022E\n\013index_stats\030\016 \001(\0132+.google.cloud"
81           + ".aiplatform.v1beta1.IndexStatsB\003\340A\003\022Z\n\023i"
82           + "ndex_update_method\030\020 \001(\01628.google.cloud."
83           + "aiplatform.v1beta1.Index.IndexUpdateMeth"
84           + "odB\003\340A\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
85           + "alue\030\002 \001(\t:\0028\001\"]\n\021IndexUpdateMethod\022#\n\037I"
86           + "NDEX_UPDATE_METHOD_UNSPECIFIED\020\000\022\020\n\014BATC"
87           + "H_UPDATE\020\001\022\021\n\rSTREAM_UPDATE\020\002:]\352AZ\n\037aipl"
88           + "atform.googleapis.com/Index\0227projects/{p"
89           + "roject}/locations/{location}/indexes/{in"
90           + "dex}\"\351\002\n\016IndexDatapoint\022\031\n\014datapoint_id\030"
91           + "\001 \001(\tB\003\340A\002\022\033\n\016feature_vector\030\002 \003(\002B\003\340A\002\022"
92           + "S\n\trestricts\030\004 \003(\0132;.google.cloud.aiplat"
93           + "form.v1beta1.IndexDatapoint.RestrictionB"
94           + "\003\340A\001\022V\n\014crowding_tag\030\005 \001(\0132;.google.clou"
95           + "d.aiplatform.v1beta1.IndexDatapoint.Crow"
96           + "dingTagB\003\340A\001\032G\n\013Restriction\022\021\n\tnamespace"
97           + "\030\001 \001(\t\022\022\n\nallow_list\030\002 \003(\t\022\021\n\tdeny_list\030"
98           + "\003 \003(\t\032)\n\013CrowdingTag\022\032\n\022crowding_attribu"
99           + "te\030\001 \001(\t\"C\n\nIndexStats\022\032\n\rvectors_count\030"
100           + "\001 \001(\003B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\341\001"
101           + "\n#com.google.cloud.aiplatform.v1beta1B\nI"
102           + "ndexProtoP\001ZCcloud.google.com/go/aiplatf"
103           + "orm/apiv1beta1/aiplatformpb;aiplatformpb"
104           + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo"
105           + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C"
106           + "loud::AIPlatform::V1beta1b\006proto3"
107     };
108     descriptor =
109         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
110             descriptorData,
111             new com.google.protobuf.Descriptors.FileDescriptor[] {
112               com.google.api.FieldBehaviorProto.getDescriptor(),
113               com.google.api.ResourceProto.getDescriptor(),
114               com.google.cloud.aiplatform.v1beta1.DeployedIndexRefProto.getDescriptor(),
115               com.google.protobuf.StructProto.getDescriptor(),
116               com.google.protobuf.TimestampProto.getDescriptor(),
117             });
118     internal_static_google_cloud_aiplatform_v1beta1_Index_descriptor =
119         getDescriptor().getMessageTypes().get(0);
120     internal_static_google_cloud_aiplatform_v1beta1_Index_fieldAccessorTable =
121         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
122             internal_static_google_cloud_aiplatform_v1beta1_Index_descriptor,
123             new java.lang.String[] {
124               "Name",
125               "DisplayName",
126               "Description",
127               "MetadataSchemaUri",
128               "Metadata",
129               "DeployedIndexes",
130               "Etag",
131               "Labels",
132               "CreateTime",
133               "UpdateTime",
134               "IndexStats",
135               "IndexUpdateMethod",
136             });
137     internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_descriptor =
138         internal_static_google_cloud_aiplatform_v1beta1_Index_descriptor.getNestedTypes().get(0);
139     internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_fieldAccessorTable =
140         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
141             internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_descriptor,
142             new java.lang.String[] {
143               "Key", "Value",
144             });
145     internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor =
146         getDescriptor().getMessageTypes().get(1);
147     internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_fieldAccessorTable =
148         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
149             internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor,
150             new java.lang.String[] {
151               "DatapointId", "FeatureVector", "Restricts", "CrowdingTag",
152             });
153     internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor =
154         internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor
155             .getNestedTypes()
156             .get(0);
157     internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_fieldAccessorTable =
158         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
159             internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor,
160             new java.lang.String[] {
161               "Namespace", "AllowList", "DenyList",
162             });
163     internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor =
164         internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor
165             .getNestedTypes()
166             .get(1);
167     internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_fieldAccessorTable =
168         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
169             internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor,
170             new java.lang.String[] {
171               "CrowdingAttribute",
172             });
173     internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor =
174         getDescriptor().getMessageTypes().get(2);
175     internal_static_google_cloud_aiplatform_v1beta1_IndexStats_fieldAccessorTable =
176         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
177             internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor,
178             new java.lang.String[] {
179               "VectorsCount", "ShardsCount",
180             });
181     com.google.protobuf.ExtensionRegistry registry =
182         com.google.protobuf.ExtensionRegistry.newInstance();
183     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
184     registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)185     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
186         descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor()187     com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor()188     com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1beta1.DeployedIndexRefProto.getDescriptor()189     com.google.cloud.aiplatform.v1beta1.DeployedIndexRefProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor()190     com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor()191     com.google.protobuf.TimestampProto.getDescriptor();
192   }
193 
194   // @@protoc_insertion_point(outer_class_scope)
195 }
196