Class StreamLocation (0.46.0)

public final class StreamLocation extends GeneratedMessageV3 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 Fields

CUSTOM_SOURCE_LOCATION_FIELD_NUMBER

public static final int CUSTOM_SOURCE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

PUBSUB_LOCATION_FIELD_NUMBER

public static final int PUBSUB_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

SIDE_INPUT_LOCATION_FIELD_NUMBER

public static final int SIDE_INPUT_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

STREAMING_STAGE_LOCATION_FIELD_NUMBER

public static final int STREAMING_STAGE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamLocation getDefaultInstance()
Returns
Type Description
StreamLocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StreamLocation.Builder newBuilder()
Returns
Type Description
StreamLocation.Builder

newBuilder(StreamLocation prototype)

public static StreamLocation.Builder newBuilder(StreamLocation prototype)
Parameter
Name Description
prototype StreamLocation
Returns
Type Description
StreamLocation.Builder

parseDelimitedFrom(InputStream input)

public static StreamLocation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamLocation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamLocation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamLocation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamLocation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamLocation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamLocation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamLocation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamLocation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamLocation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamLocation> parser()
Returns
Type Description
Parser<StreamLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getLocationCase()

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

getParserForType()

public Parser<StreamLocation> getParserForType()
Returns
Type Description
Parser<StreamLocation>
Overrides

getPubsubLocation()

public PubsubLocation getPubsubLocation()

The stream is a pubsub stream.

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

Returns
Type Description
PubsubLocation

The pubsubLocation.

getPubsubLocationOrBuilder()

public PubsubLocationOrBuilder getPubsubLocationOrBuilder()

The stream is a pubsub stream.

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

Returns
Type Description
PubsubLocationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException