Interface StreamOrBuilder (0.14.1)

public interface StreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBackfillAll()

public abstract Stream.BackfillAllStrategy getBackfillAll()

Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.

.google.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;

Returns
TypeDescription
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.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;

Returns
TypeDescription
Stream.BackfillAllStrategyOrBuilder

getBackfillNone()

public abstract Stream.BackfillNoneStrategy getBackfillNone()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.BackfillNoneStrategy

The backfillNone.

getBackfillNoneOrBuilder()

public abstract Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.BackfillNoneStrategyOrBuilder

getBackfillStrategyCase()

public abstract Stream.BackfillStrategyCase getBackfillStrategyCase()
Returns
TypeDescription
Stream.BackfillStrategyCase

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for customerManagedEncryptionKey.

getDestinationConfig()

public abstract DestinationConfig getDestinationConfig()

Required. Destination connection profile configuration.

.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;

Returns
TypeDescription
DestinationConfig

The destinationConfig.

getDestinationConfigOrBuilder()

public abstract DestinationConfigOrBuilder getDestinationConfigOrBuilder()

Required. Destination connection profile configuration.

.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;

Returns
TypeDescription
DestinationConfigOrBuilder

getDisplayName()

public abstract String getDisplayName()

Required. Display name.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. Display name.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getErrors(int index)

public abstract Error getErrors(int index)

Output only. Errors on the Stream.

repeated .google.events.cloud.datastream.v1.Error errors = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsCount()

public abstract int getErrorsCount()

Output only. Errors on the Stream.

repeated .google.events.cloud.datastream.v1.Error errors = 9;

Returns
TypeDescription
int

getErrorsList()

public abstract List<Error> getErrorsList()

Output only. Errors on the Stream.

repeated .google.events.cloud.datastream.v1.Error errors = 9;

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public abstract ErrorOrBuilder getErrorsOrBuilder(int index)

Output only. Errors on the Stream.

repeated .google.events.cloud.datastream.v1.Error errors = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public abstract List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

Output only. Errors on the Stream.

repeated .google.events.cloud.datastream.v1.Error errors = 9;

Returns
TypeDescription
List<? extends com.google.events.cloud.datastream.v1.ErrorOrBuilder>

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

Output only. The stream's name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The stream's name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSourceConfig()

public abstract SourceConfig getSourceConfig()

Required. Source connection profile configuration.

.google.events.cloud.datastream.v1.SourceConfig source_config = 6;

Returns
TypeDescription
SourceConfig

The sourceConfig.

getSourceConfigOrBuilder()

public abstract SourceConfigOrBuilder getSourceConfigOrBuilder()

Required. Source connection profile configuration.

.google.events.cloud.datastream.v1.SourceConfig source_config = 6;

Returns
TypeDescription
SourceConfigOrBuilder

getState()

public abstract Stream.State getState()

The state of the stream.

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

Returns
TypeDescription
Stream.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the stream.

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

Returns
TypeDescription
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;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasBackfillAll()

public abstract boolean hasBackfillAll()

Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.

.google.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;

Returns
TypeDescription
boolean

Whether the backfillAll field is set.

hasBackfillNone()

public abstract boolean hasBackfillNone()

Do not automatically backfill any objects.

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

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the customerManagedEncryptionKey field is set.

hasDestinationConfig()

public abstract boolean hasDestinationConfig()

Required. Destination connection profile configuration.

.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;

Returns
TypeDescription
boolean

Whether the destinationConfig field is set.

hasSourceConfig()

public abstract boolean hasSourceConfig()

Required. Source connection profile configuration.

.google.events.cloud.datastream.v1.SourceConfig source_config = 6;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the updateTime field is set.