public static final class PartialArg.Builder extends GeneratedMessage.Builder<PartialArg.Builder> implements PartialArgOrBuilderPartial argument value of the function call.
Protobuf type google.cloud.vertexai.v1.PartialArg
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PartialArg.BuilderImplements
PartialArgOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PartialArg.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
|
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 |
booleanThe boolValue to set. |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
NullValueThe 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 |
intThe 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 |
doubleThe numberValue to set. |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
This builder for chaining. |
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 |
booleanThe willContinue to set. |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
This builder for chaining. |