Class PartialArg.Builder (3.82.0)

public static final class PartialArg.Builder extends GeneratedMessageV3.Builder<PartialArg.Builder> implements PartialArgOrBuilder

Partial argument value of the function call.

Protobuf type google.cloud.aiplatform.v1.PartialArg

Implements

PartialArgOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PartialArg.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PartialArg.Builder
Overrides

build()

public PartialArg build()
Returns
Type Description
PartialArg

buildPartial()

public PartialArg buildPartial()
Returns
Type Description
PartialArg

clear()

public PartialArg.Builder clear()
Returns
Type Description
PartialArg.Builder
Overrides

clearBoolValue()

public PartialArg.Builder clearBoolValue()

Optional. Represents a boolean value.

bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PartialArg.Builder

This builder for chaining.

clearDelta()

public PartialArg.Builder clearDelta()
Returns
Type Description
PartialArg.Builder

clearField(Descriptors.FieldDescriptor field)

public PartialArg.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PartialArg.Builder
Overrides

clearJsonPath()

public PartialArg.Builder clearJsonPath()

Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".

string json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PartialArg.Builder

This builder for chaining.

clearNullValue()

public PartialArg.Builder clearNullValue()

Optional. Represents a null value.

.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PartialArg.Builder

This builder for chaining.

clearNumberValue()

public PartialArg.Builder clearNumberValue()

Optional. Represents a double value.

double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PartialArg.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PartialArg.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PartialArg.Builder
Overrides

clearStringValue()

public PartialArg.Builder clearStringValue()

Optional. Represents a string value.

string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PartialArg.Builder

This builder for chaining.

clearWillContinue()

public PartialArg.Builder clearWillContinue()

Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.

bool will_continue = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PartialArg.Builder

This builder for chaining.

clone()

public PartialArg.Builder clone()
Returns
Type Description
PartialArg.Builder
Overrides

getBoolValue()

public boolean getBoolValue()

Optional. Represents a boolean value.

bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The boolValue.

getDefaultInstanceForType()

public PartialArg getDefaultInstanceForType()
Returns
Type Description
PartialArg

getDeltaCase()

public PartialArg.DeltaCase getDeltaCase()
Returns
Type Description
PartialArg.DeltaCase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJsonPath()

public String getJsonPath()

Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".

string json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The jsonPath.

getJsonPathBytes()

public ByteString getJsonPathBytes()

Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".

string json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for jsonPath.

getNullValue()

public NullValue getNullValue()

Optional. Represents a null value.

.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NullValue

The nullValue.

getNullValueValue()

public int getNullValueValue()

Optional. Represents a null value.

.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for nullValue.

getNumberValue()

public double getNumberValue()

Optional. Represents a double value.

double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The numberValue.

getStringValue()

public String getStringValue()

Optional. Represents a string value.

string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

Optional. Represents a string value.

string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for stringValue.

getWillContinue()

public boolean getWillContinue()

Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.

bool will_continue = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The willContinue.

hasBoolValue()

public boolean hasBoolValue()

Optional. Represents a boolean value.

bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the boolValue field is set.

hasNullValue()

public boolean hasNullValue()

Optional. Represents a null value.

.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nullValue field is set.

hasNumberValue()

public boolean hasNumberValue()

Optional. Represents a double value.

double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the numberValue field is set.

hasStringValue()

public boolean hasStringValue()

Optional. Represents a string value.

string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PartialArg other)

public PartialArg.Builder mergeFrom(PartialArg other)
Parameter
Name Description
other PartialArg
Returns
Type Description
PartialArg.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PartialArg.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PartialArg.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PartialArg.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PartialArg.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PartialArg.Builder
Overrides

setBoolValue(boolean value)

public PartialArg.Builder setBoolValue(boolean value)

Optional. Represents a boolean value.

bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The boolValue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PartialArg.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PartialArg.Builder
Overrides

setJsonPath(String value)

public PartialArg.Builder setJsonPath(String value)

Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".

string json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The jsonPath to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setJsonPathBytes(ByteString value)

public PartialArg.Builder setJsonPathBytes(ByteString value)

Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".

string json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for jsonPath to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setNullValue(NullValue value)

public PartialArg.Builder setNullValue(NullValue value)

Optional. Represents a null value.

.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NullValue

The nullValue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setNullValueValue(int value)

public PartialArg.Builder setNullValueValue(int value)

Optional. Represents a null value.

.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for nullValue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setNumberValue(double value)

public PartialArg.Builder setNumberValue(double value)

Optional. Represents a double value.

double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The numberValue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PartialArg.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PartialArg.Builder
Overrides

setStringValue(String value)

public PartialArg.Builder setStringValue(String value)

Optional. Represents a string value.

string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The stringValue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setStringValueBytes(ByteString value)

public PartialArg.Builder setStringValueBytes(ByteString value)

Optional. Represents a string value.

string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for stringValue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PartialArg.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PartialArg.Builder
Overrides

setWillContinue(boolean value)

public PartialArg.Builder setWillContinue(boolean value)

Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.

bool will_continue = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The willContinue to set.

Returns
Type Description
PartialArg.Builder

This builder for chaining.