Class Stream.Builder (1.20.0)

public static final class Stream.Builder extends GeneratedMessageV3.Builder<Stream.Builder> implements StreamOrBuilder

Protobuf type google.cloud.datastream.v1alpha1.Stream

Implements

StreamOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllErrors(Iterable<? extends Error> values)

public Stream.Builder addAllErrors(Iterable<? extends Error> values)

Output only. Errors on the Stream.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1alpha1.Error>
Returns
TypeDescription
Stream.Builder

addErrors(Error value)

public Stream.Builder addErrors(Error value)

Output only. Errors on the Stream.

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

Parameter
NameDescription
valueError
Returns
TypeDescription
Stream.Builder

addErrors(Error.Builder builderForValue)

public Stream.Builder addErrors(Error.Builder builderForValue)

Output only. Errors on the Stream.

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

Parameter
NameDescription
builderForValueError.Builder
Returns
TypeDescription
Stream.Builder

addErrors(int index, Error value)

public Stream.Builder addErrors(int index, Error value)

Output only. Errors on the Stream.

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

Parameters
NameDescription
indexint
valueError
Returns
TypeDescription
Stream.Builder

addErrors(int index, Error.Builder builderForValue)

public Stream.Builder addErrors(int index, Error.Builder builderForValue)

Output only. Errors on the Stream.

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

Parameters
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
Stream.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

Output only. Errors on the Stream.

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

Returns
TypeDescription
Error.Builder

addErrorsBuilder(int index)

public Error.Builder addErrorsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Stream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Stream.Builder
Overrides

build()

public Stream build()
Returns
TypeDescription
Stream

buildPartial()

public Stream buildPartial()
Returns
TypeDescription
Stream

clear()

public Stream.Builder clear()
Returns
TypeDescription
Stream.Builder
Overrides

clearBackfillAll()

public Stream.Builder clearBackfillAll()

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.Builder

clearBackfillNone()

public Stream.Builder clearBackfillNone()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.Builder

clearBackfillStrategy()

public Stream.Builder clearBackfillStrategy()
Returns
TypeDescription
Stream.Builder

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];

Returns
TypeDescription
Stream.Builder

clearDestinationConfig()

public Stream.Builder clearDestinationConfig()

Required. Destination connection profile configuration.

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

Returns
TypeDescription
Stream.Builder

clearDisplayName()

public Stream.Builder clearDisplayName()

Required. Display name.

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

Returns
TypeDescription
Stream.Builder

This builder for chaining.

clearErrors()

public Stream.Builder clearErrors()

Output only. Errors on the Stream.

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

Returns
TypeDescription
Stream.Builder

clearField(Descriptors.FieldDescriptor field)

public Stream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Stream.Builder
Overrides

clearLabels()

public Stream.Builder clearLabels()
Returns
TypeDescription
Stream.Builder

clearName()

public Stream.Builder clearName()

Output only. The stream's name.

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

Returns
TypeDescription
Stream.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Stream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Stream.Builder
Overrides

clearSourceConfig()

public Stream.Builder clearSourceConfig()

Required. Source connection profile configuration.

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

Returns
TypeDescription
Stream.Builder

clearState()

public Stream.Builder clearState()

The state of the stream.

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

Returns
TypeDescription
Stream.Builder

This builder for chaining.

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];

Returns
TypeDescription
Stream.Builder

clone()

public Stream.Builder clone()
Returns
TypeDescription
Stream.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBackfillAll()

public 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.

getBackfillAllBuilder()

public Stream.BackfillAllStrategy.Builder getBackfillAllBuilder()

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.Builder

getBackfillAllOrBuilder()

public 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 Stream.BackfillNoneStrategy getBackfillNone()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.BackfillNoneStrategy

The backfillNone.

getBackfillNoneBuilder()

public Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.BackfillNoneStrategy.Builder

getBackfillNoneOrBuilder()

public Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()

Do not automatically backfill any objects.

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

Returns
TypeDescription
Stream.BackfillNoneStrategyOrBuilder

getBackfillStrategyCase()

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

getCreateTime()

public 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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public 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

getDefaultInstanceForType()

public Stream getDefaultInstanceForType()
Returns
TypeDescription
Stream

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationConfig()

public 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.

getDestinationConfigBuilder()

public DestinationConfig.Builder getDestinationConfigBuilder()

Required. Destination connection profile configuration.

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

Returns
TypeDescription
DestinationConfig.Builder

getDestinationConfigOrBuilder()

public 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 String getDisplayName()

Required. Display name.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public 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 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

getErrorsBuilder(int index)

public Error.Builder getErrorsBuilder(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.Builder

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

Output only. Errors on the Stream.

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

Returns
TypeDescription
List<Builder>

getErrorsCount()

public 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 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 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 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 Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. The stream's name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public 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 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.

getSourceConfigBuilder()

public SourceConfig.Builder getSourceConfigBuilder()

Required. Source connection profile configuration.

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

Returns
TypeDescription
SourceConfig.Builder

getSourceConfigOrBuilder()

public 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 Stream.State getState()

The state of the stream.

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

Returns
TypeDescription
Stream.State

The state.

getStateValue()

public 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 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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public 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 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 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 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 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBackfillAll(Stream.BackfillAllStrategy value)

public Stream.Builder mergeBackfillAll(Stream.BackfillAllStrategy value)

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

.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;

Parameter
NameDescription
valueStream.BackfillAllStrategy
Returns
TypeDescription
Stream.Builder

mergeBackfillNone(Stream.BackfillNoneStrategy value)

public Stream.Builder mergeBackfillNone(Stream.BackfillNoneStrategy value)

Do not automatically backfill any objects.

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

Parameter
NameDescription
valueStream.BackfillNoneStrategy
Returns
TypeDescription
Stream.Builder

mergeCreateTime(Timestamp value)

public Stream.Builder mergeCreateTime(Timestamp value)

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Stream.Builder

mergeDestinationConfig(DestinationConfig value)

public Stream.Builder mergeDestinationConfig(DestinationConfig value)

Required. Destination connection profile configuration.

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

Parameter
NameDescription
valueDestinationConfig
Returns
TypeDescription
Stream.Builder

mergeFrom(Stream other)

public Stream.Builder mergeFrom(Stream other)
Parameter
NameDescription
otherStream
Returns
TypeDescription
Stream.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Stream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Stream.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Stream.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Stream.Builder
Overrides

mergeSourceConfig(SourceConfig value)

public Stream.Builder mergeSourceConfig(SourceConfig value)

Required. Source connection profile configuration.

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

Parameter
NameDescription
valueSourceConfig
Returns
TypeDescription
Stream.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Stream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Stream.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Stream.Builder mergeUpdateTime(Timestamp value)

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Stream.Builder

putAllLabels(Map<String,String> values)

public Stream.Builder putAllLabels(Map<String,String> values)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Stream.Builder

putLabels(String key, String value)

public Stream.Builder putLabels(String key, String value)

Labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Stream.Builder

removeErrors(int index)

public Stream.Builder removeErrors(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
Stream.Builder

removeLabels(String key)

public Stream.Builder removeLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Stream.Builder

setBackfillAll(Stream.BackfillAllStrategy value)

public Stream.Builder setBackfillAll(Stream.BackfillAllStrategy value)

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

.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;

Parameter
NameDescription
valueStream.BackfillAllStrategy
Returns
TypeDescription
Stream.Builder

setBackfillAll(Stream.BackfillAllStrategy.Builder builderForValue)

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.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;

Parameter
NameDescription
builderForValueStream.BackfillAllStrategy.Builder
Returns
TypeDescription
Stream.Builder

setBackfillNone(Stream.BackfillNoneStrategy value)

public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy value)

Do not automatically backfill any objects.

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

Parameter
NameDescription
valueStream.BackfillNoneStrategy
Returns
TypeDescription
Stream.Builder

setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)

public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)

Do not automatically backfill any objects.

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

Parameter
NameDescription
builderForValueStream.BackfillNoneStrategy.Builder
Returns
TypeDescription
Stream.Builder

setCreateTime(Timestamp value)

public Stream.Builder setCreateTime(Timestamp value)

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Stream.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Stream.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation time of the stream.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Stream.Builder

setDestinationConfig(DestinationConfig value)

public Stream.Builder setDestinationConfig(DestinationConfig value)

Required. Destination connection profile configuration.

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

Parameter
NameDescription
valueDestinationConfig
Returns
TypeDescription
Stream.Builder

setDestinationConfig(DestinationConfig.Builder builderForValue)

public Stream.Builder setDestinationConfig(DestinationConfig.Builder builderForValue)

Required. Destination connection profile configuration.

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

Parameter
NameDescription
builderForValueDestinationConfig.Builder
Returns
TypeDescription
Stream.Builder

setDisplayName(String value)

public Stream.Builder setDisplayName(String value)

Required. Display name.

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

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Stream.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Stream.Builder setDisplayNameBytes(ByteString value)

Required. Display name.

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

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Stream.Builder

This builder for chaining.

setErrors(int index, Error value)

public Stream.Builder setErrors(int index, Error value)

Output only. Errors on the Stream.

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

Parameters
NameDescription
indexint
valueError
Returns
TypeDescription
Stream.Builder

setErrors(int index, Error.Builder builderForValue)

public Stream.Builder setErrors(int index, Error.Builder builderForValue)

Output only. Errors on the Stream.

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

Parameters
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
Stream.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Stream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Stream.Builder
Overrides

setName(String value)

public Stream.Builder setName(String value)

Output only. The stream's name.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Stream.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Stream.Builder setNameBytes(ByteString value)

Output only. The stream's name.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Stream.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Stream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Stream.Builder
Overrides

setSourceConfig(SourceConfig value)

public Stream.Builder setSourceConfig(SourceConfig value)

Required. Source connection profile configuration.

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

Parameter
NameDescription
valueSourceConfig
Returns
TypeDescription
Stream.Builder

setSourceConfig(SourceConfig.Builder builderForValue)

public Stream.Builder setSourceConfig(SourceConfig.Builder builderForValue)

Required. Source connection profile configuration.

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

Parameter
NameDescription
builderForValueSourceConfig.Builder
Returns
TypeDescription
Stream.Builder

setState(Stream.State value)

public Stream.Builder setState(Stream.State value)

The state of the stream.

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

Parameter
NameDescription
valueStream.State

The state to set.

Returns
TypeDescription
Stream.Builder

This builder for chaining.

setStateValue(int value)

public Stream.Builder setStateValue(int value)

The state of the stream.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Stream.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Stream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Stream.Builder
Overrides

setUpdateTime(Timestamp value)

public Stream.Builder setUpdateTime(Timestamp value)

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Stream.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Stream.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last update time of the stream.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Stream.Builder