Package com.google.cloud.datastream.v1
Class Stream.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
- com.google.cloud.datastream.v1.Stream.Builder
-
- All Implemented Interfaces:
StreamOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Stream
public static final class Stream.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder> implements StreamOrBuilder
A resource representing streaming data from a source to a destination.
Protobuf typegoogle.cloud.datastream.v1.Stream
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stream.BuilderaddAllErrors(Iterable<? extends Error> values)Output only.Stream.BuilderaddErrors(int index, Error value)Output only.Stream.BuilderaddErrors(int index, Error.Builder builderForValue)Output only.Stream.BuilderaddErrors(Error value)Output only.Stream.BuilderaddErrors(Error.Builder builderForValue)Output only.Error.BuilderaddErrorsBuilder()Output only.Error.BuilderaddErrorsBuilder(int index)Output only.Stream.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Streambuild()StreambuildPartial()Stream.Builderclear()Stream.BuilderclearBackfillAll()Automatically backfill objects included in the stream source configuration.Stream.BuilderclearBackfillNone()Do not automatically backfill any objects.Stream.BuilderclearBackfillStrategy()Stream.BuilderclearCreateTime()Output only.Stream.BuilderclearCustomerManagedEncryptionKey()Immutable.Stream.BuilderclearDestinationConfig()Required.Stream.BuilderclearDisplayName()Required.Stream.BuilderclearErrors()Output only.Stream.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Stream.BuilderclearLabels()Stream.BuilderclearName()Output only.Stream.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Stream.BuilderclearSourceConfig()Required.Stream.BuilderclearState()The state of the stream.Stream.BuilderclearUpdateTime()Output only.Stream.Builderclone()booleancontainsLabels(String key)Labels.Stream.BackfillAllStrategygetBackfillAll()Automatically backfill objects included in the stream source configuration.Stream.BackfillAllStrategy.BuildergetBackfillAllBuilder()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.BackfillNoneStrategy.BuildergetBackfillNoneBuilder()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.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCustomerManagedEncryptionKey()Immutable.com.google.protobuf.ByteStringgetCustomerManagedEncryptionKeyBytes()Immutable.StreamgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DestinationConfiggetDestinationConfig()Required.DestinationConfig.BuildergetDestinationConfigBuilder()Required.DestinationConfigOrBuildergetDestinationConfigOrBuilder()Required.StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.ErrorgetErrors(int index)Output only.Error.BuildergetErrorsBuilder(int index)Output only.List<Error.Builder>getErrorsBuilderList()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.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.SourceConfiggetSourceConfig()Required.SourceConfig.BuildergetSourceConfigBuilder()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.Timestamp.BuildergetUpdateTimeBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Stream.BuildermergeBackfillAll(Stream.BackfillAllStrategy value)Automatically backfill objects included in the stream source configuration.Stream.BuildermergeBackfillNone(Stream.BackfillNoneStrategy value)Do not automatically backfill any objects.Stream.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Stream.BuildermergeDestinationConfig(DestinationConfig value)Required.Stream.BuildermergeFrom(Stream other)Stream.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Stream.BuildermergeFrom(com.google.protobuf.Message other)Stream.BuildermergeSourceConfig(SourceConfig value)Required.Stream.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Stream.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Stream.BuilderputAllLabels(Map<String,String> values)Labels.Stream.BuilderputLabels(String key, String value)Labels.Stream.BuilderremoveErrors(int index)Output only.Stream.BuilderremoveLabels(String key)Labels.Stream.BuildersetBackfillAll(Stream.BackfillAllStrategy value)Automatically backfill objects included in the stream source configuration.Stream.BuildersetBackfillAll(Stream.BackfillAllStrategy.Builder builderForValue)Automatically backfill objects included in the stream source configuration.Stream.BuildersetBackfillNone(Stream.BackfillNoneStrategy value)Do not automatically backfill any objects.Stream.BuildersetBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)Do not automatically backfill any objects.Stream.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Stream.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Stream.BuildersetCustomerManagedEncryptionKey(String value)Immutable.Stream.BuildersetCustomerManagedEncryptionKeyBytes(com.google.protobuf.ByteString value)Immutable.Stream.BuildersetDestinationConfig(DestinationConfig value)Required.Stream.BuildersetDestinationConfig(DestinationConfig.Builder builderForValue)Required.Stream.BuildersetDisplayName(String value)Required.Stream.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.Stream.BuildersetErrors(int index, Error value)Output only.Stream.BuildersetErrors(int index, Error.Builder builderForValue)Output only.Stream.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Stream.BuildersetName(String value)Output only.Stream.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Stream.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Stream.BuildersetSourceConfig(SourceConfig value)Required.Stream.BuildersetSourceConfig(SourceConfig.Builder builderForValue)Required.Stream.BuildersetState(Stream.State value)The state of the stream.Stream.BuildersetStateValue(int value)The state of the stream.Stream.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Stream.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Stream.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
clear
public Stream.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
getDefaultInstanceForType
public Stream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Stream build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Stream buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Stream.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
setField
public Stream.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
clearField
public Stream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
clearOneof
public Stream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
setRepeatedField
public Stream.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
addRepeatedField
public Stream.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
mergeFrom
public Stream.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Stream.Builder>
-
mergeFrom
public Stream.Builder mergeFrom(Stream other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
mergeFrom
public Stream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Stream.Builder>- Throws:
IOException
-
getBackfillStrategyCase
public Stream.BackfillStrategyCase getBackfillStrategyCase()
- Specified by:
getBackfillStrategyCasein interfaceStreamOrBuilder
-
clearBackfillStrategy
public Stream.Builder clearBackfillStrategy()
-
getName
public String getName()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceStreamOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceStreamOrBuilder- Returns:
- The bytes for name.
-
setName
public Stream.Builder setName(String value)
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Stream.Builder clearName()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public Stream.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceStreamOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceStreamOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Stream.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Stream.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Stream.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Stream.Builder clearCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceStreamOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceStreamOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceStreamOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Stream.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Stream.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Stream.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Stream.Builder clearUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceStreamOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:StreamOrBuilderLabels.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceStreamOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceStreamOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceStreamOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceStreamOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceStreamOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceStreamOrBuilder
-
clearLabels
public Stream.Builder clearLabels()
-
removeLabels
public Stream.Builder removeLabels(String key)
Labels.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Stream.Builder putLabels(String key, String value)
Labels.
map<string, string> labels = 4;
-
putAllLabels
public Stream.Builder putAllLabels(Map<String,String> values)
Labels.
map<string, string> labels = 4;
-
getDisplayName
public String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceStreamOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceStreamOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public Stream.Builder setDisplayName(String value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Stream.Builder clearDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Stream.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasSourceConfig
public boolean hasSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasSourceConfigin interfaceStreamOrBuilder- Returns:
- Whether the sourceConfig field is set.
-
getSourceConfig
public SourceConfig getSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceConfigin interfaceStreamOrBuilder- Returns:
- The sourceConfig.
-
setSourceConfig
public Stream.Builder setSourceConfig(SourceConfig value)
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
setSourceConfig
public Stream.Builder setSourceConfig(SourceConfig.Builder builderForValue)
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
mergeSourceConfig
public Stream.Builder mergeSourceConfig(SourceConfig value)
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
clearSourceConfig
public Stream.Builder clearSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
getSourceConfigBuilder
public SourceConfig.Builder getSourceConfigBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
-
getSourceConfigOrBuilder
public SourceConfigOrBuilder getSourceConfigOrBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceConfigOrBuilderin interfaceStreamOrBuilder
-
hasDestinationConfig
public boolean hasDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDestinationConfigin interfaceStreamOrBuilder- Returns:
- Whether the destinationConfig field is set.
-
getDestinationConfig
public DestinationConfig getDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationConfigin interfaceStreamOrBuilder- Returns:
- The destinationConfig.
-
setDestinationConfig
public Stream.Builder setDestinationConfig(DestinationConfig value)
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
setDestinationConfig
public Stream.Builder setDestinationConfig(DestinationConfig.Builder builderForValue)
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
mergeDestinationConfig
public Stream.Builder mergeDestinationConfig(DestinationConfig value)
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
clearDestinationConfig
public Stream.Builder clearDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
getDestinationConfigBuilder
public DestinationConfig.Builder getDestinationConfigBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
-
getDestinationConfigOrBuilder
public DestinationConfigOrBuilder getDestinationConfigOrBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationConfigOrBuilderin interfaceStreamOrBuilder
-
getStateValue
public int getStateValue()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Specified by:
getStateValuein interfaceStreamOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Stream.Builder setStateValue(int value)
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Stream.State getState()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Specified by:
getStatein interfaceStreamOrBuilder- Returns:
- The state.
-
setState
public Stream.Builder setState(Stream.State value)
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Stream.Builder clearState()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;- Returns:
- This builder for chaining.
-
hasBackfillAll
public 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;- Specified by:
hasBackfillAllin interfaceStreamOrBuilder- Returns:
- Whether the backfillAll field is set.
-
getBackfillAll
public 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;- Specified by:
getBackfillAllin interfaceStreamOrBuilder- Returns:
- The backfillAll.
-
setBackfillAll
public Stream.Builder setBackfillAll(Stream.BackfillAllStrategy value)
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
-
setBackfillAll
public Stream.Builder setBackfillAll(Stream.BackfillAllStrategy.Builder builderForValue)
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
-
mergeBackfillAll
public Stream.Builder mergeBackfillAll(Stream.BackfillAllStrategy value)
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
-
clearBackfillAll
public Stream.Builder clearBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
-
getBackfillAllBuilder
public Stream.BackfillAllStrategy.Builder getBackfillAllBuilder()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
-
getBackfillAllOrBuilder
public 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;- Specified by:
getBackfillAllOrBuilderin interfaceStreamOrBuilder
-
hasBackfillNone
public boolean hasBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;- Specified by:
hasBackfillNonein interfaceStreamOrBuilder- Returns:
- Whether the backfillNone field is set.
-
getBackfillNone
public Stream.BackfillNoneStrategy getBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;- Specified by:
getBackfillNonein interfaceStreamOrBuilder- Returns:
- The backfillNone.
-
setBackfillNone
public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
-
setBackfillNone
public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
-
mergeBackfillNone
public Stream.Builder mergeBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
-
clearBackfillNone
public Stream.Builder clearBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
-
getBackfillNoneBuilder
public Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
-
getBackfillNoneOrBuilder
public Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;- Specified by:
getBackfillNoneOrBuilderin interfaceStreamOrBuilder
-
getErrorsList
public List<Error> getErrorsList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsListin interfaceStreamOrBuilder
-
getErrorsCount
public int getErrorsCount()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsCountin interfaceStreamOrBuilder
-
getErrors
public Error getErrors(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsin interfaceStreamOrBuilder
-
setErrors
public Stream.Builder setErrors(int index, Error value)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setErrors
public Stream.Builder setErrors(int index, Error.Builder builderForValue)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addErrors
public Stream.Builder addErrors(Error value)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addErrors
public Stream.Builder addErrors(int index, Error value)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addErrors
public Stream.Builder addErrors(Error.Builder builderForValue)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addErrors
public Stream.Builder addErrors(int index, Error.Builder builderForValue)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllErrors
public Stream.Builder addAllErrors(Iterable<? extends Error> values)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearErrors
public Stream.Builder clearErrors()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeErrors
public Stream.Builder removeErrors(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsBuilder
public Error.Builder getErrorsBuilder(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilder
public ErrorOrBuilder getErrorsOrBuilder(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsOrBuilderin interfaceStreamOrBuilder
-
getErrorsOrBuilderList
public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsOrBuilderListin interfaceStreamOrBuilder
-
addErrorsBuilder
public Error.Builder addErrorsBuilder()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addErrorsBuilder
public Error.Builder addErrorsBuilder(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsBuilderList
public List<Error.Builder> getErrorsBuilderList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCustomerManagedEncryptionKey
public 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];- Specified by:
hasCustomerManagedEncryptionKeyin interfaceStreamOrBuilder- Returns:
- Whether the customerManagedEncryptionKey field is set.
-
getCustomerManagedEncryptionKey
public 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];- Specified by:
getCustomerManagedEncryptionKeyin interfaceStreamOrBuilder- Returns:
- The customerManagedEncryptionKey.
-
getCustomerManagedEncryptionKeyBytes
public 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];- Specified by:
getCustomerManagedEncryptionKeyBytesin interfaceStreamOrBuilder- Returns:
- The bytes for customerManagedEncryptionKey.
-
setCustomerManagedEncryptionKey
public Stream.Builder setCustomerManagedEncryptionKey(String value)
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];- Parameters:
value- The customerManagedEncryptionKey to set.- Returns:
- This builder for chaining.
-
clearCustomerManagedEncryptionKey
public Stream.Builder clearCustomerManagedEncryptionKey()
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:
- This builder for chaining.
-
setCustomerManagedEncryptionKeyBytes
public Stream.Builder setCustomerManagedEncryptionKeyBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for customerManagedEncryptionKey to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Stream.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
mergeUnknownFields
public final Stream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>
-
-