Class PartialArg (3.82.0)

public final class PartialArg extends GeneratedMessageV3 implements PartialArgOrBuilder

Partial argument value of the function call.

Protobuf type google.cloud.aiplatform.v1.PartialArg

Implements

PartialArgOrBuilder

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

JSON_PATH_FIELD_NUMBER

public static final int JSON_PATH_FIELD_NUMBER
Field Value
Type Description
int

NULL_VALUE_FIELD_NUMBER

public static final int NULL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

NUMBER_VALUE_FIELD_NUMBER

public static final int NUMBER_VALUE_FIELD_NUMBER
Field Value
Type Description
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

WILL_CONTINUE_FIELD_NUMBER

public static final int WILL_CONTINUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PartialArg getDefaultInstance()
Returns
Type Description
PartialArg

getDescriptor()

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

newBuilder()

public static PartialArg.Builder newBuilder()
Returns
Type Description
PartialArg.Builder

newBuilder(PartialArg prototype)

public static PartialArg.Builder newBuilder(PartialArg prototype)
Parameter
Name Description
prototype PartialArg
Returns
Type Description
PartialArg.Builder

parseDelimitedFrom(InputStream input)

public static PartialArg parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartialArg
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartialArg parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PartialArg parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PartialArg
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PartialArg parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PartialArg parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PartialArg
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PartialArg parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PartialArg parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PartialArg
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PartialArg parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PartialArg parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartialArg
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartialArg parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PartialArg parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PartialArg
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PartialArg parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialArg
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PartialArg> parser()
Returns
Type Description
Parser<PartialArg>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<PartialArg> getParserForType()
Returns
Type Description
Parser<PartialArg>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PartialArg.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PartialArg.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException