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 boolean
containsLabels(String key)
Labels.Stream.BackfillAllStrategy
getBackfillAll()
Automatically backfill objects included in the stream source configuration.Stream.BackfillAllStrategyOrBuilder
getBackfillAllOrBuilder()
Automatically backfill objects included in the stream source configuration.Stream.BackfillNoneStrategy
getBackfillNone()
Do not automatically backfill any objects.Stream.BackfillNoneStrategyOrBuilder
getBackfillNoneOrBuilder()
Do not automatically backfill any objects.Stream.BackfillStrategyCase
getBackfillStrategyCase()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DestinationConfig
getDestinationConfig()
Required.DestinationConfigOrBuilder
getDestinationConfigOrBuilder()
Required.String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.Error
getErrors(int index)
Output only.int
getErrorsCount()
Output only.List<Error>
getErrorsList()
Output only.ErrorOrBuilder
getErrorsOrBuilder(int index)
Output only.List<? extends ErrorOrBuilder>
getErrorsOrBuilderList()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels.Map<String,String>
getLabelsMap()
Labels.String
getLabelsOrDefault(String key, String defaultValue)
Labels.String
getLabelsOrThrow(String key)
Labels.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.SourceConfig
getSourceConfig()
Required.SourceConfigOrBuilder
getSourceConfigOrBuilder()
Required.Stream.State
getState()
The state of the stream.int
getStateValue()
The state of the stream.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasBackfillAll()
Automatically backfill objects included in the stream source configuration.boolean
hasBackfillNone()
Do not automatically backfill any objects.boolean
hasCreateTime()
Output only.boolean
hasDestinationConfig()
Required.boolean
hasSourceConfig()
Required.boolean
hasUpdateTime()
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.v1alpha1.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.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The sourceConfig.
-
getSourceConfigOrBuilder
SourceConfigOrBuilder getSourceConfigOrBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
hasDestinationConfig
boolean hasDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1alpha1.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.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The destinationConfig.
-
getDestinationConfigOrBuilder
DestinationConfigOrBuilder getDestinationConfigOrBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
getStateValue
int getStateValue()
The state of the stream.
.google.cloud.datastream.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
-
hasBackfillNone
boolean hasBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1alpha1.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.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102;
- Returns:
- The backfillNone.
-
getBackfillNoneOrBuilder
Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102;
-
getErrorsList
List<Error> getErrorsList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrors
Error getErrors(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsCount
int getErrorsCount()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilderList
List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilder
ErrorOrBuilder getErrorsOrBuilder(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getBackfillStrategyCase
Stream.BackfillStrategyCase getBackfillStrategyCase()
-
-