Interface StreamOrBuilder (1.47.0)

public interface StreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBackfillAll()

public abstract 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
Type Description
Stream.BackfillAllStrategy

The backfillAll.

getBackfillAllOrBuilder()

public abstract 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;

Returns
Type Description
Stream.BackfillAllStrategyOrBuilder

getBackfillNone()

public abstract Stream.BackfillNoneStrategy getBackfillNone()

Do not automatically backfill any objects.

.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;

Returns
Type Description
Stream.BackfillNoneStrategy

The backfillNone.

getBackfillNoneOrBuilder()

public abstract Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()

Do not automatically backfill any objects.

.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;

Returns
Type Description
Stream.BackfillNoneStrategyOrBuilder

getBackfillStrategyCase()

public abstract Stream.BackfillStrategyCase getBackfillStrategyCase()
Returns
Type Description
Stream.BackfillStrategyCase

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCustomerManagedEncryptionKey()

public abstract 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
Type Description
String

The customerManagedEncryptionKey.

getCustomerManagedEncryptionKeyBytes()

public abstract 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
Type Description
ByteString

The bytes for customerManagedEncryptionKey.

getDestinationConfig()

public abstract DestinationConfig getDestinationConfig()

Required. Destination connection profile configuration.

.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DestinationConfig

The destinationConfig.

getDestinationConfigOrBuilder()

public abstract DestinationConfigOrBuilder getDestinationConfigOrBuilder()

Required. Destination connection profile configuration.

.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DestinationConfigOrBuilder

getDisplayName()

public abstract String getDisplayName()

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getErrors(int index)

public abstract Error getErrors(int index)

Output only. Errors on the Stream.

repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Error

getErrorsCount()

public abstract int getErrorsCount()

Output only. Errors on the Stream.

repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorsList()

public abstract List<Error> getErrorsList()

Output only. Errors on the Stream.

repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public abstract ErrorOrBuilder getErrorsOrBuilder(int index)

Output only. Errors on the Stream.

repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public abstract List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

Output only. Errors on the Stream.

repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.ErrorOrBuilder>

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Output only. The stream's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The stream's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getSourceConfig()

public abstract SourceConfig getSourceConfig()

Required. Source connection profile configuration.

.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceConfig

The sourceConfig.

getSourceConfigOrBuilder()

public abstract SourceConfigOrBuilder getSourceConfigOrBuilder()

Required. Source connection profile configuration.

.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceConfigOrBuilder

getState()

public abstract Stream.State getState()

The state of the stream.

.google.cloud.datastream.v1.Stream.State state = 8;

Returns
Type Description
Stream.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the stream.

.google.cloud.datastream.v1.Stream.State state = 8;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasBackfillAll()

public abstract 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
Type Description
boolean

Whether the backfillAll field is set.

hasBackfillNone()

public abstract boolean hasBackfillNone()

Do not automatically backfill any objects.

.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;

Returns
Type Description
boolean

Whether the backfillNone field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCustomerManagedEncryptionKey()

public abstract 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
Type Description
boolean

Whether the customerManagedEncryptionKey field is set.

hasDestinationConfig()

public abstract boolean hasDestinationConfig()

Required. Destination connection profile configuration.

.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the destinationConfig field is set.

hasSourceConfig()

public abstract boolean hasSourceConfig()

Required. Source connection profile configuration.

.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sourceConfig field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.