public static final class Stream.Builder extends GeneratedMessageV3.Builder<Stream.Builder> implements StreamOrBuilder
A resource representing streaming data from a source to a destination.
Protobuf type google.events.cloud.datastream.v1.Stream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Stream.BuilderImplements
StreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllErrors(Iterable<? extends Error> values)
public Stream.Builder addAllErrors(Iterable<? extends Error> values)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.events.cloud.datastream.v1.Error> |
Returns | |
---|---|
Type | Description |
Stream.Builder |
addErrors(Error value)
public Stream.Builder addErrors(Error value)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
value |
Error |
Returns | |
---|---|
Type | Description |
Stream.Builder |
addErrors(Error.Builder builderForValue)
public Stream.Builder addErrors(Error.Builder builderForValue)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
Error.Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
addErrors(int index, Error value)
public Stream.Builder addErrors(int index, Error value)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Error |
Returns | |
---|---|
Type | Description |
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.events.cloud.datastream.v1.Error errors = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Error.Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
addErrorsBuilder()
public Error.Builder addErrorsBuilder()
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Returns | |
---|---|
Type | Description |
Error.Builder |
addErrorsBuilder(int index)
public Error.Builder addErrorsBuilder(int index)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Error.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Stream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Stream.Builder |
build()
public Stream build()
Returns | |
---|---|
Type | Description |
Stream |
buildPartial()
public Stream buildPartial()
Returns | |
---|---|
Type | Description |
Stream |
clear()
public Stream.Builder clear()
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearBackfillAll()
public Stream.Builder clearBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearBackfillNone()
public Stream.Builder clearBackfillNone()
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearBackfillStrategy()
public Stream.Builder clearBackfillStrategy()
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearCreateTime()
public Stream.Builder clearCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
Stream.Builder |
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;
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
clearDestinationConfig()
public Stream.Builder clearDestinationConfig()
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearDisplayName()
public Stream.Builder clearDisplayName()
Required. Display name.
string display_name = 5;
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
clearErrors()
public Stream.Builder clearErrors()
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearField(Descriptors.FieldDescriptor field)
public Stream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearLabels()
public Stream.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearName()
public Stream.Builder clearName()
Output only. The stream's name.
string name = 1;
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Stream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearSourceConfig()
public Stream.Builder clearSourceConfig()
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Returns | |
---|---|
Type | Description |
Stream.Builder |
clearState()
public Stream.Builder clearState()
The state of the stream.
.google.events.cloud.datastream.v1.Stream.State state = 8;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Stream.Builder |
clone()
public Stream.Builder clone()
Returns | |
---|---|
Type | Description |
Stream.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getBackfillAll()
public Stream.BackfillAllStrategy getBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Returns | |
---|---|
Type | Description |
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.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Returns | |
---|---|
Type | Description |
Stream.BackfillAllStrategy.Builder |
getBackfillAllOrBuilder()
public Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Returns | |
---|---|
Type | Description |
Stream.BackfillAllStrategyOrBuilder |
getBackfillNone()
public Stream.BackfillNoneStrategy getBackfillNone()
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Returns | |
---|---|
Type | Description |
Stream.BackfillNoneStrategy |
The backfillNone. |
getBackfillNoneBuilder()
public Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder()
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Returns | |
---|---|
Type | Description |
Stream.BackfillNoneStrategy.Builder |
getBackfillNoneOrBuilder()
public Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Returns | |
---|---|
Type | Description |
Stream.BackfillNoneStrategyOrBuilder |
getBackfillStrategyCase()
public Stream.BackfillStrategyCase getBackfillStrategyCase()
Returns | |
---|---|
Type | Description |
Stream.BackfillStrategyCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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;
Returns | |
---|---|
Type | Description |
String |
The customerManagedEncryptionKey. |
getCustomerManagedEncryptionKeyBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customerManagedEncryptionKey. |
getDefaultInstanceForType()
public Stream getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Stream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationConfig()
public DestinationConfig getDestinationConfig()
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Returns | |
---|---|
Type | Description |
DestinationConfig |
The destinationConfig. |
getDestinationConfigBuilder()
public DestinationConfig.Builder getDestinationConfigBuilder()
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Returns | |
---|---|
Type | Description |
DestinationConfig.Builder |
getDestinationConfigOrBuilder()
public DestinationConfigOrBuilder getDestinationConfigOrBuilder()
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Returns | |
---|---|
Type | Description |
DestinationConfigOrBuilder |
getDisplayName()
public String getDisplayName()
Required. Display name.
string display_name = 5;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getErrors(int index)
public Error getErrors(int index)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Error |
getErrorsBuilder(int index)
public Error.Builder getErrorsBuilder(int index)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Error.Builder |
getErrorsBuilderList()
public List<Error.Builder> getErrorsBuilderList()
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Returns | |
---|---|
Type | Description |
List<Builder> |
getErrorsCount()
public int getErrorsCount()
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Returns | |
---|---|
Type | Description |
int |
getErrorsList()
public List<Error> getErrorsList()
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Returns | |
---|---|
Type | Description |
List<Error> |
getErrorsOrBuilder(int index)
public ErrorOrBuilder getErrorsOrBuilder(int index)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ErrorOrBuilder |
getErrorsOrBuilderList()
public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.datastream.v1.ErrorOrBuilder> |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The stream's name.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The stream's name.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSourceConfig()
public SourceConfig getSourceConfig()
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Returns | |
---|---|
Type | Description |
SourceConfig |
The sourceConfig. |
getSourceConfigBuilder()
public SourceConfig.Builder getSourceConfigBuilder()
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
getSourceConfigOrBuilder()
public SourceConfigOrBuilder getSourceConfigOrBuilder()
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Returns | |
---|---|
Type | Description |
SourceConfigOrBuilder |
getState()
public Stream.State getState()
The state of the stream.
.google.events.cloud.datastream.v1.Stream.State state = 8;
Returns | |
---|---|
Type | Description |
Stream.State |
The state. |
getStateValue()
public int getStateValue()
The state of the stream.
.google.events.cloud.datastream.v1.Stream.State state = 8;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasBackfillAll()
public boolean hasBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Returns | |
---|---|
Type | Description |
boolean |
Whether the backfillAll field is set. |
hasBackfillNone()
public boolean hasBackfillNone()
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customerManagedEncryptionKey field is set. |
hasDestinationConfig()
public boolean hasDestinationConfig()
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the destinationConfig field is set. |
hasSourceConfig()
public boolean hasSourceConfig()
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Parameter | |
---|---|
Name | Description |
value |
Stream.BackfillAllStrategy |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeBackfillNone(Stream.BackfillNoneStrategy value)
public Stream.Builder mergeBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Parameter | |
---|---|
Name | Description |
value |
Stream.BackfillNoneStrategy |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeDestinationConfig(DestinationConfig value)
public Stream.Builder mergeDestinationConfig(DestinationConfig value)
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Parameter | |
---|---|
Name | Description |
value |
DestinationConfig |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeFrom(Stream other)
public Stream.Builder mergeFrom(Stream other)
Parameter | |
---|---|
Name | Description |
other |
Stream |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Stream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Stream.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Stream.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeSourceConfig(SourceConfig value)
public Stream.Builder mergeSourceConfig(SourceConfig value)
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Parameter | |
---|---|
Name | Description |
value |
SourceConfig |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Stream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Stream.Builder |
mergeUpdateTime(Timestamp value)
public Stream.Builder mergeUpdateTime(Timestamp value)
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Stream.Builder |
putAllLabels(Map<String,String> values)
public Stream.Builder putAllLabels(Map<String,String> values)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Stream.Builder |
putLabels(String key, String value)
public Stream.Builder putLabels(String key, String value)
Labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Stream.Builder |
removeErrors(int index)
public Stream.Builder removeErrors(int index)
Output only. Errors on the Stream.
repeated .google.events.cloud.datastream.v1.Error errors = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Stream.Builder |
removeLabels(String key)
public Stream.Builder removeLabels(String key)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
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.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Parameter | |
---|---|
Name | Description |
value |
Stream.BackfillAllStrategy |
Returns | |
---|---|
Type | Description |
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.events.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
Parameter | |
---|---|
Name | Description |
builderForValue |
Stream.BackfillAllStrategy.Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setBackfillNone(Stream.BackfillNoneStrategy value)
public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy value)
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Parameter | |
---|---|
Name | Description |
value |
Stream.BackfillNoneStrategy |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)
public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)
Do not automatically backfill any objects.
.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
Parameter | |
---|---|
Name | Description |
builderForValue |
Stream.BackfillNoneStrategy.Builder |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setCustomerManagedEncryptionKey(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The customerManagedEncryptionKey to set. |
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
setCustomerManagedEncryptionKeyBytes(ByteString value)
public Stream.Builder setCustomerManagedEncryptionKeyBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for customerManagedEncryptionKey to set. |
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
setDestinationConfig(DestinationConfig value)
public Stream.Builder setDestinationConfig(DestinationConfig value)
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Parameter | |
---|---|
Name | Description |
value |
DestinationConfig |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setDestinationConfig(DestinationConfig.Builder builderForValue)
public Stream.Builder setDestinationConfig(DestinationConfig.Builder builderForValue)
Required. Destination connection profile configuration.
.google.events.cloud.datastream.v1.DestinationConfig destination_config = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
DestinationConfig.Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setDisplayName(String value)
public Stream.Builder setDisplayName(String value)
Required. Display name.
string display_name = 5;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Stream.Builder setDisplayNameBytes(ByteString value)
Required. Display name.
string display_name = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.datastream.v1.Error errors = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Error |
Returns | |
---|---|
Type | Description |
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.events.cloud.datastream.v1.Error errors = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Error.Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Stream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setName(String value)
public Stream.Builder setName(String value)
Output only. The stream's name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Stream.Builder setNameBytes(ByteString value)
Output only. The stream's name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setSourceConfig(SourceConfig value)
public Stream.Builder setSourceConfig(SourceConfig value)
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Parameter | |
---|---|
Name | Description |
value |
SourceConfig |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setSourceConfig(SourceConfig.Builder builderForValue)
public Stream.Builder setSourceConfig(SourceConfig.Builder builderForValue)
Required. Source connection profile configuration.
.google.events.cloud.datastream.v1.SourceConfig source_config = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
SourceConfig.Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setState(Stream.State value)
public Stream.Builder setState(Stream.State value)
The state of the stream.
.google.events.cloud.datastream.v1.Stream.State state = 8;
Parameter | |
---|---|
Name | Description |
value |
Stream.State The state to set. |
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
setStateValue(int value)
public Stream.Builder setStateValue(int value)
The state of the stream.
.google.events.cloud.datastream.v1.Stream.State state = 8;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Stream.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Stream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Stream.Builder |
setUpdateTime(Timestamp value)
public Stream.Builder setUpdateTime(Timestamp value)
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Stream.Builder |