Package com.google.dataflow.v1beta3
Class Step.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Step.Builder>
com.google.dataflow.v1beta3.Step.Builder
- All Implemented Interfaces:
StepOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Step
public static final class Step.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Step.Builder>
implements StepOrBuilder
Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. **Note:** The properties of this object are not stable and might change. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.Protobuf type
google.dataflow.v1beta3.Step-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The kind of step in the Cloud Dataflow job.The name that identifies the step.Named properties associated with the step.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKind()The kind of step in the Cloud Dataflow job.com.google.protobuf.ByteStringThe kind of step in the Cloud Dataflow job.getName()The name that identifies the step.com.google.protobuf.ByteStringThe name that identifies the step.com.google.protobuf.StructNamed properties associated with the step.com.google.protobuf.Struct.BuilderNamed properties associated with the step.com.google.protobuf.StructOrBuilderNamed properties associated with the step.booleanNamed properties associated with the step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProperties(com.google.protobuf.Struct value) Named properties associated with the step.The kind of step in the Cloud Dataflow job.setKindBytes(com.google.protobuf.ByteString value) The kind of step in the Cloud Dataflow job.The name that identifies the step.setNameBytes(com.google.protobuf.ByteString value) The name that identifies the step.setProperties(com.google.protobuf.Struct value) Named properties associated with the step.setProperties(com.google.protobuf.Struct.Builder builderForValue) Named properties associated with the step.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Step.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Step.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.GeneratedMessage.Builder<Step.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Step.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Step.Builder>
-
mergeFrom
public Step.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<Step.Builder>- Throws:
IOException
-
getKind
The kind of step in the Cloud Dataflow job.
string kind = 1;- Specified by:
getKindin interfaceStepOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()The kind of step in the Cloud Dataflow job.
string kind = 1;- Specified by:
getKindBytesin interfaceStepOrBuilder- Returns:
- The bytes for kind.
-
setKind
The kind of step in the Cloud Dataflow job.
string kind = 1;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
The kind of step in the Cloud Dataflow job.
string kind = 1;- Returns:
- This builder for chaining.
-
setKindBytes
The kind of step in the Cloud Dataflow job.
string kind = 1;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
getName
The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
string name = 2;- Specified by:
getNamein interfaceStepOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
string name = 2;- Specified by:
getNameBytesin interfaceStepOrBuilder- Returns:
- The bytes for name.
-
setName
The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasProperties
public boolean hasProperties()Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3;- Specified by:
hasPropertiesin interfaceStepOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
public com.google.protobuf.Struct getProperties()Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3;- Specified by:
getPropertiesin interfaceStepOrBuilder- Returns:
- The properties.
-
setProperties
Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3; -
setProperties
Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3; -
mergeProperties
Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3; -
clearProperties
Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3; -
getPropertiesBuilder
public com.google.protobuf.Struct.Builder getPropertiesBuilder()Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3; -
getPropertiesOrBuilder
public com.google.protobuf.StructOrBuilder getPropertiesOrBuilder()Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
.google.protobuf.Struct properties = 3;- Specified by:
getPropertiesOrBuilderin interfaceStepOrBuilder
-