Class SchemaBundle

java.lang.Object
com.google.cloud.bigtable.admin.v2.models.SchemaBundle

public final class SchemaBundle extends Object
A class that wraps the SchemaBundle protocol buffer object.
  • Method Details

    • fromProto

      @InternalApi public static SchemaBundle fromProto(@Nonnull SchemaBundle proto)
      Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • getId

      public String getId()
      Gets the schema bundle's id.
    • getTableId

      public String getTableId()
      Gets the id of the table that owns this schema bundle.
    • getProtoSchema

      public com.google.protobuf.ByteString getProtoSchema()
      Gets the proto schema of this schema bundle.
    • toProto

      @InternalApi public SchemaBundle toProto()
      Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object