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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
    • clear

      public PartialArg.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PartialArg.Builder>
    • getDefaultInstanceForType

      public PartialArg getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PartialArg build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PartialArg buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PartialArg.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PartialArg.Builder>
    • mergeFrom

      public PartialArg.Builder mergeFrom(PartialArg other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PartialArg.Builder>
      Throws:
      IOException
    • getDeltaCase

      public PartialArg.DeltaCase getDeltaCase()
      Specified by:
      getDeltaCase in interface PartialArgOrBuilder
    • clearDelta

      public PartialArg.Builder clearDelta()
    • hasNullValue

      public boolean hasNullValue()
       Optional. Represents a null value.
       
      .google.protobuf.NullValue null_value = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasNullValue in interface PartialArgOrBuilder
      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:
      getNullValueValue in interface PartialArgOrBuilder
      Returns:
      The enum numeric value on the wire for nullValue.
    • setNullValueValue

      public PartialArg.Builder setNullValueValue(int value)
       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:
      getNullValue in interface PartialArgOrBuilder
      Returns:
      The nullValue.
    • setNullValue

      public PartialArg.Builder setNullValue(com.google.protobuf.NullValue value)
       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

      public PartialArg.Builder 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:
      hasNumberValue in interface PartialArgOrBuilder
      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:
      getNumberValue in interface PartialArgOrBuilder
      Returns:
      The numberValue.
    • setNumberValue

      public PartialArg.Builder setNumberValue(double value)
       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

      public PartialArg.Builder 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:
      hasStringValue in interface PartialArgOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       Optional. Represents a string value.
       
      string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStringValue in interface PartialArgOrBuilder
      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:
      getStringValueBytes in interface PartialArgOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public PartialArg.Builder setStringValue(String value)
       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

      public PartialArg.Builder clearStringValue()
       Optional. Represents a string value.
       
      string string_value = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public PartialArg.Builder setStringValueBytes(com.google.protobuf.ByteString value)
       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:
      hasBoolValue in interface PartialArgOrBuilder
      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:
      getBoolValue in interface PartialArgOrBuilder
      Returns:
      The boolValue.
    • setBoolValue

      public PartialArg.Builder setBoolValue(boolean value)
       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

      public PartialArg.Builder clearBoolValue()
       Optional. Represents a boolean value.
       
      bool bool_value = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getJsonPath in interface PartialArgOrBuilder
      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:
      getJsonPathBytes in interface PartialArgOrBuilder
      Returns:
      The bytes for jsonPath.
    • setJsonPath

      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];
      Parameters:
      value - The jsonPath to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setJsonPathBytes

      public PartialArg.Builder setJsonPathBytes(com.google.protobuf.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];
      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:
      getWillContinue in interface PartialArgOrBuilder
      Returns:
      The willContinue.
    • setWillContinue

      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];
      Parameters:
      value - The willContinue to set.
      Returns:
      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:
      This builder for chaining.