Package com.google.dataflow.v1beta3
Class StreamLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
- com.google.dataflow.v1beta3.StreamLocation.Builder
-
- All Implemented Interfaces:
StreamLocationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- StreamLocation
public static final class StreamLocation.Builder extends com.google.protobuf.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 typegoogle.dataflow.v1beta3.StreamLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamLocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StreamLocation
build()
StreamLocation
buildPartial()
StreamLocation.Builder
clear()
StreamLocation.Builder
clearCustomSourceLocation()
The stream is a custom source.StreamLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StreamLocation.Builder
clearLocation()
StreamLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StreamLocation.Builder
clearPubsubLocation()
The stream is a pubsub stream.StreamLocation.Builder
clearSideInputLocation()
The stream is a streaming side input.StreamLocation.Builder
clearStreamingStageLocation()
The stream is part of another computation within the current streaming Dataflow job.StreamLocation.Builder
clone()
CustomSourceLocation
getCustomSourceLocation()
The stream is a custom source.CustomSourceLocation.Builder
getCustomSourceLocationBuilder()
The stream is a custom source.CustomSourceLocationOrBuilder
getCustomSourceLocationOrBuilder()
The stream is a custom source.StreamLocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
StreamLocation.LocationCase
getLocationCase()
PubsubLocation
getPubsubLocation()
The stream is a pubsub stream.PubsubLocation.Builder
getPubsubLocationBuilder()
The stream is a pubsub stream.PubsubLocationOrBuilder
getPubsubLocationOrBuilder()
The stream is a pubsub stream.StreamingSideInputLocation
getSideInputLocation()
The stream is a streaming side input.StreamingSideInputLocation.Builder
getSideInputLocationBuilder()
The stream is a streaming side input.StreamingSideInputLocationOrBuilder
getSideInputLocationOrBuilder()
The stream is a streaming side input.StreamingStageLocation
getStreamingStageLocation()
The stream is part of another computation within the current streaming Dataflow job.StreamingStageLocation.Builder
getStreamingStageLocationBuilder()
The stream is part of another computation within the current streaming Dataflow job.StreamingStageLocationOrBuilder
getStreamingStageLocationOrBuilder()
The stream is part of another computation within the current streaming Dataflow job.boolean
hasCustomSourceLocation()
The stream is a custom source.boolean
hasPubsubLocation()
The stream is a pubsub stream.boolean
hasSideInputLocation()
The stream is a streaming side input.boolean
hasStreamingStageLocation()
The stream is part of another computation within the current streaming Dataflow job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StreamLocation.Builder
mergeCustomSourceLocation(CustomSourceLocation value)
The stream is a custom source.StreamLocation.Builder
mergeFrom(StreamLocation other)
StreamLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StreamLocation.Builder
mergeFrom(com.google.protobuf.Message other)
StreamLocation.Builder
mergePubsubLocation(PubsubLocation value)
The stream is a pubsub stream.StreamLocation.Builder
mergeSideInputLocation(StreamingSideInputLocation value)
The stream is a streaming side input.StreamLocation.Builder
mergeStreamingStageLocation(StreamingStageLocation value)
The stream is part of another computation within the current streaming Dataflow job.StreamLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StreamLocation.Builder
setCustomSourceLocation(CustomSourceLocation value)
The stream is a custom source.StreamLocation.Builder
setCustomSourceLocation(CustomSourceLocation.Builder builderForValue)
The stream is a custom source.StreamLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StreamLocation.Builder
setPubsubLocation(PubsubLocation value)
The stream is a pubsub stream.StreamLocation.Builder
setPubsubLocation(PubsubLocation.Builder builderForValue)
The stream is a pubsub stream.StreamLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
StreamLocation.Builder
setSideInputLocation(StreamingSideInputLocation value)
The stream is a streaming side input.StreamLocation.Builder
setSideInputLocation(StreamingSideInputLocation.Builder builderForValue)
The stream is a streaming side input.StreamLocation.Builder
setStreamingStageLocation(StreamingStageLocation value)
The stream is part of another computation within the current streaming Dataflow job.StreamLocation.Builder
setStreamingStageLocation(StreamingStageLocation.Builder builderForValue)
The stream is part of another computation within the current streaming Dataflow job.StreamLocation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
clear
public StreamLocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
getDefaultInstanceForType
public StreamLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamLocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
setField
public StreamLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
clearField
public StreamLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
clearOneof
public StreamLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
setRepeatedField
public StreamLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
addRepeatedField
public StreamLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
mergeFrom
public StreamLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamLocation.Builder>
-
mergeFrom
public StreamLocation.Builder mergeFrom(StreamLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
mergeFrom
public StreamLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamLocation.Builder>
- Throws:
IOException
-
getLocationCase
public StreamLocation.LocationCase getLocationCase()
- Specified by:
getLocationCase
in interfaceStreamLocationOrBuilder
-
clearLocation
public StreamLocation.Builder clearLocation()
-
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;
- Specified by:
hasStreamingStageLocation
in interfaceStreamLocationOrBuilder
- Returns:
- Whether the streamingStageLocation field is set.
-
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;
- Specified by:
getStreamingStageLocation
in interfaceStreamLocationOrBuilder
- Returns:
- The streamingStageLocation.
-
setStreamingStageLocation
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;
-
setStreamingStageLocation
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;
-
mergeStreamingStageLocation
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;
-
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;
-
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;
-
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;
- Specified by:
getStreamingStageLocationOrBuilder
in interfaceStreamLocationOrBuilder
-
hasPubsubLocation
public boolean hasPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
- Specified by:
hasPubsubLocation
in interfaceStreamLocationOrBuilder
- Returns:
- Whether the pubsubLocation field is set.
-
getPubsubLocation
public PubsubLocation getPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
- Specified by:
getPubsubLocation
in interfaceStreamLocationOrBuilder
- Returns:
- The pubsubLocation.
-
setPubsubLocation
public StreamLocation.Builder setPubsubLocation(PubsubLocation value)
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
-
setPubsubLocation
public StreamLocation.Builder setPubsubLocation(PubsubLocation.Builder builderForValue)
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
-
mergePubsubLocation
public StreamLocation.Builder mergePubsubLocation(PubsubLocation value)
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
-
clearPubsubLocation
public StreamLocation.Builder clearPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
-
getPubsubLocationBuilder
public PubsubLocation.Builder getPubsubLocationBuilder()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
-
getPubsubLocationOrBuilder
public PubsubLocationOrBuilder getPubsubLocationOrBuilder()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
- Specified by:
getPubsubLocationOrBuilder
in interfaceStreamLocationOrBuilder
-
hasSideInputLocation
public boolean hasSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
- Specified by:
hasSideInputLocation
in interfaceStreamLocationOrBuilder
- Returns:
- Whether the sideInputLocation field is set.
-
getSideInputLocation
public StreamingSideInputLocation getSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
- Specified by:
getSideInputLocation
in interfaceStreamLocationOrBuilder
- Returns:
- The sideInputLocation.
-
setSideInputLocation
public StreamLocation.Builder setSideInputLocation(StreamingSideInputLocation value)
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
-
setSideInputLocation
public StreamLocation.Builder setSideInputLocation(StreamingSideInputLocation.Builder builderForValue)
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
-
mergeSideInputLocation
public StreamLocation.Builder mergeSideInputLocation(StreamingSideInputLocation value)
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
-
clearSideInputLocation
public StreamLocation.Builder clearSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
-
getSideInputLocationBuilder
public StreamingSideInputLocation.Builder getSideInputLocationBuilder()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
-
getSideInputLocationOrBuilder
public StreamingSideInputLocationOrBuilder getSideInputLocationOrBuilder()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
- Specified by:
getSideInputLocationOrBuilder
in interfaceStreamLocationOrBuilder
-
hasCustomSourceLocation
public boolean hasCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
- Specified by:
hasCustomSourceLocation
in interfaceStreamLocationOrBuilder
- Returns:
- Whether the customSourceLocation field is set.
-
getCustomSourceLocation
public CustomSourceLocation getCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
- Specified by:
getCustomSourceLocation
in interfaceStreamLocationOrBuilder
- Returns:
- The customSourceLocation.
-
setCustomSourceLocation
public StreamLocation.Builder setCustomSourceLocation(CustomSourceLocation value)
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
-
setCustomSourceLocation
public StreamLocation.Builder setCustomSourceLocation(CustomSourceLocation.Builder builderForValue)
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
-
mergeCustomSourceLocation
public StreamLocation.Builder mergeCustomSourceLocation(CustomSourceLocation value)
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
-
clearCustomSourceLocation
public StreamLocation.Builder clearCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
-
getCustomSourceLocationBuilder
public CustomSourceLocation.Builder getCustomSourceLocationBuilder()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
-
getCustomSourceLocationOrBuilder
public CustomSourceLocationOrBuilder getCustomSourceLocationOrBuilder()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
- Specified by:
getCustomSourceLocationOrBuilder
in interfaceStreamLocationOrBuilder
-
setUnknownFields
public final StreamLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
mergeUnknownFields
public final StreamLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
-