Class StreamLocation (0.35.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
TypeDescription
int

PUBSUB_LOCATION_FIELD_NUMBER

public static final int PUBSUB_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

SIDE_INPUT_LOCATION_FIELD_NUMBER

public static final int SIDE_INPUT_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

STREAMING_STAGE_LOCATION_FIELD_NUMBER

public static final int STREAMING_STAGE_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamLocation getDefaultInstance()
Returns
TypeDescription
StreamLocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamLocation.Builder newBuilder()
Returns
TypeDescription
StreamLocation.Builder

newBuilder(StreamLocation prototype)

public static StreamLocation.Builder newBuilder(StreamLocation prototype)
Parameter
NameDescription
prototypeStreamLocation
Returns
TypeDescription
StreamLocation.Builder

parseDelimitedFrom(InputStream input)

public static StreamLocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamLocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamLocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamLocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamLocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamLocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamLocation> parser()
Returns
TypeDescription
Parser<StreamLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomSourceLocation()

public CustomSourceLocation getCustomSourceLocation()

The stream is a custom source.

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

Returns
TypeDescription
CustomSourceLocation

The customSourceLocation.

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

getLocationCase()

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

getParserForType()

public Parser<StreamLocation> getParserForType()
Returns
TypeDescription
Parser<StreamLocation>
Overrides

getPubsubLocation()

public PubsubLocation getPubsubLocation()

The stream is a pubsub stream.

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

Returns
TypeDescription
PubsubLocation

The pubsubLocation.

getPubsubLocationOrBuilder()

public PubsubLocationOrBuilder getPubsubLocationOrBuilder()

The stream is a pubsub stream.

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

Returns
TypeDescription
PubsubLocationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSideInputLocation()

public StreamingSideInputLocation getSideInputLocation()

The stream is a streaming side input.

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

Returns
TypeDescription
StreamingSideInputLocation

The sideInputLocation.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException