public static final class RunStreamRequest.Builder extends GeneratedMessageV3.Builder<RunStreamRequest.Builder> implements RunStreamRequestOrBuilder
Request message for running a stream.
Protobuf type google.cloud.datastream.v1.RunStreamRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunStreamRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunStreamRequest build()
buildPartial()
public RunStreamRequest buildPartial()
clear()
public RunStreamRequest.Builder clear()
Overrides
clearCdcStrategy()
public RunStreamRequest.Builder clearCdcStrategy()
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public RunStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearForce()
public RunStreamRequest.Builder clearForce()
Optional. Update the stream without validating it.
bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
clearName()
public RunStreamRequest.Builder clearName()
Required. Name of the stream resource to start, in the format:
projects/{project_id}/locations/{location}/streams/{stream_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public RunStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RunStreamRequest.Builder clone()
Overrides
getCdcStrategy()
public CdcStrategy getCdcStrategy()
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
getCdcStrategyBuilder()
public CdcStrategy.Builder getCdcStrategyBuilder()
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
getCdcStrategyOrBuilder()
public CdcStrategyOrBuilder getCdcStrategyOrBuilder()
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public RunStreamRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getForce()
public boolean getForce()
Optional. Update the stream without validating it.
bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The force.
|
getName()
Required. Name of the stream resource to start, in the format:
projects/{project_id}/locations/{location}/streams/{stream_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Name of the stream resource to start, in the format:
projects/{project_id}/locations/{location}/streams/{stream_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
hasCdcStrategy()
public boolean hasCdcStrategy()
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the cdcStrategy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCdcStrategy(CdcStrategy value)
public RunStreamRequest.Builder mergeCdcStrategy(CdcStrategy value)
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeFrom(RunStreamRequest other)
public RunStreamRequest.Builder mergeFrom(RunStreamRequest other)
public RunStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunStreamRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCdcStrategy(CdcStrategy value)
public RunStreamRequest.Builder setCdcStrategy(CdcStrategy value)
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
setCdcStrategy(CdcStrategy.Builder builderForValue)
public RunStreamRequest.Builder setCdcStrategy(CdcStrategy.Builder builderForValue)
Optional. The CDC strategy of the stream. If not set, the system's default
value will be used.
.google.cloud.datastream.v1.CdcStrategy cdc_strategy = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public RunStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setForce(boolean value)
public RunStreamRequest.Builder setForce(boolean value)
Optional. Update the stream without validating it.
bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The force to set.
|
setName(String value)
public RunStreamRequest.Builder setName(String value)
Required. Name of the stream resource to start, in the format:
projects/{project_id}/locations/{location}/streams/{stream_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public RunStreamRequest.Builder setNameBytes(ByteString value)
Required. Name of the stream resource to start, in the format:
projects/{project_id}/locations/{location}/streams/{stream_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunStreamRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RunStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides