Send feedback
Class Presets.Builder (3.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.0 keyboard_arrow_down
public static final class Presets . Builder extends GeneratedMessageV3 . Builder<Presets . Builder > implements PresetsOrBuilder
Preset configuration for example-based explanations
Protobuf type google.cloud.aiplatform.v1beta1.Presets
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public Presets . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
Returns
public Presets buildPartial ()
Returns
public Presets . Builder clear ()
Returns
Overrides
public Presets . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public Presets . Builder clearModality ()
Preset option controlling parameters for different modalities
.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;
Returns
public Presets . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public Presets . Builder clearQuery ()
Preset option controlling parameters for query speed-precision trade-off
optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;
Returns
public Presets . Builder clone ()
Returns
Overrides
public Presets getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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 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 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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Presets . Builder mergeFrom ( Presets other )
Parameter
Returns
public Presets . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public Presets . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final Presets . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public Presets . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public Presets . Builder setModality ( Presets . Modality value )
Preset option controlling parameters for different modalities
.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;
Parameter
Returns
public Presets . Builder setModalityValue ( int value )
Preset option controlling parameters for different modalities
.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;
Parameter
Name Description value int
The enum numeric value on the wire for modality to set.
Returns
public Presets . Builder setQuery ( Presets . Query value )
Preset option controlling parameters for query speed-precision trade-off
optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;
Parameter
Returns
public Presets . Builder setQueryValue ( int value )
Preset option controlling parameters for query speed-precision trade-off
optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;
Parameter
Name Description value int
The enum numeric value on the wire for query to set.
Returns
public Presets . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final Presets . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]