Package com.google.cloud.aiplatform.v1
Class PartialArg.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
com.google.cloud.aiplatform.v1.PartialArg.Builder
- All Implemented Interfaces:
PartialArgOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PartialArg
public static final class PartialArg.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
implements PartialArgOrBuilder
Partial argument value of the function call.Protobuf type
google.cloud.aiplatform.v1.PartialArg-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Required.Optional.Optional.Optional.Optional.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.NullValueOptional.intOptional.doubleOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PartialArg other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBoolValue(boolean value) Optional.setJsonPath(String value) Required.setJsonPathBytes(com.google.protobuf.ByteString value) Required.setNullValue(com.google.protobuf.NullValue value) Optional.setNullValueValue(int value) Optional.setNumberValue(double value) Optional.setStringValue(String value) Optional.setStringValueBytes(com.google.protobuf.ByteString value) Optional.setWillContinue(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartialArg.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
-
mergeFrom
public PartialArg.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartialArg.Builder>- Throws:
IOException
-
getDeltaCase
- Specified by:
getDeltaCasein interfacePartialArgOrBuilder
-
clearDelta
-
hasNullValue
public boolean hasNullValue()Optional. Represents a null value.
.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNullValuein interfacePartialArgOrBuilder- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
public int getNullValueValue()Optional. Represents a null value.
.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNullValueValuein interfacePartialArgOrBuilder- Returns:
- The enum numeric value on the wire for nullValue.
-
setNullValueValue
Optional. Represents a null value.
.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for nullValue to set.- Returns:
- This builder for chaining.
-
getNullValue
public com.google.protobuf.NullValue getNullValue()Optional. Represents a null value.
.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNullValuein interfacePartialArgOrBuilder- Returns:
- The nullValue.
-
setNullValue
Optional. Represents a null value.
.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The nullValue to set.- Returns:
- This builder for chaining.
-
clearNullValue
Optional. Represents a null value.
.google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasNumberValue
public boolean hasNumberValue()Optional. Represents a double value.
double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNumberValuein interfacePartialArgOrBuilder- Returns:
- Whether the numberValue field is set.
-
getNumberValue
public double getNumberValue()Optional. Represents a double value.
double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNumberValuein interfacePartialArgOrBuilder- Returns:
- The numberValue.
-
setNumberValue
Optional. Represents a double value.
double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The numberValue to set.- Returns:
- This builder for chaining.
-
clearNumberValue
Optional. Represents a double value.
double number_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()Optional. Represents a string value.
string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStringValuein interfacePartialArgOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
Optional. Represents a string value.
string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStringValuein interfacePartialArgOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()Optional. Represents a string value.
string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStringValueBytesin interfacePartialArgOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
Optional. Represents a string value.
string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
Optional. Represents a string value.
string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setStringValueBytes
Optional. Represents a string value.
string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBoolValue
public boolean hasBoolValue()Optional. Represents a boolean value.
bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBoolValuein interfacePartialArgOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Optional. Represents a boolean value.
bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBoolValuein interfacePartialArgOrBuilder- Returns:
- The boolValue.
-
setBoolValue
Optional. Represents a boolean value.
bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
Optional. Represents a boolean value.
bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
getJsonPathin interfacePartialArgOrBuilder- Returns:
- The jsonPath.
-
getJsonPathBytes
public com.google.protobuf.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];- Specified by:
getJsonPathBytesin interfacePartialArgOrBuilder- Returns:
- The bytes for jsonPath.
-
setJsonPath
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];- Parameters:
value- The jsonPath to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setJsonPathBytes
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];- Parameters:
value- The bytes for jsonPath to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getWillContinuein interfacePartialArgOrBuilder- Returns:
- The willContinue.
-
setWillContinue
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];- Parameters:
value- The willContinue to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-