Interface StreamOrBuilder (1.3.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
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.cloud.datastream.v1alpha1.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.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;

Returns
TypeDescription
Stream.BackfillAllStrategyOrBuilder

getBackfillNone()

public abstract Stream.BackfillNoneStrategy getBackfillNone()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.BackfillNoneStrategy

The backfillNone.

getBackfillNoneOrBuilder()

public abstract Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()

Do not automatically backfill any objects.

.google.cloud.datastream.v1alpha1.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getDestinationConfig()

public abstract DestinationConfig getDestinationConfig()

Required. Destination connection profile configuration.

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

Returns
TypeDescription
DestinationConfig

The destinationConfig.

getDestinationConfigOrBuilder()

public abstract DestinationConfigOrBuilder getDestinationConfigOrBuilder()

Required. Destination connection profile configuration.

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

Returns
TypeDescription
DestinationConfigOrBuilder

getDisplayName()

public abstract String getDisplayName()

Required. Display name.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. Display name.

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

Returns
TypeDescription
ByteString

The bytes for displayName.

getErrors(int index)

public abstract Error getErrors(int index)

Output only. Errors on the Stream.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsCount()

public abstract int getErrorsCount()

Output only. Errors on the Stream.

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

Returns
TypeDescription
int

getErrorsList()

public abstract List<Error> getErrorsList()

Output only. Errors on the Stream.

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

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public abstract ErrorOrBuilder getErrorsOrBuilder(int index)

Output only. Errors on the Stream.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public abstract List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

Output only. Errors on the Stream.

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

Returns
TypeDescription
List<? extends com.google.cloud.datastream.v1alpha1.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The stream's name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getSourceConfig()

public abstract SourceConfig getSourceConfig()

Required. Source connection profile configuration.

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

Returns
TypeDescription
SourceConfig

The sourceConfig.

getSourceConfigOrBuilder()

public abstract SourceConfigOrBuilder getSourceConfigOrBuilder()

Required. Source connection profile configuration.

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

Returns
TypeDescription
SourceConfigOrBuilder

getState()

public abstract Stream.State getState()

The state of the stream.

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

Returns
TypeDescription
Stream.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the stream.

.google.cloud.datastream.v1alpha1.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasBackfillAll()

public abstract boolean hasBackfillAll()

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

.google.cloud.datastream.v1alpha1.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.cloud.datastream.v1alpha1.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDestinationConfig()

public abstract boolean hasDestinationConfig()

Required. Destination connection profile configuration.

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

Returns
TypeDescription
boolean

Whether the destinationConfig field is set.

hasSourceConfig()

public abstract boolean hasSourceConfig()

Required. Source connection profile configuration.

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

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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.