Class AuthorizedView (2.51.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
Name Description
proto com.google.bigtable.admin.v2.AuthorizedView
Returns
Type Description
AuthorizedView

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAuthorizedViewType()

public AuthorizedView.AuthorizedViewType getAuthorizedViewType()

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

Returns
Type Description
AuthorizedView.AuthorizedViewType

getId()

public String getId()

Gets the authorized view's id.

Returns
Type Description
String

getTableId()

public String getTableId()

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

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

isDeletionProtected()

public boolean isDeletionProtected()

Returns whether this authorized view is deletion protected.

Returns
Type Description
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
Type Description
com.google.bigtable.admin.v2.AuthorizedView