- 1.77.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class Stream.Builder extends GeneratedMessageV3.Builder<Stream.Builder> implements StreamOrBuilderA resource representing streaming data from a source to a destination.
Protobuf type google.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()| 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.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| values | Iterable<? extends com.google.cloud.datastream.v1.Error> |
| Type | Description |
| Stream.Builder |
addErrors(Error value)
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];
| Name | Description |
| value | Error |
| Type | Description |
| Stream.Builder |
addErrors(Error.Builder builderForValue)
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];
| Name | Description |
| builderForValue | Error.Builder |
| 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.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| value | Error |
| 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.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| builderForValue | Error.Builder |
| Type | Description |
| Stream.Builder |
addErrorsBuilder()
public Error.Builder addErrorsBuilder()Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Error.Builder |
addErrorsBuilder(int index)
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];
| Name | Description |
| index | int |
| Type | Description |
| Error.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Stream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Stream.Builder |
build()
public Stream build()| Type | Description |
| Stream |
buildPartial()
public Stream buildPartial()| Type | Description |
| Stream |
clear()
public Stream.Builder clear()| Type | Description |
| Stream.Builder |
clearBackfillAll()
public Stream.Builder clearBackfillAll()Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| Type | Description |
| Stream.Builder |
clearBackfillNone()
public Stream.Builder clearBackfillNone()Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Type | Description |
| Stream.Builder |
clearBackfillStrategy()
public Stream.Builder clearBackfillStrategy()| Type | Description |
| 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];
| 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 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
| Stream.Builder | This builder for chaining. |
clearDestinationConfig()
public Stream.Builder clearDestinationConfig()Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Stream.Builder |
clearDisplayName()
public Stream.Builder clearDisplayName()Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Stream.Builder | This builder for chaining. |
clearErrors()
public Stream.Builder clearErrors()Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Stream.Builder |
clearField(Descriptors.FieldDescriptor field)
public Stream.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Stream.Builder |
clearLabels()
public Stream.Builder clearLabels()| Type | Description |
| Stream.Builder |
clearName()
public Stream.Builder clearName()Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Stream.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Stream.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Stream.Builder |
clearSourceConfig()
public Stream.Builder clearSourceConfig()Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Stream.Builder |
clearState()
public Stream.Builder clearState()The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Stream.Builder |
clone()
public Stream.Builder clone()| Type | Description |
| Stream.Builder |
containsLabels(String key)
public boolean containsLabels(String key)Labels.
map<string, string> labels = 4;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getBackfillAll()
public Stream.BackfillAllStrategy getBackfillAll()Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| 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.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| 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.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| Type | Description |
| Stream.BackfillAllStrategyOrBuilder |
getBackfillNone()
public Stream.BackfillNoneStrategy getBackfillNone()Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Type | Description |
| Stream.BackfillNoneStrategy | The backfillNone. |
getBackfillNoneBuilder()
public Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder()Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Type | Description |
| Stream.BackfillNoneStrategy.Builder |
getBackfillNoneOrBuilder()
public Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Type | Description |
| Stream.BackfillNoneStrategyOrBuilder |
getBackfillStrategyCase()
public Stream.BackfillStrategyCase getBackfillStrategyCase()| Type | Description |
| 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];
| Type | Description |
| 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];
| Type | Description |
| 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];
| 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 [(.google.api.field_behavior) = IMMUTABLE];
| 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 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
| ByteString | The bytes for customerManagedEncryptionKey. |
getDefaultInstanceForType()
public Stream getDefaultInstanceForType()| Type | Description |
| Stream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDestinationConfig()
public DestinationConfig getDestinationConfig()Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DestinationConfig | The destinationConfig. |
getDestinationConfigBuilder()
public DestinationConfig.Builder getDestinationConfigBuilder()Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DestinationConfig.Builder |
getDestinationConfigOrBuilder()
public DestinationConfigOrBuilder getDestinationConfigOrBuilder()Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DestinationConfigOrBuilder |
getDisplayName()
public String getDisplayName()Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for displayName. |
getErrors(int index)
public Error getErrors(int index)Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| Error |
getErrorsBuilder(int index)
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];
| Name | Description |
| index | int |
| Type | Description |
| Error.Builder |
getErrorsBuilderList()
public List<Error.Builder> getErrorsBuilderList()Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<Builder> |
getErrorsCount()
public int getErrorsCount()Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int |
getErrorsList()
public List<Error> getErrorsList()Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<Error> |
getErrorsOrBuilder(int index)
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];
| Name | Description |
| index | int |
| Type | Description |
| ErrorOrBuilder |
getErrorsOrBuilderList()
public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<? extends com.google.cloud.datastream.v1.ErrorOrBuilder> |
getLabels()
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Type | Description |
| Map<String,String> |
getLabelsCount()
public int getLabelsCount()Labels.
map<string, string> labels = 4;
| Type | Description |
| int |
getLabelsMap()
public Map<String,String> getLabelsMap()Labels.
map<string, string> labels = 4;
| Type | Description |
| Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Labels.
map<string, string> labels = 4;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Labels.
map<string, string> labels = 4;
| Name | Description |
| key | String |
| Type | Description |
| String |
getMutableLabels()
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Type | Description |
| Map<String,String> |
getName()
public String getName()Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ByteString | The bytes for name. |
getSourceConfig()
public SourceConfig getSourceConfig()Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SourceConfig | The sourceConfig. |
getSourceConfigBuilder()
public SourceConfig.Builder getSourceConfigBuilder()Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SourceConfig.Builder |
getSourceConfigOrBuilder()
public SourceConfigOrBuilder getSourceConfigOrBuilder()Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SourceConfigOrBuilder |
getState()
public Stream.State getState()The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;
| Type | Description |
| Stream.State | The state. |
getStateValue()
public int getStateValue()The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| 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];
| Type | Description |
| TimestampOrBuilder |
hasBackfillAll()
public boolean hasBackfillAll()Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| Type | Description |
| boolean | Whether the backfillAll field is set. |
hasBackfillNone()
public boolean hasBackfillNone()Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
| boolean | Whether the customerManagedEncryptionKey field is set. |
hasDestinationConfig()
public boolean hasDestinationConfig()Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the destinationConfig field is set. |
hasSourceConfig()
public boolean hasSourceConfig()Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
isInitialized()
public final boolean isInitialized()| 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.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| Name | Description |
| value | Stream.BackfillAllStrategy |
| Type | Description |
| Stream.Builder |
mergeBackfillNone(Stream.BackfillNoneStrategy value)
public Stream.Builder mergeBackfillNone(Stream.BackfillNoneStrategy value)Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Name | Description |
| value | Stream.BackfillNoneStrategy |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Stream.Builder |
mergeDestinationConfig(DestinationConfig value)
public Stream.Builder mergeDestinationConfig(DestinationConfig value)Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | DestinationConfig |
| Type | Description |
| Stream.Builder |
mergeFrom(Stream other)
public Stream.Builder mergeFrom(Stream other)| Name | Description |
| other | Stream |
| Type | Description |
| Stream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Stream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Stream.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Stream.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Stream.Builder |
mergeSourceConfig(SourceConfig value)
public Stream.Builder mergeSourceConfig(SourceConfig value)Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | SourceConfig |
| Type | Description |
| Stream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Stream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Stream.Builder |
putAllLabels(Map<String,String> values)
public Stream.Builder putAllLabels(Map<String,String> values)Labels.
map<string, string> labels = 4;
| Name | Description |
| values | Map<String,String> |
| Type | Description |
| Stream.Builder |
putLabels(String key, String value)
public Stream.Builder putLabels(String key, String value)Labels.
map<string, string> labels = 4;
| Name | Description |
| key | String |
| value | String |
| Type | Description |
| Stream.Builder |
removeErrors(int index)
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];
| Name | Description |
| index | int |
| Type | Description |
| Stream.Builder |
removeLabels(String key)
public Stream.Builder removeLabels(String key)Labels.
map<string, string> labels = 4;
| Name | Description |
| key | String |
| 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.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| Name | Description |
| value | Stream.BackfillAllStrategy |
| 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.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
| Name | Description |
| builderForValue | Stream.BackfillAllStrategy.Builder |
| Type | Description |
| Stream.Builder |
setBackfillNone(Stream.BackfillNoneStrategy value)
public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy value)Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Name | Description |
| value | Stream.BackfillNoneStrategy |
| Type | Description |
| Stream.Builder |
setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)
public Stream.Builder setBackfillNone(Stream.BackfillNoneStrategy.Builder builderForValue)Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;
| Name | Description |
| builderForValue | Stream.BackfillNoneStrategy.Builder |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| 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 [(.google.api.field_behavior) = IMMUTABLE];
| Name | Description |
| value | StringThe customerManagedEncryptionKey to set. |
| 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 [(.google.api.field_behavior) = IMMUTABLE];
| Name | Description |
| value | ByteStringThe bytes for customerManagedEncryptionKey to set. |
| Type | Description |
| Stream.Builder | This builder for chaining. |
setDestinationConfig(DestinationConfig value)
public Stream.Builder setDestinationConfig(DestinationConfig value)Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | DestinationConfig |
| Type | Description |
| Stream.Builder |
setDestinationConfig(DestinationConfig.Builder builderForValue)
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];
| Name | Description |
| builderForValue | DestinationConfig.Builder |
| Type | Description |
| Stream.Builder |
setDisplayName(String value)
public Stream.Builder setDisplayName(String value)Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe displayName to set. |
| Type | Description |
| 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];
| Name | Description |
| value | ByteStringThe bytes for displayName to set. |
| 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.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| value | Error |
| 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.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| builderForValue | Error.Builder |
| Type | Description |
| Stream.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Stream.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Stream.Builder |
setName(String value)
public Stream.Builder setName(String value)Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe name to set. |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Stream.Builder |
setSourceConfig(SourceConfig value)
public Stream.Builder setSourceConfig(SourceConfig value)Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | SourceConfig |
| Type | Description |
| Stream.Builder |
setSourceConfig(SourceConfig.Builder builderForValue)
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];
| Name | Description |
| builderForValue | SourceConfig.Builder |
| Type | Description |
| Stream.Builder |
setState(Stream.State value)
public Stream.Builder setState(Stream.State value)The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;
| Name | Description |
| value | Stream.StateThe state to set. |
| Type | Description |
| Stream.Builder | This builder for chaining. |
setStateValue(int value)
public Stream.Builder setStateValue(int value)The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| Stream.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Stream.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| Stream.Builder |