Class ContainerSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.ContainerSpec
All Implemented Interfaces:
ContainerSpecOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ContainerSpec extends com.google.protobuf.GeneratedMessage implements ContainerSpecOrBuilder
 Container Spec.
 
Protobuf type google.dataflow.v1beta3.ContainerSpec
See Also:
  • Field Details

    • IMAGE_FIELD_NUMBER

      public static final int IMAGE_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • SDK_INFO_FIELD_NUMBER

      public static final int SDK_INFO_FIELD_NUMBER
      See Also:
    • DEFAULT_ENVIRONMENT_FIELD_NUMBER

      public static final int DEFAULT_ENVIRONMENT_FIELD_NUMBER
      See Also:
    • IMAGE_REPOSITORY_USERNAME_SECRET_ID_FIELD_NUMBER

      public static final int IMAGE_REPOSITORY_USERNAME_SECRET_ID_FIELD_NUMBER
      See Also:
    • IMAGE_REPOSITORY_PASSWORD_SECRET_ID_FIELD_NUMBER

      public static final int IMAGE_REPOSITORY_PASSWORD_SECRET_ID_FIELD_NUMBER
      See Also:
    • IMAGE_REPOSITORY_CERT_PATH_FIELD_NUMBER

      public static final int IMAGE_REPOSITORY_CERT_PATH_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

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

      public String getImage()
       Name of the docker container image. E.g., gcr.io/project/some-image
       
      string image = 1;
      Specified by:
      getImage in interface ContainerSpecOrBuilder
      Returns:
      The image.
    • getImageBytes

      public com.google.protobuf.ByteString getImageBytes()
       Name of the docker container image. E.g., gcr.io/project/some-image
       
      string image = 1;
      Specified by:
      getImageBytes in interface ContainerSpecOrBuilder
      Returns:
      The bytes for image.
    • hasMetadata

      public boolean hasMetadata()
       Metadata describing a template including description and validation rules.
       
      .google.dataflow.v1beta3.TemplateMetadata metadata = 2;
      Specified by:
      hasMetadata in interface ContainerSpecOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public TemplateMetadata getMetadata()
       Metadata describing a template including description and validation rules.
       
      .google.dataflow.v1beta3.TemplateMetadata metadata = 2;
      Specified by:
      getMetadata in interface ContainerSpecOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public TemplateMetadataOrBuilder getMetadataOrBuilder()
       Metadata describing a template including description and validation rules.
       
      .google.dataflow.v1beta3.TemplateMetadata metadata = 2;
      Specified by:
      getMetadataOrBuilder in interface ContainerSpecOrBuilder
    • hasSdkInfo

      public boolean hasSdkInfo()
       Required. SDK info of the Flex Template.
       
      .google.dataflow.v1beta3.SDKInfo sdk_info = 3;
      Specified by:
      hasSdkInfo in interface ContainerSpecOrBuilder
      Returns:
      Whether the sdkInfo field is set.
    • getSdkInfo

      public SDKInfo getSdkInfo()
       Required. SDK info of the Flex Template.
       
      .google.dataflow.v1beta3.SDKInfo sdk_info = 3;
      Specified by:
      getSdkInfo in interface ContainerSpecOrBuilder
      Returns:
      The sdkInfo.
    • getSdkInfoOrBuilder

      public SDKInfoOrBuilder getSdkInfoOrBuilder()
       Required. SDK info of the Flex Template.
       
      .google.dataflow.v1beta3.SDKInfo sdk_info = 3;
      Specified by:
      getSdkInfoOrBuilder in interface ContainerSpecOrBuilder
    • hasDefaultEnvironment

      public boolean hasDefaultEnvironment()
       Default runtime environment for the job.
       
      .google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment default_environment = 4;
      Specified by:
      hasDefaultEnvironment in interface ContainerSpecOrBuilder
      Returns:
      Whether the defaultEnvironment field is set.
    • getDefaultEnvironment

      public FlexTemplateRuntimeEnvironment getDefaultEnvironment()
       Default runtime environment for the job.
       
      .google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment default_environment = 4;
      Specified by:
      getDefaultEnvironment in interface ContainerSpecOrBuilder
      Returns:
      The defaultEnvironment.
    • getDefaultEnvironmentOrBuilder

      public FlexTemplateRuntimeEnvironmentOrBuilder getDefaultEnvironmentOrBuilder()
       Default runtime environment for the job.
       
      .google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment default_environment = 4;
      Specified by:
      getDefaultEnvironmentOrBuilder in interface ContainerSpecOrBuilder
    • getImageRepositoryUsernameSecretId

      public String getImageRepositoryUsernameSecretId()
       Secret Manager secret id for username to authenticate to private registry.
       
      string image_repository_username_secret_id = 5;
      Specified by:
      getImageRepositoryUsernameSecretId in interface ContainerSpecOrBuilder
      Returns:
      The imageRepositoryUsernameSecretId.
    • getImageRepositoryUsernameSecretIdBytes

      public com.google.protobuf.ByteString getImageRepositoryUsernameSecretIdBytes()
       Secret Manager secret id for username to authenticate to private registry.
       
      string image_repository_username_secret_id = 5;
      Specified by:
      getImageRepositoryUsernameSecretIdBytes in interface ContainerSpecOrBuilder
      Returns:
      The bytes for imageRepositoryUsernameSecretId.
    • getImageRepositoryPasswordSecretId

      public String getImageRepositoryPasswordSecretId()
       Secret Manager secret id for password to authenticate to private registry.
       
      string image_repository_password_secret_id = 6;
      Specified by:
      getImageRepositoryPasswordSecretId in interface ContainerSpecOrBuilder
      Returns:
      The imageRepositoryPasswordSecretId.
    • getImageRepositoryPasswordSecretIdBytes

      public com.google.protobuf.ByteString getImageRepositoryPasswordSecretIdBytes()
       Secret Manager secret id for password to authenticate to private registry.
       
      string image_repository_password_secret_id = 6;
      Specified by:
      getImageRepositoryPasswordSecretIdBytes in interface ContainerSpecOrBuilder
      Returns:
      The bytes for imageRepositoryPasswordSecretId.
    • getImageRepositoryCertPath

      public String getImageRepositoryCertPath()
       Cloud Storage path to self-signed certificate of private registry.
       
      string image_repository_cert_path = 7;
      Specified by:
      getImageRepositoryCertPath in interface ContainerSpecOrBuilder
      Returns:
      The imageRepositoryCertPath.
    • getImageRepositoryCertPathBytes

      public com.google.protobuf.ByteString getImageRepositoryCertPathBytes()
       Cloud Storage path to self-signed certificate of private registry.
       
      string image_repository_cert_path = 7;
      Specified by:
      getImageRepositoryCertPathBytes in interface ContainerSpecOrBuilder
      Returns:
      The bytes for imageRepositoryCertPath.
    • 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 ContainerSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static ContainerSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static ContainerSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContainerSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ContainerSpec.Builder newBuilder()
    • newBuilder

      public static ContainerSpec.Builder newBuilder(ContainerSpec prototype)
    • toBuilder

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

      protected ContainerSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ContainerSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ContainerSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<ContainerSpec> 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 ContainerSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder