Class StreamLocation.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamLocation.Builder
Overrides

build()

public StreamLocation build()
Returns
TypeDescription
StreamLocation

buildPartial()

public StreamLocation buildPartial()
Returns
TypeDescription
StreamLocation

clear()

public StreamLocation.Builder clear()
Returns
TypeDescription
StreamLocation.Builder
Overrides

clearCustomSourceLocation()

public StreamLocation.Builder clearCustomSourceLocation()

The stream is a custom source.

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

Returns
TypeDescription
StreamLocation.Builder

clearField(Descriptors.FieldDescriptor field)

public StreamLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamLocation.Builder
Overrides

clearLocation()

public StreamLocation.Builder clearLocation()
Returns
TypeDescription
StreamLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamLocation.Builder
Overrides

clearPubsubLocation()

public StreamLocation.Builder clearPubsubLocation()

The stream is a pubsub stream.

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

Returns
TypeDescription
StreamLocation.Builder

clearSideInputLocation()

public StreamLocation.Builder clearSideInputLocation()

The stream is a streaming side input.

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

Returns
TypeDescription
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
TypeDescription
StreamLocation.Builder

clone()

public StreamLocation.Builder clone()
Returns
TypeDescription
StreamLocation.Builder
Overrides

getCustomSourceLocation()

public CustomSourceLocation getCustomSourceLocation()

The stream is a custom source.

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

Returns
TypeDescription
CustomSourceLocation

The customSourceLocation.

getCustomSourceLocationBuilder()

public CustomSourceLocation.Builder getCustomSourceLocationBuilder()

The stream is a custom source.

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

Returns
TypeDescription
CustomSourceLocation.Builder

getCustomSourceLocationOrBuilder()

public CustomSourceLocationOrBuilder getCustomSourceLocationOrBuilder()

The stream is a custom source.

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

Returns
TypeDescription
CustomSourceLocationOrBuilder

getDefaultInstanceForType()

public StreamLocation getDefaultInstanceForType()
Returns
TypeDescription
StreamLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocationCase()

public StreamLocation.LocationCase getLocationCase()
Returns
TypeDescription
StreamLocation.LocationCase

getPubsubLocation()

public PubsubLocation getPubsubLocation()

The stream is a pubsub stream.

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

Returns
TypeDescription
PubsubLocation

The pubsubLocation.

getPubsubLocationBuilder()

public PubsubLocation.Builder getPubsubLocationBuilder()

The stream is a pubsub stream.

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

Returns
TypeDescription
PubsubLocation.Builder

getPubsubLocationOrBuilder()

public PubsubLocationOrBuilder getPubsubLocationOrBuilder()

The stream is a pubsub stream.

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

Returns
TypeDescription
PubsubLocationOrBuilder

getSideInputLocation()

public StreamingSideInputLocation getSideInputLocation()

The stream is a streaming side input.

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

Returns
TypeDescription
StreamingSideInputLocation

The sideInputLocation.

getSideInputLocationBuilder()

public StreamingSideInputLocation.Builder getSideInputLocationBuilder()

The stream is a streaming side input.

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

Returns
TypeDescription
StreamingSideInputLocation.Builder

getSideInputLocationOrBuilder()

public StreamingSideInputLocationOrBuilder getSideInputLocationOrBuilder()

The stream is a streaming side input.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StreamingStageLocationOrBuilder

hasCustomSourceLocation()

public boolean hasCustomSourceLocation()

The stream is a custom source.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the streamingStageLocation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCustomSourceLocation
Returns
TypeDescription
StreamLocation.Builder

mergeFrom(StreamLocation other)

public StreamLocation.Builder mergeFrom(StreamLocation other)
Parameter
NameDescription
otherStreamLocation
Returns
TypeDescription
StreamLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePubsubLocation
Returns
TypeDescription
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
NameDescription
valueStreamingSideInputLocation
Returns
TypeDescription
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
NameDescription
valueStreamingStageLocation
Returns
TypeDescription
StreamLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCustomSourceLocation
Returns
TypeDescription
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
NameDescription
builderForValueCustomSourceLocation.Builder
Returns
TypeDescription
StreamLocation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePubsubLocation
Returns
TypeDescription
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
NameDescription
builderForValuePubsubLocation.Builder
Returns
TypeDescription
StreamLocation.Builder

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

public StreamLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStreamingSideInputLocation
Returns
TypeDescription
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
NameDescription
builderForValueStreamingSideInputLocation.Builder
Returns
TypeDescription
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
NameDescription
valueStreamingStageLocation
Returns
TypeDescription
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
NameDescription
builderForValueStreamingStageLocation.Builder
Returns
TypeDescription
StreamLocation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamLocation.Builder
Overrides