public static final class StreamLocation.Builder extends GeneratedMessageV3.Builder<StreamLocation.Builder> implements StreamLocationOrBuilder
Describes a stream of data, either as input to be processed or as
output of a streaming Dataflow job.
Protobuf type google.dataflow.v1beta3.StreamLocation
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamLocation build()
Returns
buildPartial()
public StreamLocation buildPartial()
Returns
clear()
public StreamLocation.Builder clear()
Returns
Overrides
clearCustomSourceLocation()
public StreamLocation.Builder clearCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLocation()
public StreamLocation.Builder clearLocation()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPubsubLocation()
public StreamLocation.Builder clearPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Returns
public StreamLocation.Builder clearSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Returns
clearStreamingStageLocation()
public StreamLocation.Builder clearStreamingStageLocation()
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Returns
clone()
public StreamLocation.Builder clone()
Returns
Overrides
getCustomSourceLocation()
public CustomSourceLocation getCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Returns
getCustomSourceLocationBuilder()
public CustomSourceLocation.Builder getCustomSourceLocationBuilder()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Returns
getCustomSourceLocationOrBuilder()
public CustomSourceLocationOrBuilder getCustomSourceLocationOrBuilder()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Returns
getDefaultInstanceForType()
public StreamLocation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLocationCase()
public StreamLocation.LocationCase getLocationCase()
Returns
getPubsubLocation()
public PubsubLocation getPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Returns
getPubsubLocationBuilder()
public PubsubLocation.Builder getPubsubLocationBuilder()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Returns
getPubsubLocationOrBuilder()
public PubsubLocationOrBuilder getPubsubLocationOrBuilder()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Returns
public StreamingSideInputLocation getSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Returns
public StreamingSideInputLocation.Builder getSideInputLocationBuilder()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Returns
public StreamingSideInputLocationOrBuilder getSideInputLocationOrBuilder()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Returns
getStreamingStageLocation()
public StreamingStageLocation getStreamingStageLocation()
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Returns
getStreamingStageLocationBuilder()
public StreamingStageLocation.Builder getStreamingStageLocationBuilder()
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Returns
getStreamingStageLocationOrBuilder()
public StreamingStageLocationOrBuilder getStreamingStageLocationOrBuilder()
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Returns
hasCustomSourceLocation()
public boolean hasCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Returns
Type | Description |
boolean | Whether the customSourceLocation field is set.
|
hasPubsubLocation()
public boolean hasPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Returns
Type | Description |
boolean | Whether the pubsubLocation field is set.
|
public boolean hasSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Returns
Type | Description |
boolean | Whether the sideInputLocation field is set.
|
hasStreamingStageLocation()
public boolean hasStreamingStageLocation()
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Returns
Type | Description |
boolean | Whether the streamingStageLocation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomSourceLocation(CustomSourceLocation value)
public StreamLocation.Builder mergeCustomSourceLocation(CustomSourceLocation value)
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Parameter
Returns
mergeFrom(StreamLocation other)
public StreamLocation.Builder mergeFrom(StreamLocation other)
Parameter
Returns
public StreamLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamLocation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePubsubLocation(PubsubLocation value)
public StreamLocation.Builder mergePubsubLocation(PubsubLocation value)
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Parameter
Returns
public StreamLocation.Builder mergeSideInputLocation(StreamingSideInputLocation value)
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Parameter
Returns
mergeStreamingStageLocation(StreamingStageLocation value)
public StreamLocation.Builder mergeStreamingStageLocation(StreamingStageLocation value)
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCustomSourceLocation(CustomSourceLocation value)
public StreamLocation.Builder setCustomSourceLocation(CustomSourceLocation value)
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Parameter
Returns
setCustomSourceLocation(CustomSourceLocation.Builder builderForValue)
public StreamLocation.Builder setCustomSourceLocation(CustomSourceLocation.Builder builderForValue)
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPubsubLocation(PubsubLocation value)
public StreamLocation.Builder setPubsubLocation(PubsubLocation value)
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Parameter
Returns
setPubsubLocation(PubsubLocation.Builder builderForValue)
public StreamLocation.Builder setPubsubLocation(PubsubLocation.Builder builderForValue)
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public StreamLocation.Builder setSideInputLocation(StreamingSideInputLocation value)
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Parameter
Returns
public StreamLocation.Builder setSideInputLocation(StreamingSideInputLocation.Builder builderForValue)
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
Parameter
Returns
setStreamingStageLocation(StreamingStageLocation value)
public StreamLocation.Builder setStreamingStageLocation(StreamingStageLocation value)
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Parameter
Returns
setStreamingStageLocation(StreamingStageLocation.Builder builderForValue)
public StreamLocation.Builder setStreamingStageLocation(StreamingStageLocation.Builder builderForValue)
The stream is part of another computation within the current
streaming Dataflow job.
.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides