• 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/explanation.proto
18 
19 package com.google.cloud.aiplatform.v1beta1;
20 
21 public interface PresetsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.Presets)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Preset option controlling parameters for speed-precision trade-off when
31    * querying for examples. If omitted, defaults to `PRECISE`.
32    * </pre>
33    *
34    * <code>optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;</code>
35    *
36    * @return Whether the query field is set.
37    */
hasQuery()38   boolean hasQuery();
39   /**
40    *
41    *
42    * <pre>
43    * Preset option controlling parameters for speed-precision trade-off when
44    * querying for examples. If omitted, defaults to `PRECISE`.
45    * </pre>
46    *
47    * <code>optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;</code>
48    *
49    * @return The enum numeric value on the wire for query.
50    */
getQueryValue()51   int getQueryValue();
52   /**
53    *
54    *
55    * <pre>
56    * Preset option controlling parameters for speed-precision trade-off when
57    * querying for examples. If omitted, defaults to `PRECISE`.
58    * </pre>
59    *
60    * <code>optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;</code>
61    *
62    * @return The query.
63    */
getQuery()64   com.google.cloud.aiplatform.v1beta1.Presets.Query getQuery();
65 
66   /**
67    *
68    *
69    * <pre>
70    * The modality of the uploaded model, which automatically configures the
71    * distance measurement and feature normalization for the underlying example
72    * index and queries. If your model does not precisely fit one of these types,
73    * it is okay to choose the closest type.
74    * </pre>
75    *
76    * <code>.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;</code>
77    *
78    * @return The enum numeric value on the wire for modality.
79    */
getModalityValue()80   int getModalityValue();
81   /**
82    *
83    *
84    * <pre>
85    * The modality of the uploaded model, which automatically configures the
86    * distance measurement and feature normalization for the underlying example
87    * index and queries. If your model does not precisely fit one of these types,
88    * it is okay to choose the closest type.
89    * </pre>
90    *
91    * <code>.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;</code>
92    *
93    * @return The modality.
94    */
getModality()95   com.google.cloud.aiplatform.v1beta1.Presets.Modality getModality();
96 }
97