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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamLocationbuild()StreamLocationbuildPartial()StreamLocation.Builderclear()StreamLocation.BuilderclearCustomSourceLocation()The stream is a custom source.StreamLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StreamLocation.BuilderclearLocation()StreamLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StreamLocation.BuilderclearPubsubLocation()The stream is a pubsub stream.StreamLocation.BuilderclearSideInputLocation()The stream is a streaming side input.StreamLocation.BuilderclearStreamingStageLocation()The stream is part of another computation within the current streaming Dataflow job.StreamLocation.Builderclone()CustomSourceLocationgetCustomSourceLocation()The stream is a custom source.CustomSourceLocation.BuildergetCustomSourceLocationBuilder()The stream is a custom source.CustomSourceLocationOrBuildergetCustomSourceLocationOrBuilder()The stream is a custom source.StreamLocationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StreamLocation.LocationCasegetLocationCase()PubsubLocationgetPubsubLocation()The stream is a pubsub stream.PubsubLocation.BuildergetPubsubLocationBuilder()The stream is a pubsub stream.PubsubLocationOrBuildergetPubsubLocationOrBuilder()The stream is a pubsub stream.StreamingSideInputLocationgetSideInputLocation()The stream is a streaming side input.StreamingSideInputLocation.BuildergetSideInputLocationBuilder()The stream is a streaming side input.StreamingSideInputLocationOrBuildergetSideInputLocationOrBuilder()The stream is a streaming side input.StreamingStageLocationgetStreamingStageLocation()The stream is part of another computation within the current streaming Dataflow job.StreamingStageLocation.BuildergetStreamingStageLocationBuilder()The stream is part of another computation within the current streaming Dataflow job.StreamingStageLocationOrBuildergetStreamingStageLocationOrBuilder()The stream is part of another computation within the current streaming Dataflow job.booleanhasCustomSourceLocation()The stream is a custom source.booleanhasPubsubLocation()The stream is a pubsub stream.booleanhasSideInputLocation()The stream is a streaming side input.booleanhasStreamingStageLocation()The stream is part of another computation within the current streaming Dataflow job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StreamLocation.BuildermergeCustomSourceLocation(CustomSourceLocation value)The stream is a custom source.StreamLocation.BuildermergeFrom(StreamLocation other)StreamLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StreamLocation.BuildermergeFrom(com.google.protobuf.Message other)StreamLocation.BuildermergePubsubLocation(PubsubLocation value)The stream is a pubsub stream.StreamLocation.BuildermergeSideInputLocation(StreamingSideInputLocation value)The stream is a streaming side input.StreamLocation.BuildermergeStreamingStageLocation(StreamingStageLocation value)The stream is part of another computation within the current streaming Dataflow job.StreamLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StreamLocation.BuildersetCustomSourceLocation(CustomSourceLocation value)The stream is a custom source.StreamLocation.BuildersetCustomSourceLocation(CustomSourceLocation.Builder builderForValue)The stream is a custom source.StreamLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamLocation.BuildersetPubsubLocation(PubsubLocation value)The stream is a pubsub stream.StreamLocation.BuildersetPubsubLocation(PubsubLocation.Builder builderForValue)The stream is a pubsub stream.StreamLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StreamLocation.BuildersetSideInputLocation(StreamingSideInputLocation value)The stream is a streaming side input.StreamLocation.BuildersetSideInputLocation(StreamingSideInputLocation.Builder builderForValue)The stream is a streaming side input.StreamLocation.BuildersetStreamingStageLocation(StreamingStageLocation value)The stream is part of another computation within the current streaming Dataflow job.StreamLocation.BuildersetStreamingStageLocation(StreamingStageLocation.Builder builderForValue)The stream is part of another computation within the current streaming Dataflow job.StreamLocation.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
clear
public StreamLocation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
getDefaultInstanceForType
public StreamLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamLocation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
setField
public StreamLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
clearField
public StreamLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
clearOneof
public StreamLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
setRepeatedField
public StreamLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
addRepeatedField
public StreamLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
mergeFrom
public StreamLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamLocation.Builder>
-
mergeFrom
public StreamLocation.Builder mergeFrom(StreamLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamLocation.Builder>- Throws:
IOException
-
getLocationCase
public StreamLocation.LocationCase getLocationCase()
- Specified by:
getLocationCasein 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:
hasStreamingStageLocationin 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:
getStreamingStageLocationin 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:
getStreamingStageLocationOrBuilderin interfaceStreamLocationOrBuilder
-
hasPubsubLocation
public boolean hasPubsubLocation()
The stream is a pubsub stream.
.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;- Specified by:
hasPubsubLocationin 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:
getPubsubLocationin 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:
getPubsubLocationOrBuilderin interfaceStreamLocationOrBuilder
-
hasSideInputLocation
public boolean hasSideInputLocation()
The stream is a streaming side input.
.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;- Specified by:
hasSideInputLocationin 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:
getSideInputLocationin 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:
getSideInputLocationOrBuilderin interfaceStreamLocationOrBuilder
-
hasCustomSourceLocation
public boolean hasCustomSourceLocation()
The stream is a custom source.
.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;- Specified by:
hasCustomSourceLocationin 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:
getCustomSourceLocationin 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:
getCustomSourceLocationOrBuilderin interfaceStreamLocationOrBuilder
-
setUnknownFields
public final StreamLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
mergeUnknownFields
public final StreamLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
-
-