Package com.google.pubsub.v1
Interface BigtableConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BigtableConfig,BigtableConfig.Builder
@Generated
public interface BigtableConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTable
String getTable()Optional. The unique name of the table to write messages to. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The table.
-
getTableBytes
com.google.protobuf.ByteString getTableBytes()Optional. The unique name of the table to write messages to. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for table.
-
getAppProfileId
String getAppProfileId()Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The appProfileId.
-
getAppProfileIdBytes
com.google.protobuf.ByteString getAppProfileIdBytes()Optional. The app profile to use for the Bigtable writes. If not specified, the "default" application profile will be used. The app profile must use single-cluster routing.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for appProfileId.
-
getServiceAccountEmail
String getServiceAccountEmail()Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
com.google.protobuf.ByteString getServiceAccountEmailBytes()Optional. The service account to use to write to Bigtable. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for serviceAccountEmail.
-
getWriteMetadata
boolean getWriteMetadata()Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table under the pubsub_metadata column family. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The writeMetadata.
-
getStateValue
int getStateValue()Output only. An output-only field that indicates whether or not the subscription can receive messages.
.google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
BigtableConfig.State getState()Output only. An output-only field that indicates whether or not the subscription can receive messages.
.google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-