Package com.google.cloud.datastream.v1
Interface StreamOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Stream,Stream.Builder
public interface StreamOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels.Stream.BackfillAllStrategygetBackfillAll()Automatically backfill objects included in the stream source configuration.Stream.BackfillAllStrategyOrBuildergetBackfillAllOrBuilder()Automatically backfill objects included in the stream source configuration.Stream.BackfillNoneStrategygetBackfillNone()Do not automatically backfill any objects.Stream.BackfillNoneStrategyOrBuildergetBackfillNoneOrBuilder()Do not automatically backfill any objects.Stream.BackfillStrategyCasegetBackfillStrategyCase()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCustomerManagedEncryptionKey()Immutable.com.google.protobuf.ByteStringgetCustomerManagedEncryptionKeyBytes()Immutable.DestinationConfiggetDestinationConfig()Required.DestinationConfigOrBuildergetDestinationConfigOrBuilder()Required.StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.ErrorgetErrors(int index)Output only.intgetErrorsCount()Output only.List<Error>getErrorsList()Output only.ErrorOrBuildergetErrorsOrBuilder(int index)Output only.List<? extends ErrorOrBuilder>getErrorsOrBuilderList()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels.Map<String,String>getLabelsMap()Labels.StringgetLabelsOrDefault(String key, String defaultValue)Labels.StringgetLabelsOrThrow(String key)Labels.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.SourceConfiggetSourceConfig()Required.SourceConfigOrBuildergetSourceConfigOrBuilder()Required.Stream.StategetState()The state of the stream.intgetStateValue()The state of the stream.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasBackfillAll()Automatically backfill objects included in the stream source configuration.booleanhasBackfillNone()Do not automatically backfill any objects.booleanhasCreateTime()Output only.booleanhasCustomerManagedEncryptionKey()Immutable.booleanhasDestinationConfig()Required.booleanhasSourceConfig()Required.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
Labels.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;
-
getDisplayName
String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
hasSourceConfig
boolean hasSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the sourceConfig field is set.
-
getSourceConfig
SourceConfig getSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sourceConfig.
-
getSourceConfigOrBuilder
SourceConfigOrBuilder getSourceConfigOrBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
hasDestinationConfig
boolean hasDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the destinationConfig field is set.
-
getDestinationConfig
DestinationConfig getDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The destinationConfig.
-
getDestinationConfigOrBuilder
DestinationConfigOrBuilder getDestinationConfigOrBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
getStateValue
int getStateValue()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Returns:
- The enum numeric value on the wire for state.
-
getState
Stream.State getState()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Returns:
- The state.
-
hasBackfillAll
boolean hasBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;- Returns:
- Whether the backfillAll field is set.
-
getBackfillAll
Stream.BackfillAllStrategy getBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;- Returns:
- The backfillAll.
-
getBackfillAllOrBuilder
Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
-
hasBackfillNone
boolean hasBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;- Returns:
- Whether the backfillNone field is set.
-
getBackfillNone
Stream.BackfillNoneStrategy getBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;- Returns:
- The backfillNone.
-
getBackfillNoneOrBuilder
Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
-
getErrorsList
List<Error> getErrorsList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrors
Error getErrors(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsCount
int getErrorsCount()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilderList
List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilder
ErrorOrBuilder getErrorsOrBuilder(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCustomerManagedEncryptionKey
boolean hasCustomerManagedEncryptionKey()
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the customerManagedEncryptionKey field is set.
-
getCustomerManagedEncryptionKey
String getCustomerManagedEncryptionKey()
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The customerManagedEncryptionKey.
-
getCustomerManagedEncryptionKeyBytes
com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes()
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for customerManagedEncryptionKey.
-
getBackfillStrategyCase
Stream.BackfillStrategyCase getBackfillStrategyCase()
-
-