Class Mutation.Delete.Builder

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

public static final class Mutation.Delete.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Delete.Builder> implements Mutation.DeleteOrBuilder
 Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
 
Protobuf type google.spanner.v1.Mutation.Delete
  • 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.Delete.Builder>
    • clear

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

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

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

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

      public Mutation.Delete.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.Delete.Builder>
    • setField

      public Mutation.Delete.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.Delete.Builder>
    • clearField

      public Mutation.Delete.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.Delete.Builder>
    • clearOneof

      public Mutation.Delete.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.Delete.Builder>
    • setRepeatedField

      public Mutation.Delete.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.Delete.Builder>
    • addRepeatedField

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

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

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

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

      public String getTable()
       Required. The table whose rows will be deleted.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTable in interface Mutation.DeleteOrBuilder
      Returns:
      The table.
    • getTableBytes

      public com.google.protobuf.ByteString getTableBytes()
       Required. The table whose rows will be deleted.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableBytes in interface Mutation.DeleteOrBuilder
      Returns:
      The bytes for table.
    • setTable

      public Mutation.Delete.Builder setTable(String value)
       Required. The table whose rows will be deleted.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The table to set.
      Returns:
      This builder for chaining.
    • clearTable

      public Mutation.Delete.Builder clearTable()
       Required. The table whose rows will be deleted.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTableBytes

      public Mutation.Delete.Builder setTableBytes(com.google.protobuf.ByteString value)
       Required. The table whose rows will be deleted.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for table to set.
      Returns:
      This builder for chaining.
    • hasKeySet

      public boolean hasKeySet()
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasKeySet in interface Mutation.DeleteOrBuilder
      Returns:
      Whether the keySet field is set.
    • getKeySet

      public KeySet getKeySet()
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeySet in interface Mutation.DeleteOrBuilder
      Returns:
      The keySet.
    • setKeySet

      public Mutation.Delete.Builder setKeySet(KeySet value)
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
    • setKeySet

      public Mutation.Delete.Builder setKeySet(KeySet.Builder builderForValue)
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeKeySet

      public Mutation.Delete.Builder mergeKeySet(KeySet value)
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearKeySet

      public Mutation.Delete.Builder clearKeySet()
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
    • getKeySetBuilder

      public KeySet.Builder getKeySetBuilder()
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
    • getKeySetOrBuilder

      public KeySetOrBuilder getKeySetOrBuilder()
       Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
       primary keys must be specified in the order in which they appear in the
       `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL
       statement used to create the table).
       Delete is idempotent. The transaction will succeed even if some or all
       rows do not exist.
       
      .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeySetOrBuilder in interface Mutation.DeleteOrBuilder
    • setUnknownFields

      public final Mutation.Delete.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.Delete.Builder>
    • mergeUnknownFields

      public final Mutation.Delete.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.Delete.Builder>