Class StreamLocation.Builder (0.49.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamLocation.Builder
Overrides

build()

public StreamLocation build()
Returns
Type Description
StreamLocation

buildPartial()

public StreamLocation buildPartial()
Returns
Type Description
StreamLocation

clear()

public StreamLocation.Builder clear()
Returns
Type Description
StreamLocation.Builder
Overrides

clearCustomSourceLocation()

public StreamLocation.Builder clearCustomSourceLocation()

The stream is a custom source.

.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;

Returns
Type Description
StreamLocation.Builder

clearField(Descriptors.FieldDescriptor field)

public StreamLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamLocation.Builder
Overrides

clearLocation()

public StreamLocation.Builder clearLocation()
Returns
Type Description
StreamLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamLocation.Builder
Overrides

clearPubsubLocation()

public StreamLocation.Builder clearPubsubLocation()

The stream is a pubsub stream.

.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;

Returns
Type Description
StreamLocation.Builder

clearSideInputLocation()

public StreamLocation.Builder clearSideInputLocation()

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Returns
Type Description
StreamLocation.Builder

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
Type Description
StreamLocation.Builder

clone()

public StreamLocation.Builder clone()
Returns
Type Description
StreamLocation.Builder
Overrides

getCustomSourceLocation()

public CustomSourceLocation getCustomSourceLocation()

The stream is a custom source.

.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;

Returns
Type Description
CustomSourceLocation

The customSourceLocation.

getCustomSourceLocationBuilder()

public CustomSourceLocation.Builder getCustomSourceLocationBuilder()

The stream is a custom source.

.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;

Returns
Type Description
CustomSourceLocation.Builder

getCustomSourceLocationOrBuilder()

public CustomSourceLocationOrBuilder getCustomSourceLocationOrBuilder()

The stream is a custom source.

.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;

Returns
Type Description
CustomSourceLocationOrBuilder

getDefaultInstanceForType()

public StreamLocation getDefaultInstanceForType()
Returns
Type Description
StreamLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocationCase()

public StreamLocation.LocationCase getLocationCase()
Returns
Type Description
StreamLocation.LocationCase

getPubsubLocation()

public PubsubLocation getPubsubLocation()

The stream is a pubsub stream.

.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;

Returns
Type Description
PubsubLocation

The pubsubLocation.

getPubsubLocationBuilder()

public PubsubLocation.Builder getPubsubLocationBuilder()

The stream is a pubsub stream.

.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;

Returns
Type Description
PubsubLocation.Builder

getPubsubLocationOrBuilder()

public PubsubLocationOrBuilder getPubsubLocationOrBuilder()

The stream is a pubsub stream.

.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;

Returns
Type Description
PubsubLocationOrBuilder

getSideInputLocation()

public StreamingSideInputLocation getSideInputLocation()

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Returns
Type Description
StreamingSideInputLocation

The sideInputLocation.

getSideInputLocationBuilder()

public StreamingSideInputLocation.Builder getSideInputLocationBuilder()

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Returns
Type Description
StreamingSideInputLocation.Builder

getSideInputLocationOrBuilder()

public StreamingSideInputLocationOrBuilder getSideInputLocationOrBuilder()

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Returns
Type Description
StreamingSideInputLocationOrBuilder

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
Type Description
StreamingStageLocation

The streamingStageLocation.

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
Type Description
StreamingStageLocation.Builder

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
Type Description
StreamingStageLocationOrBuilder

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.

hasSideInputLocation()

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value CustomSourceLocation
Returns
Type Description
StreamLocation.Builder

mergeFrom(StreamLocation other)

public StreamLocation.Builder mergeFrom(StreamLocation other)
Parameter
Name Description
other StreamLocation
Returns
Type Description
StreamLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamLocation.Builder
Overrides

mergePubsubLocation(PubsubLocation value)

public StreamLocation.Builder mergePubsubLocation(PubsubLocation value)

The stream is a pubsub stream.

.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;

Parameter
Name Description
value PubsubLocation
Returns
Type Description
StreamLocation.Builder

mergeSideInputLocation(StreamingSideInputLocation value)

public StreamLocation.Builder mergeSideInputLocation(StreamingSideInputLocation value)

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Parameter
Name Description
value StreamingSideInputLocation
Returns
Type Description
StreamLocation.Builder

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
Name Description
value StreamingStageLocation
Returns
Type Description
StreamLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamLocation.Builder
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
Name Description
value CustomSourceLocation
Returns
Type Description
StreamLocation.Builder

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
Name Description
builderForValue CustomSourceLocation.Builder
Returns
Type Description
StreamLocation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamLocation.Builder
Overrides

setPubsubLocation(PubsubLocation value)

public StreamLocation.Builder setPubsubLocation(PubsubLocation value)

The stream is a pubsub stream.

.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;

Parameter
Name Description
value PubsubLocation
Returns
Type Description
StreamLocation.Builder

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
Name Description
builderForValue PubsubLocation.Builder
Returns
Type Description
StreamLocation.Builder

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

public StreamLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamLocation.Builder
Overrides

setSideInputLocation(StreamingSideInputLocation value)

public StreamLocation.Builder setSideInputLocation(StreamingSideInputLocation value)

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Parameter
Name Description
value StreamingSideInputLocation
Returns
Type Description
StreamLocation.Builder

setSideInputLocation(StreamingSideInputLocation.Builder builderForValue)

public StreamLocation.Builder setSideInputLocation(StreamingSideInputLocation.Builder builderForValue)

The stream is a streaming side input.

.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;

Parameter
Name Description
builderForValue StreamingSideInputLocation.Builder
Returns
Type Description
StreamLocation.Builder

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
Name Description
value StreamingStageLocation
Returns
Type Description
StreamLocation.Builder

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
Name Description
builderForValue StreamingStageLocation.Builder
Returns
Type Description
StreamLocation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamLocation.Builder
Overrides