public final class Presets extends GeneratedMessageV3 implements PresetsOrBuilder
Preset configuration for example-based explanations
Protobuf type google.cloud.aiplatform.v1beta1.Presets
Static Fields
public static final int MODALITY_FIELD_NUMBER
Field Value
public static final int QUERY_FIELD_NUMBER
Field Value
Static Methods
public static Presets getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Presets.Builder newBuilder()
Returns
public static Presets.Builder newBuilder(Presets prototype)
Parameter
Returns
public static Presets parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Presets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Presets parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Presets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Presets parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Presets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Presets parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Presets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Presets parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Presets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Presets parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Presets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Presets> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Presets getDefaultInstanceForType()
Returns
public Presets.Modality getModality()
Preset option controlling parameters for different modalities
.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;
Returns
public int getModalityValue()
Preset option controlling parameters for different modalities
.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for modality.
|
public Parser<Presets> getParserForType()
Returns
Overrides
public Presets.Query getQuery()
Preset option controlling parameters for query speed-precision trade-off
optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;
Returns
public int getQueryValue()
Preset option controlling parameters for query speed-precision trade-off
optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for query.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasQuery()
Preset option controlling parameters for query speed-precision trade-off
optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;
Returns
Type | Description |
boolean | Whether the query field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Presets.Builder newBuilderForType()
Returns
protected Presets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Presets.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions