|
19 | 19 | import com.google.api.core.ApiFuture; |
20 | 20 | import com.google.api.core.ApiFutures; |
21 | 21 | import com.google.api.core.BetaApi; |
| 22 | +import com.google.api.core.InternalApi; |
22 | 23 | import com.google.api.gax.core.BackgroundResource; |
23 | 24 | import com.google.api.gax.longrunning.OperationFuture; |
24 | 25 | import com.google.api.gax.paging.AbstractFixedSizeCollection; |
|
64 | 65 | import javax.annotation.Generated; |
65 | 66 |
|
66 | 67 | // AUTO-GENERATED DOCUMENTATION AND SERVICE |
67 | | -/** |
68 | | - * Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. |
69 | | - * |
70 | | - * <p>Provides access to the table schemas only, not the data stored within the tables. |
71 | | - * |
72 | | - * <p>This class provides the ability to make remote calls to the backing service through method |
73 | | - * calls that map to API methods. Sample code to get started: |
74 | | - * |
75 | | - * <pre> |
76 | | - * <code> |
77 | | - * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient = BaseBigtableTableAdminClient.create()) { |
78 | | - * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); |
79 | | - * String tableId = ""; |
80 | | - * Table table = Table.newBuilder().build(); |
81 | | - * Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table); |
82 | | - * } |
83 | | - * </code> |
84 | | - * </pre> |
85 | | - * |
86 | | - * <p>Note: close() needs to be called on the baseBigtableTableAdminClient object to clean up |
87 | | - * resources such as threads. In the example above, try-with-resources is used, which automatically |
88 | | - * calls close(). |
89 | | - * |
90 | | - * <p>The surface of this class includes several types of Java methods for each of the API's |
91 | | - * methods: |
92 | | - * |
93 | | - * <ol> |
94 | | - * <li>A "flattened" method. With this type of method, the fields of the request type have been |
95 | | - * converted into function parameters. It may be the case that not all fields are available as |
96 | | - * parameters, and not every API method will have a flattened method entry point. |
97 | | - * <li>A "request object" method. This type of method only takes one parameter, a request object, |
98 | | - * which must be constructed before the call. Not every API method will have a request object |
99 | | - * method. |
100 | | - * <li>A "callable" method. This type of method takes no parameters and returns an immutable API |
101 | | - * callable object, which can be used to initiate calls to the service. |
102 | | - * </ol> |
103 | | - * |
104 | | - * <p>See the individual methods for example code. |
105 | | - * |
106 | | - * <p>Many parameters require resource names to be formatted in a particular way. To assist with |
107 | | - * these names, this class includes a format method for each type of name, and additionally a parse |
108 | | - * method to extract the individual identifiers contained within names that are returned. |
109 | | - * |
110 | | - * <p>This class can be customized by passing in a custom instance of BaseBigtableTableAdminSettings |
111 | | - * to create(). For example: |
112 | | - * |
113 | | - * <p>To customize credentials: |
114 | | - * |
115 | | - * <pre> |
116 | | - * <code> |
117 | | - * BaseBigtableTableAdminSettings baseBigtableTableAdminSettings = |
118 | | - * BaseBigtableTableAdminSettings.newBuilder() |
119 | | - * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) |
120 | | - * .build(); |
121 | | - * BaseBigtableTableAdminClient baseBigtableTableAdminClient = |
122 | | - * BaseBigtableTableAdminClient.create(baseBigtableTableAdminSettings); |
123 | | - * </code> |
124 | | - * </pre> |
125 | | - * |
126 | | - * To customize the endpoint: |
127 | | - * |
128 | | - * <pre> |
129 | | - * <code> |
130 | | - * BaseBigtableTableAdminSettings baseBigtableTableAdminSettings = |
131 | | - * BaseBigtableTableAdminSettings.newBuilder().setEndpoint(myEndpoint).build(); |
132 | | - * BaseBigtableTableAdminClient baseBigtableTableAdminClient = |
133 | | - * BaseBigtableTableAdminClient.create(baseBigtableTableAdminSettings); |
134 | | - * </code> |
135 | | - * </pre> |
136 | | - */ |
| 68 | +/** For internal use only. */ |
137 | 69 | @Generated("by gapic-generator") |
138 | | -@BetaApi |
| 70 | +@InternalApi |
139 | 71 | public class BaseBigtableTableAdminClient implements BackgroundResource { |
140 | 72 | private final BaseBigtableTableAdminSettings settings; |
141 | 73 | private final BigtableTableAdminStub stub; |
|
0 commit comments