Class CreateJobFromTemplateRequest

  • All Implemented Interfaces:
    CreateJobFromTemplateRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class CreateJobFromTemplateRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements CreateJobFromTemplateRequestOrBuilder
     A request to create a Cloud Dataflow job from a template.
     
    Protobuf type google.dataflow.v1beta3.CreateJobFromTemplateRequest
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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:
        getProjectIdBytes in interface CreateJobFromTemplateRequestOrBuilder
        Returns:
        The bytes for projectId.
      • getJobNameBytes

        public com.google.protobuf.ByteString getJobNameBytes()
         Required. The job name to use for the created job.
         
        string job_name = 4;
        Specified by:
        getJobNameBytes in interface CreateJobFromTemplateRequestOrBuilder
        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:
        hasGcsPath in interface CreateJobFromTemplateRequestOrBuilder
        Returns:
        Whether the gcsPath field is set.
      • getGcsPath

        public String 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:
        getGcsPath in interface CreateJobFromTemplateRequestOrBuilder
        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:
        getGcsPathBytes in interface CreateJobFromTemplateRequestOrBuilder
        Returns:
        The bytes for gcsPath.
      • hasEnvironment

        public boolean hasEnvironment()
         The runtime environment for the job.
         
        .google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
        Specified by:
        hasEnvironment in interface CreateJobFromTemplateRequestOrBuilder
        Returns:
        Whether the environment field is set.
      • getLocation

        public String getLocation()
         The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
         which to direct the request.
         
        string location = 6;
        Specified by:
        getLocation in interface CreateJobFromTemplateRequestOrBuilder
        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:
        getLocationBytes in interface CreateJobFromTemplateRequestOrBuilder
        Returns:
        The bytes for location.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public CreateJobFromTemplateRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CreateJobFromTemplateRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CreateJobFromTemplateRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CreateJobFromTemplateRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CreateJobFromTemplateRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder