Class Mutation.Send.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
com.google.spanner.v1.Mutation.Send.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Mutation.SendOrBuilder, Cloneable
Enclosing class:
Mutation.Send

public static final class Mutation.Send.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder> implements Mutation.SendOrBuilder
 Arguments to [send][google.spanner.v1.Mutation.send] operations.
 
Protobuf type google.spanner.v1.Mutation.Send
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • clear

      public Mutation.Send.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.GeneratedMessageV3.Builder<Mutation.Send.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.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • getDefaultInstanceForType

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

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

      public Mutation.Send buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Mutation.Send.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • setField

      public Mutation.Send.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • clearField

      public Mutation.Send.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • clearOneof

      public Mutation.Send.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • setRepeatedField

      public Mutation.Send.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • addRepeatedField

      public Mutation.Send.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • mergeFrom

      public Mutation.Send.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<Mutation.Send.Builder>
    • mergeFrom

      public Mutation.Send.Builder mergeFrom(Mutation.Send other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • mergeFrom

      public Mutation.Send.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<Mutation.Send.Builder>
      Throws:
      IOException
    • getQueue

      public String getQueue()
       Required. The queue to which the message will be sent.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQueue in interface Mutation.SendOrBuilder
      Returns:
      The queue.
    • getQueueBytes

      public com.google.protobuf.ByteString getQueueBytes()
       Required. The queue to which the message will be sent.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQueueBytes in interface Mutation.SendOrBuilder
      Returns:
      The bytes for queue.
    • setQueue

      public Mutation.Send.Builder setQueue(String value)
       Required. The queue to which the message will be sent.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The queue to set.
      Returns:
      This builder for chaining.
    • clearQueue

      public Mutation.Send.Builder clearQueue()
       Required. The queue to which the message will be sent.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setQueueBytes

      public Mutation.Send.Builder setQueueBytes(com.google.protobuf.ByteString value)
       Required. The queue to which the message will be sent.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for queue to set.
      Returns:
      This builder for chaining.
    • hasKey

      public boolean hasKey()
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasKey in interface Mutation.SendOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public com.google.protobuf.ListValue getKey()
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKey in interface Mutation.SendOrBuilder
      Returns:
      The key.
    • setKey

      public Mutation.Send.Builder setKey(com.google.protobuf.ListValue value)
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
    • setKey

      public Mutation.Send.Builder setKey(com.google.protobuf.ListValue.Builder builderForValue)
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeKey

      public Mutation.Send.Builder mergeKey(com.google.protobuf.ListValue value)
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearKey

      public Mutation.Send.Builder clearKey()
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getKeyBuilder

      public com.google.protobuf.ListValue.Builder getKeyBuilder()
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getKeyOrBuilder

      public com.google.protobuf.ListValueOrBuilder getKeyOrBuilder()
       Required. The primary key of the message to be sent.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeyOrBuilder in interface Mutation.SendOrBuilder
    • hasDeliverTime

      public boolean hasDeliverTime()
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
      Specified by:
      hasDeliverTime in interface Mutation.SendOrBuilder
      Returns:
      Whether the deliverTime field is set.
    • getDeliverTime

      public com.google.protobuf.Timestamp getDeliverTime()
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
      Specified by:
      getDeliverTime in interface Mutation.SendOrBuilder
      Returns:
      The deliverTime.
    • setDeliverTime

      public Mutation.Send.Builder setDeliverTime(com.google.protobuf.Timestamp value)
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
    • setDeliverTime

      public Mutation.Send.Builder setDeliverTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
    • mergeDeliverTime

      public Mutation.Send.Builder mergeDeliverTime(com.google.protobuf.Timestamp value)
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
    • clearDeliverTime

      public Mutation.Send.Builder clearDeliverTime()
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
    • getDeliverTimeBuilder

      public com.google.protobuf.Timestamp.Builder getDeliverTimeBuilder()
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
    • getDeliverTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeliverTimeOrBuilder()
       The time at which Spanner will begin attempting to deliver the message.
       If `deliver_time` is not set, Spanner will deliver the message
       immediately. If `deliver_time` is in the past, Spanner will replace it
       with a value closer to the current time.
       
      .google.protobuf.Timestamp deliver_time = 3;
      Specified by:
      getDeliverTimeOrBuilder in interface Mutation.SendOrBuilder
    • hasPayload

      public boolean hasPayload()
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
      Specified by:
      hasPayload in interface Mutation.SendOrBuilder
      Returns:
      Whether the payload field is set.
    • getPayload

      public com.google.protobuf.Value getPayload()
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
      Specified by:
      getPayload in interface Mutation.SendOrBuilder
      Returns:
      The payload.
    • setPayload

      public Mutation.Send.Builder setPayload(com.google.protobuf.Value value)
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
    • setPayload

      public Mutation.Send.Builder setPayload(com.google.protobuf.Value.Builder builderForValue)
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
    • mergePayload

      public Mutation.Send.Builder mergePayload(com.google.protobuf.Value value)
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
    • clearPayload

      public Mutation.Send.Builder clearPayload()
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
    • getPayloadBuilder

      public com.google.protobuf.Value.Builder getPayloadBuilder()
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
    • getPayloadOrBuilder

      public com.google.protobuf.ValueOrBuilder getPayloadOrBuilder()
       The payload of the message.
       
      .google.protobuf.Value payload = 4;
      Specified by:
      getPayloadOrBuilder in interface Mutation.SendOrBuilder
    • setUnknownFields

      public final Mutation.Send.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>
    • mergeUnknownFields

      public final Mutation.Send.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Send.Builder>