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:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTemplateCase

      Specified by:
      getTemplateCase in interface CreateJobFromTemplateRequestOrBuilder
    • getProjectId

      public String getProjectId()
       Required. The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface CreateJobFromTemplateRequestOrBuilder
      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:
      getProjectIdBytes in interface CreateJobFromTemplateRequestOrBuilder
      Returns:
      The bytes for projectId.
    • getJobName

      public String getJobName()
       Required. The job name to use for the created job.
       
      string job_name = 4;
      Specified by:
      getJobName in interface CreateJobFromTemplateRequestOrBuilder
      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:
      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.
    • getParametersCount

      public int getParametersCount()
      Description copied from interface: CreateJobFromTemplateRequestOrBuilder
       The runtime parameters to pass to the job.
       
      map<string, string> parameters = 3;
      Specified by:
      getParametersCount in interface CreateJobFromTemplateRequestOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
       The runtime parameters to pass to the job.
       
      map<string, string> parameters = 3;
      Specified by:
      containsParameters in interface CreateJobFromTemplateRequestOrBuilder
    • getParameters

      @Deprecated public Map<String,String> getParameters()
      Deprecated.
      Use getParametersMap() instead.
      Specified by:
      getParameters in interface CreateJobFromTemplateRequestOrBuilder
    • getParametersMap

      public Map<String,String> getParametersMap()
       The runtime parameters to pass to the job.
       
      map<string, string> parameters = 3;
      Specified by:
      getParametersMap in interface CreateJobFromTemplateRequestOrBuilder
    • getParametersOrDefault

      public String getParametersOrDefault(String key, String defaultValue)
       The runtime parameters to pass to the job.
       
      map<string, string> parameters = 3;
      Specified by:
      getParametersOrDefault in interface CreateJobFromTemplateRequestOrBuilder
    • getParametersOrThrow

      public String getParametersOrThrow(String key)
       The runtime parameters to pass to the job.
       
      map<string, string> parameters = 3;
      Specified by:
      getParametersOrThrow in interface CreateJobFromTemplateRequestOrBuilder
    • 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.
    • getEnvironment

      public RuntimeEnvironment getEnvironment()
       The runtime environment for the job.
       
      .google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
      Specified by:
      getEnvironment in interface CreateJobFromTemplateRequestOrBuilder
      Returns:
      The environment.
    • getEnvironmentOrBuilder

      public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
       The runtime environment for the job.
       
      .google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
      Specified by:
      getEnvironmentOrBuilder in interface CreateJobFromTemplateRequestOrBuilder
    • 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static CreateJobFromTemplateRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateJobFromTemplateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateJobFromTemplateRequest parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static CreateJobFromTemplateRequest.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CreateJobFromTemplateRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CreateJobFromTemplateRequest> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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