Class AuthorizedView (2.37.0)

public final class AuthorizedView

A class that wraps the com.google.bigtable.admin.v2.AuthorizedView protocol buffer object.

An AuthorizedView represents subsets of a particular table based on rules. The access to each AuthorizedView can be configured separately from the Table.

Users can perform read/write operation on an AuthorizedView by providing an authorizedView id besides a table id, in which case the semantics remain identical as reading/writing on a Table except that visibility is restricted to the subset of the Table that the AuthorizedView represents.

Inheritance

Object > AuthorizedView

Static Methods

fromProto(AuthorizedView proto)

public static AuthorizedView fromProto(AuthorizedView proto)

Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.

Parameter
NameDescription
protocom.google.bigtable.admin.v2.AuthorizedView
Returns
TypeDescription
AuthorizedView

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getAuthorizedViewType()

public AuthorizedView.AuthorizedViewType getAuthorizedViewType()

Gets the type of this authorized view, which currently can only be a subset view.

Returns
TypeDescription
AuthorizedView.AuthorizedViewType

getId()

public String getId()

Gets the authorized view's id.

Returns
TypeDescription
String

getTableId()

public String getTableId()

Gets the id of the table that owns this authorized view.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

isDeletionProtected()

public boolean isDeletionProtected()

Returns whether this authorized view is deletion protected.

Returns
TypeDescription
boolean

toProto()

public AuthorizedView toProto()

Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.

Returns
TypeDescription
com.google.bigtable.admin.v2.AuthorizedView