Package com.google.dataflow.v1beta3
Class CreateJobFromTemplateRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.CreateJobFromTemplateRequest
- All Implemented Interfaces:
CreateJobFromTemplateRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CreateJobFromTemplateRequest
extends com.google.protobuf.GeneratedMessage
implements CreateJobFromTemplateRequestOrBuilder
A request to create a Cloud Dataflow job from a template.Protobuf type
google.dataflow.v1beta3.CreateJobFromTemplateRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA request to create a Cloud Dataflow job from a template.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsParameters(String key) The runtime parameters to pass to the job.booleanstatic CreateJobFromTemplateRequeststatic final com.google.protobuf.Descriptors.DescriptorThe runtime environment for the job.The runtime environment for the job.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Deprecated.intThe runtime parameters to pass to the job.The runtime parameters to pass to the job.getParametersOrDefault(String key, String defaultValue) The runtime parameters to pass to the job.The runtime parameters to pass to the job.com.google.protobuf.Parser<CreateJobFromTemplateRequest>Required.com.google.protobuf.ByteStringRequired.intbooleanThe runtime environment for the job.booleanRequired.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(CreateJobFromTemplateRequest prototype) protected CreateJobFromTemplateRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CreateJobFromTemplateRequestparseDelimitedFrom(InputStream input) static CreateJobFromTemplateRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateJobFromTemplateRequestparseFrom(byte[] data) static CreateJobFromTemplateRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateJobFromTemplateRequestparseFrom(com.google.protobuf.ByteString data) static CreateJobFromTemplateRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateJobFromTemplateRequestparseFrom(com.google.protobuf.CodedInputStream input) static CreateJobFromTemplateRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateJobFromTemplateRequestparseFrom(InputStream input) static CreateJobFromTemplateRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateJobFromTemplateRequestparseFrom(ByteBuffer data) static CreateJobFromTemplateRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateJobFromTemplateRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER- See Also:
-
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER- See Also:
-
GCS_PATH_FIELD_NUMBER
public static final int GCS_PATH_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTemplateCase
- Specified by:
getTemplateCasein interfaceCreateJobFromTemplateRequestOrBuilder
-
getProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for projectId.
-
getJobName
Required. The job name to use for the created job.
string job_name = 4;- Specified by:
getJobNamein interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The jobName.
-
getJobNameBytes
public com.google.protobuf.ByteString getJobNameBytes()Required. The job name to use for the created job.
string job_name = 4;- Specified by:
getJobNameBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for jobName.
-
hasGcsPath
public boolean hasGcsPath()Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Specified by:
hasGcsPathin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- Whether the gcsPath field is set.
-
getGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Specified by:
getGcsPathin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The gcsPath.
-
getGcsPathBytes
public com.google.protobuf.ByteString getGcsPathBytes()Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Specified by:
getGcsPathBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for gcsPath.
-
getParametersCount
public int getParametersCount()Description copied from interface:CreateJobFromTemplateRequestOrBuilderThe runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersCountin interfaceCreateJobFromTemplateRequestOrBuilder
-
containsParameters
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
containsParametersin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParametersMap
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersMapin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParametersOrDefault
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersOrDefaultin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParametersOrThrow
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersOrThrowin interfaceCreateJobFromTemplateRequestOrBuilder
-
hasEnvironment
public boolean hasEnvironment()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;- Specified by:
hasEnvironmentin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;- Specified by:
getEnvironmentin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The environment.
-
getEnvironmentOrBuilder
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;- Specified by:
getEnvironmentOrBuilderin interfaceCreateJobFromTemplateRequestOrBuilder
-
getLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Specified by:
getLocationin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Specified by:
getLocationBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for location.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CreateJobFromTemplateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CreateJobFromTemplateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static CreateJobFromTemplateRequest.Builder newBuilder(CreateJobFromTemplateRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateJobFromTemplateRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-