Send feedback
Class Value.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 Value . Builder extends GeneratedMessageV3 . Builder<Value . Builder > implements ValueOrBuilder
Value is the value of the field.
Protobuf type google.cloud.aiplatform.v1.Value
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 Value . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
Returns
public Value buildPartial ()
Returns
public Value . Builder clear ()
Returns
Overrides
public Value . Builder clearDoubleValue ()
A double value.
double double_value = 2;
Returns
public Value . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public Value . Builder clearIntValue ()
An integer value.
int64 int_value = 1;
Returns
public Value . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public Value . Builder clearStringValue ()
A string value.
string string_value = 3;
Returns
public Value . Builder clearValue ()
Returns
public Value . Builder clone ()
Returns
Overrides
public Value getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public double getDoubleValue ()
A double value.
double double_value = 2;
Returns
Type Description double The doubleValue.
public long getIntValue ()
An integer value.
int64 int_value = 1;
Returns
Type Description long The intValue.
public String getStringValue ()
A string value.
string string_value = 3;
Returns
Type Description String The stringValue.
public ByteString getStringValueBytes ()
A string value.
string string_value = 3;
Returns
Type Description ByteString The bytes for stringValue.
public Value . ValueCase getValueCase ()
Returns
public boolean hasDoubleValue ()
A double value.
double double_value = 2;
Returns
Type Description boolean Whether the doubleValue field is set.
public boolean hasIntValue ()
An integer value.
int64 int_value = 1;
Returns
Type Description boolean Whether the intValue field is set.
public boolean hasStringValue ()
A string value.
string string_value = 3;
Returns
Type Description boolean Whether the stringValue field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Value . Builder mergeFrom ( Value other )
Parameter
Name Description other Value
Returns
public Value . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public Value . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final Value . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public Value . Builder setDoubleValue ( double value )
A double value.
double double_value = 2;
Parameter
Name Description value double
The doubleValue to set.
Returns
public Value . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public Value . Builder setIntValue ( long value )
An integer value.
int64 int_value = 1;
Parameter
Name Description value long
The intValue to set.
Returns
public Value . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public Value . Builder setStringValue ( String value )
A string value.
string string_value = 3;
Parameter
Name Description value String
The stringValue to set.
Returns
public Value . Builder setStringValueBytes ( ByteString value )
A string value.
string string_value = 3;
Parameter
Name Description value ByteString
The bytes for stringValue to set.
Returns
public final Value . 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."],[],[]]