Class Mutation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.Mutation
All Implemented Interfaces:
MutationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class Mutation extends com.google.protobuf.GeneratedMessageV3 implements MutationOrBuilder
 Specifies a particular change to be made to the contents of a row.
 
Protobuf type google.bigtable.v2.Mutation
See Also:
  • Field Details

    • SET_CELL_FIELD_NUMBER

      public static final int SET_CELL_FIELD_NUMBER
      See Also:
    • DELETE_FROM_COLUMN_FIELD_NUMBER

      public static final int DELETE_FROM_COLUMN_FIELD_NUMBER
      See Also:
    • DELETE_FROM_FAMILY_FIELD_NUMBER

      public static final int DELETE_FROM_FAMILY_FIELD_NUMBER
      See Also:
    • DELETE_FROM_ROW_FIELD_NUMBER

      public static final int DELETE_FROM_ROW_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getMutationCase

      public Mutation.MutationCase getMutationCase()
      Specified by:
      getMutationCase in interface MutationOrBuilder
    • hasSetCell

      public boolean hasSetCell()
       Set a cell's value.
       
      .google.bigtable.v2.Mutation.SetCell set_cell = 1;
      Specified by:
      hasSetCell in interface MutationOrBuilder
      Returns:
      Whether the setCell field is set.
    • getSetCell

      public Mutation.SetCell getSetCell()
       Set a cell's value.
       
      .google.bigtable.v2.Mutation.SetCell set_cell = 1;
      Specified by:
      getSetCell in interface MutationOrBuilder
      Returns:
      The setCell.
    • getSetCellOrBuilder

      public Mutation.SetCellOrBuilder getSetCellOrBuilder()
       Set a cell's value.
       
      .google.bigtable.v2.Mutation.SetCell set_cell = 1;
      Specified by:
      getSetCellOrBuilder in interface MutationOrBuilder
    • hasDeleteFromColumn

      public boolean hasDeleteFromColumn()
       Deletes cells from a column.
       
      .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
      Specified by:
      hasDeleteFromColumn in interface MutationOrBuilder
      Returns:
      Whether the deleteFromColumn field is set.
    • getDeleteFromColumn

      public Mutation.DeleteFromColumn getDeleteFromColumn()
       Deletes cells from a column.
       
      .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
      Specified by:
      getDeleteFromColumn in interface MutationOrBuilder
      Returns:
      The deleteFromColumn.
    • getDeleteFromColumnOrBuilder

      public Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder()
       Deletes cells from a column.
       
      .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
      Specified by:
      getDeleteFromColumnOrBuilder in interface MutationOrBuilder
    • hasDeleteFromFamily

      public boolean hasDeleteFromFamily()
       Deletes cells from a column family.
       
      .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
      Specified by:
      hasDeleteFromFamily in interface MutationOrBuilder
      Returns:
      Whether the deleteFromFamily field is set.
    • getDeleteFromFamily

      public Mutation.DeleteFromFamily getDeleteFromFamily()
       Deletes cells from a column family.
       
      .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
      Specified by:
      getDeleteFromFamily in interface MutationOrBuilder
      Returns:
      The deleteFromFamily.
    • getDeleteFromFamilyOrBuilder

      public Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder()
       Deletes cells from a column family.
       
      .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
      Specified by:
      getDeleteFromFamilyOrBuilder in interface MutationOrBuilder
    • hasDeleteFromRow

      public boolean hasDeleteFromRow()
       Deletes cells from the entire row.
       
      .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
      Specified by:
      hasDeleteFromRow in interface MutationOrBuilder
      Returns:
      Whether the deleteFromRow field is set.
    • getDeleteFromRow

      public Mutation.DeleteFromRow getDeleteFromRow()
       Deletes cells from the entire row.
       
      .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
      Specified by:
      getDeleteFromRow in interface MutationOrBuilder
      Returns:
      The deleteFromRow.
    • getDeleteFromRowOrBuilder

      public Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder()
       Deletes cells from the entire row.
       
      .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
      Specified by:
      getDeleteFromRowOrBuilder in interface MutationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Mutation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mutation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mutation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mutation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mutation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mutation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Mutation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Mutation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Mutation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Mutation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Mutation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Mutation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Mutation.Builder newBuilder()
    • newBuilder

      public static Mutation.Builder newBuilder(Mutation prototype)
    • toBuilder

      public Mutation.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Mutation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Mutation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Mutation> parser()
    • getParserForType

      public com.google.protobuf.Parser<Mutation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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