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 type
google.cloud.datastream.v1.Stream| Modifier and Type | Method and Description |
|---|---|
Stream.Builder |
addAllErrors(Iterable<? extends Error> values)
Output only.
|
Stream.Builder |
addErrors(Error.Builder builderForValue)
Output only.
|
Stream.Builder |
addErrors(Error value)
Output only.
|
Stream.Builder |
addErrors(int index,
Error.Builder builderForValue)
Output only.
|
Stream.Builder |
addErrors(int index,
Error value)
Output only.
|
Error.Builder |
addErrorsBuilder()
Output only.
|
Error.Builder |
addErrorsBuilder(int index)
Output only.
|
Stream.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stream |
build() |
Stream |
buildPartial() |
Stream.Builder |
clear() |
Stream.Builder |
clearBackfillAll()
Automatically backfill objects included in the stream source
configuration.
|
Stream.Builder |
clearBackfillNone()
Do not automatically backfill any objects.
|
Stream.Builder |
clearBackfillStrategy() |
Stream.Builder |
clearCreateTime()
Output only.
|
Stream.Builder |
clearCustomerManagedEncryptionKey()
Immutable.
|
Stream.Builder |
clearDestinationConfig()
Required.
|
Stream.Builder |
clearDisplayName()
Required.
|
Stream.Builder |
clearErrors()
Output only.
|
Stream.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Stream.Builder |
clearLabels() |
Stream.Builder |
clearName()
Output only.
|
Stream.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Stream.Builder |
clearSourceConfig()
Required.
|
Stream.Builder |
clearState()
The state of the stream.
|
Stream.Builder |
clearUpdateTime()
Output only.
|
Stream.Builder |
clone() |
boolean |
containsLabels(String key)
Labels.
|
Stream.BackfillAllStrategy |
getBackfillAll()
Automatically backfill objects included in the stream source
configuration.
|
Stream.BackfillAllStrategy.Builder |
getBackfillAllBuilder()
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.BackfillNoneStrategy.Builder |
getBackfillNoneBuilder()
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.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCustomerManagedEncryptionKey()
Immutable.
|
com.google.protobuf.ByteString |
getCustomerManagedEncryptionKeyBytes()
Immutable.
|
Stream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DestinationConfig |
getDestinationConfig()
Required.
|
DestinationConfig.Builder |
getDestinationConfigBuilder()
Required.
|
DestinationConfigOrBuilder |
getDestinationConfigOrBuilder()
Required.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Error |
getErrors(int index)
Output only.
|
Error.Builder |
getErrorsBuilder(int index)
Output only.
|
List<Error.Builder> |
getErrorsBuilderList()
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.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
SourceConfig |
getSourceConfig()
Required.
|
SourceConfig.Builder |
getSourceConfigBuilder()
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.Timestamp.Builder |
getUpdateTimeBuilder()
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 |
hasCustomerManagedEncryptionKey()
Immutable.
|
boolean |
hasDestinationConfig()
Required.
|
boolean |
hasSourceConfig()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Stream.Builder |
mergeBackfillAll(Stream.BackfillAllStrategy value)
Automatically backfill objects included in the stream source
configuration.
|
Stream.Builder |
mergeBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
|
Stream.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.Builder |
mergeDestinationConfig(DestinationConfig value)
Required.
|
Stream.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Stream.Builder |
mergeFrom(com.google.protobuf.Message other) |
Stream.Builder |
mergeFrom(Stream other) |
Stream.Builder |
mergeSourceConfig(SourceConfig value)
Required.
|
Stream.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Stream.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.Builder |
putAllLabels(Map<String,String> values)
Labels.
|
Stream.Builder |
putLabels(String key,
String value)
Labels.
|
Stream.Builder |
removeErrors(int index)
Output only.
|
Stream.Builder |
removeLabels(String key)
Labels.
|
Stream.Builder |
setBackfillAll(Stream.BackfillAllStrategy.Builder builderForValue)
Automatically backfill objects included in the stream source
configuration.
|
Stream.Builder |
setBackfillAll(Stream.BackfillAllStrategy value)
Automatically backfill objects included in the stream source
configuration.
|
Stream.Builder |
setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)
Do not automatically backfill any objects.
|
Stream.Builder |
setBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
|
Stream.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Stream.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.Builder |
setCustomerManagedEncryptionKey(String value)
Immutable.
|
Stream.Builder |
setCustomerManagedEncryptionKeyBytes(com.google.protobuf.ByteString value)
Immutable.
|
Stream.Builder |
setDestinationConfig(DestinationConfig.Builder builderForValue)
Required.
|
Stream.Builder |
setDestinationConfig(DestinationConfig value)
Required.
|
Stream.Builder |
setDisplayName(String value)
Required.
|
Stream.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Stream.Builder |
setErrors(int index,
Error.Builder builderForValue)
Output only.
|
Stream.Builder |
setErrors(int index,
Error value)
Output only.
|
Stream.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stream.Builder |
setName(String value)
Output only.
|
Stream.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Stream.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Stream.Builder |
setSourceConfig(SourceConfig.Builder builderForValue)
Required.
|
Stream.Builder |
setSourceConfig(SourceConfig value)
Required.
|
Stream.Builder |
setState(Stream.State value)
The state of the stream.
|
Stream.Builder |
setStateValue(int value)
The state of the stream.
|
Stream.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Stream.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Stream.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Stream build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Stream buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Stream.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stream.Builder>public Stream.Builder mergeFrom(Stream other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public Stream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stream.Builder>IOExceptionpublic Stream.BackfillStrategyCase getBackfillStrategyCase()
getBackfillStrategyCase in interface StreamOrBuilderpublic Stream.Builder clearBackfillStrategy()
public String getName()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface StreamOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface StreamOrBuilderpublic Stream.Builder setName(String value)
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Stream.Builder clearName()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Stream.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface StreamOrBuilderpublic 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];
getCreateTime in interface StreamOrBuilderpublic 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];
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];
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];
public Stream.Builder clearCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCreateTimeOrBuilder in interface StreamOrBuilderpublic boolean hasUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface StreamOrBuilderpublic 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];
getUpdateTime in interface StreamOrBuilderpublic 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];
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];
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];
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];
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];
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];
getUpdateTimeOrBuilder in interface StreamOrBuilderpublic int getLabelsCount()
StreamOrBuilderLabels.
map<string, string> labels = 4;getLabelsCount in interface StreamOrBuilderpublic boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;containsLabels in interface StreamOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface StreamOrBuilderpublic Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;getLabelsMap in interface StreamOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;getLabelsOrDefault in interface StreamOrBuilderpublic String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;getLabelsOrThrow in interface StreamOrBuilderpublic Stream.Builder clearLabels()
public Stream.Builder removeLabels(String key)
Labels.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public Stream.Builder putLabels(String key, String value)
Labels.
map<string, string> labels = 4;public Stream.Builder putAllLabels(Map<String,String> values)
Labels.
map<string, string> labels = 4;public String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface StreamOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface StreamOrBuilderpublic Stream.Builder setDisplayName(String value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Stream.Builder clearDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];public Stream.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public boolean hasSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
hasSourceConfig in interface StreamOrBuilderpublic SourceConfig getSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
getSourceConfig in interface StreamOrBuilderpublic Stream.Builder setSourceConfig(SourceConfig value)
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
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];
public Stream.Builder mergeSourceConfig(SourceConfig value)
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
public Stream.Builder clearSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
public SourceConfig.Builder getSourceConfigBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
public SourceConfigOrBuilder getSourceConfigOrBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
getSourceConfigOrBuilder in interface StreamOrBuilderpublic boolean hasDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
hasDestinationConfig in interface StreamOrBuilderpublic DestinationConfig getDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
getDestinationConfig in interface StreamOrBuilderpublic Stream.Builder setDestinationConfig(DestinationConfig value)
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
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];
public Stream.Builder mergeDestinationConfig(DestinationConfig value)
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
public Stream.Builder clearDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
public DestinationConfig.Builder getDestinationConfigBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
public DestinationConfigOrBuilder getDestinationConfigOrBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
getDestinationConfigOrBuilder in interface StreamOrBuilderpublic int getStateValue()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;getStateValue in interface StreamOrBuilderpublic Stream.Builder setStateValue(int value)
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;value - The enum numeric value on the wire for state to set.public Stream.State getState()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;getState in interface StreamOrBuilderpublic Stream.Builder setState(Stream.State value)
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;value - The state to set.public Stream.Builder clearState()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;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;hasBackfillAll in interface StreamOrBuilderpublic 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;getBackfillAll in interface StreamOrBuilderpublic 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;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;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;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;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;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;getBackfillAllOrBuilder in interface StreamOrBuilderpublic boolean hasBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;hasBackfillNone in interface StreamOrBuilderpublic Stream.BackfillNoneStrategy getBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;getBackfillNone in interface StreamOrBuilderpublic Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;public Stream.Builder mergeBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;public Stream.Builder clearBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;public Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;public Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;getBackfillNoneOrBuilder in interface StreamOrBuilderpublic List<Error> getErrorsList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsList in interface StreamOrBuilderpublic int getErrorsCount()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsCount in interface StreamOrBuilderpublic Error getErrors(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrors in interface StreamOrBuilderpublic 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];
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];
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];
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];
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];
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];
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];
public Stream.Builder clearErrors()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
getErrorsOrBuilder in interface StreamOrBuilderpublic List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsOrBuilderList in interface StreamOrBuilderpublic Error.Builder addErrorsBuilder()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
hasCustomerManagedEncryptionKey in interface StreamOrBuilderpublic 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];
getCustomerManagedEncryptionKey in interface StreamOrBuilderpublic 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];
getCustomerManagedEncryptionKeyBytes in interface StreamOrBuilderpublic 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];
value - The customerManagedEncryptionKey to set.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];
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];
value - The bytes for customerManagedEncryptionKey to set.public final Stream.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>public final Stream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.Builder>Copyright © 2022 Google LLC. All rights reserved.