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
PUBSUB_LOCATION_FIELD_NUMBER
public static final int PUBSUB_LOCATION_FIELD_NUMBER
Field Value
public static final int SIDE_INPUT_LOCATION_FIELD_NUMBER
Field Value
STREAMING_STAGE_LOCATION_FIELD_NUMBER
public static final int STREAMING_STAGE_LOCATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StreamLocation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StreamLocation.Builder newBuilder()
Returns
newBuilder(StreamLocation prototype)
public static StreamLocation.Builder newBuilder(StreamLocation prototype)
Parameter
Returns
public static StreamLocation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StreamLocation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StreamLocation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamLocation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StreamLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamLocation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StreamLocation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StreamLocation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCustomSourceLocation()
public CustomSourceLocation getCustomSourceLocation()
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
getLocationCase()
public StreamLocation.LocationCase getLocationCase()
Returns
getParserForType()
public Parser<StreamLocation> getParserForType()
Returns
Overrides
getPubsubLocation()
public PubsubLocation getPubsubLocation()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
public StreamingSideInputLocation getSideInputLocation()
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StreamLocation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StreamLocation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions