Send feedback
Class Value.Builder (3.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.53.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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ()
Methods
public Value . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
Returns
Type
Description
Value
public Value buildPartial ()
Returns
Type
Description
Value
public Value . Builder clear ()
Overrides
public Value . Builder clearDoubleValue ()
A double value.
double double_value = 2;
Returns
Type
Description
Value.Builder
This builder for chaining.
public Value . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public Value . Builder clearIntValue ()
An integer value.
int64 int_value = 1;
Returns
Type
Description
Value.Builder
This builder for chaining.
public Value . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public Value . Builder clearStringValue ()
A string value.
string string_value = 3;
Returns
Type
Description
Value.Builder
This builder for chaining.
public Value . Builder clearValue ()
public Value . Builder clone ()
Overrides
public Value getDefaultInstanceForType ()
Returns
Type
Description
Value
public Descriptors . Descriptor getDescriptorForType ()
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 ()
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 ()
Overrides
public final boolean isInitialized ()
Overrides
public Value . Builder mergeFrom ( Value other )
Parameter
Name
Description
other
Value
public Value . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public Value . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final Value . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public Value . Builder setDoubleValue ( double value )
A double value.
double double_value = 2;
Parameter
Name
Description
value
double
The doubleValue to set.
Returns
Type
Description
Value.Builder
This builder for chaining.
public Value . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Value . Builder setIntValue ( long value )
An integer value.
int64 int_value = 1;
Parameter
Name
Description
value
long
The intValue to set.
Returns
Type
Description
Value.Builder
This builder for chaining.
public Value . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public Value . Builder setStringValue ( String value )
A string value.
string string_value = 3;
Parameter
Name
Description
value
String
The stringValue to set.
Returns
Type
Description
Value.Builder
This builder for chaining.
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
Type
Description
Value.Builder
This builder for chaining.
public final Value . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]