Skip to content

Commit 0d994ee

Browse files
committed
redo formatting
1 parent 8d85274 commit 0d994ee

File tree

1 file changed

+26
-19
lines changed
  • google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models

1 file changed

+26
-19
lines changed

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/AuthorizedView.java

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,26 @@
2424
import javax.annotation.Nonnull;
2525

2626
/**
27-
* A class that wraps the {@link com.google.bigtable.admin.v2.AuthorizedView} protocol buffer
28-
* object.
27+
* A class that wraps the {@link com.google.bigtable.admin.v2.AuthorizedView}
28+
* protocol buffer object.
2929
*
30-
* <p>An AuthorizedView represents subsets of a particular table based on rules. The access to each
31-
* AuthorizedView can be configured separately from the Table.
30+
* <p>
31+
* An AuthorizedView represents subsets of a particular table based on rules.
32+
* The access to each AuthorizedView can be configured separately from the
33+
* Table.
3234
*
33-
* <p>Users can perform read/write operation on an AuthorizedView by providing an authorizedView id
34-
* besides a table id, in which case the semantics remain identical as reading/writing on a Table
35-
* except that visibility is restricted to the subset of the Table that the AuthorizedView
36-
* represents.
35+
* <p>
36+
* Users can perform read/write operation on an AuthorizedView by providing an
37+
* authorizedView id besides a table id, in which case the semantics remain
38+
* identical as reading/writing on a Table except that visibility is restricted
39+
* to the subset of the Table that the AuthorizedView represents.
3740
*/
3841
public final class AuthorizedView {
3942
private final com.google.bigtable.admin.v2.AuthorizedView proto;
4043

4144
/**
42-
* Wraps the protobuf. This method is considered an internal implementation detail and not meant
43-
* to be used by applications.
45+
* Wraps the protobuf. This method is considered an internal implementation
46+
* detail and not meant to be used by applications.
4447
*/
4548
@InternalApi
4649
public static AuthorizedView fromProto(
@@ -61,7 +64,7 @@ public String getId() {
6164
// Constructor ensures that name is not null.
6265
AuthorizedViewName fullName = AuthorizedViewName.parse(proto.getName());
6366

64-
//noinspection ConstantConditions
67+
// noinspection ConstantConditions
6568
return fullName.getAuthorizedView();
6669
}
6770

@@ -70,7 +73,7 @@ public String getTableId() {
7073
// Constructor ensures that name is not null.
7174
AuthorizedViewName fullName = AuthorizedViewName.parse(proto.getName());
7275

73-
//noinspection ConstantConditions
76+
// noinspection ConstantConditions
7477
return fullName.getTable();
7578
}
7679

@@ -79,7 +82,10 @@ public boolean isDeletionProtected() {
7982
return proto.getDeletionProtection();
8083
}
8184

82-
/** Gets the type of this authorized view, which currently can only be a subset view. */
85+
/**
86+
* Gets the type of this authorized view, which currently can only be a subset
87+
* view.
88+
*/
8389
public AuthorizedViewType getAuthorizedViewType() {
8490
if (proto.hasSubsetView()) {
8591
return SubsetView.fromProto(proto.getSubsetView());
@@ -90,8 +96,8 @@ public AuthorizedViewType getAuthorizedViewType() {
9096
}
9197

9298
/**
93-
* Creates the request protobuf. This method is considered an internal implementation detail and
94-
* not meant to be used by applications.
99+
* Creates the request protobuf. This method is considered an internal
100+
* implementation detail and not meant to be used by applications.
95101
*/
96102
@InternalApi
97103
public com.google.bigtable.admin.v2.AuthorizedView toProto() {
@@ -116,9 +122,10 @@ public int hashCode() {
116122
}
117123

118124
/**
119-
* Represents a subset of a Table. Please check the implementations of this interface for more
120-
* details.
125+
* Represents a subset of a Table. Please check the implementations of this
126+
* interface for more details.
121127
*/
122128
@InternalExtensionOnly
123-
public interface AuthorizedViewType {}
124-
}
129+
public interface AuthorizedViewType {
130+
}
131+
}

0 commit comments

Comments
 (0)