java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.orchestration.airflow.service.v1beta1.Environment
All Implemented Interfaces:
EnvironmentOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Environment extends com.google.protobuf.GeneratedMessage implements EnvironmentOrBuilder
 An environment for running orchestration tasks.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.Environment
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
    • getName

      public String getName()
       Identifier. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
      
       EnvironmentId must start with a lowercase letter followed by up to 63
       lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface EnvironmentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
      
       EnvironmentId must start with a lowercase letter followed by up to 63
       lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface EnvironmentOrBuilder
      Returns:
      The bytes for name.
    • hasConfig

      public boolean hasConfig()
       Optional. Configuration parameters for this environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConfig in interface EnvironmentOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public EnvironmentConfig getConfig()
       Optional. Configuration parameters for this environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfig in interface EnvironmentOrBuilder
      Returns:
      The config.
    • getConfigOrBuilder

      public EnvironmentConfigOrBuilder getConfigOrBuilder()
       Optional. Configuration parameters for this environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigOrBuilder in interface EnvironmentOrBuilder
    • getUuid

      public String getUuid()
       Output only. The UUID (Universally Unique IDentifier) associated with this
       environment. This value is generated when the environment is created.
       
      string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUuid in interface EnvironmentOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
       Output only. The UUID (Universally Unique IDentifier) associated with this
       environment. This value is generated when the environment is created.
       
      string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUuidBytes in interface EnvironmentOrBuilder
      Returns:
      The bytes for uuid.
    • getStateValue

      public int getStateValue()
       The current state of the environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
      Specified by:
      getStateValue in interface EnvironmentOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Environment.State getState()
       The current state of the environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
      Specified by:
      getState in interface EnvironmentOrBuilder
      Returns:
      The state.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which this environment was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface EnvironmentOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which this environment was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface EnvironmentOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which this environment was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface EnvironmentOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which this environment was last modified.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface EnvironmentOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which this environment was last modified.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface EnvironmentOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which this environment was last modified.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface EnvironmentOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: EnvironmentOrBuilder
       Optional. User-defined labels for this environment.
       The labels map can contain no more than 64 entries. Entries of the labels
       map are UTF8 strings that comply with the following restrictions:
      
       * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       * Both keys and values are additionally constrained to be <= 128 bytes in
       size.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface EnvironmentOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels for this environment.
       The labels map can contain no more than 64 entries. Entries of the labels
       map are UTF8 strings that comply with the following restrictions:
      
       * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       * Both keys and values are additionally constrained to be <= 128 bytes in
       size.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface EnvironmentOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface EnvironmentOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels for this environment.
       The labels map can contain no more than 64 entries. Entries of the labels
       map are UTF8 strings that comply with the following restrictions:
      
       * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       * Both keys and values are additionally constrained to be <= 128 bytes in
       size.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface EnvironmentOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels for this environment.
       The labels map can contain no more than 64 entries. Entries of the labels
       map are UTF8 strings that comply with the following restrictions:
      
       * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       * Both keys and values are additionally constrained to be <= 128 bytes in
       size.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface EnvironmentOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels for this environment.
       The labels map can contain no more than 64 entries. Entries of the labels
       map are UTF8 strings that comply with the following restrictions:
      
       * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       * Both keys and values are additionally constrained to be <= 128 bytes in
       size.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface EnvironmentOrBuilder
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface EnvironmentOrBuilder
      Returns:
      The satisfiesPzs.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface EnvironmentOrBuilder
      Returns:
      The satisfiesPzi.
    • hasStorageConfig

      public boolean hasStorageConfig()
       Optional. Storage configuration for this environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.StorageConfig storage_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStorageConfig in interface EnvironmentOrBuilder
      Returns:
      Whether the storageConfig field is set.
    • getStorageConfig

      public StorageConfig getStorageConfig()
       Optional. Storage configuration for this environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.StorageConfig storage_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageConfig in interface EnvironmentOrBuilder
      Returns:
      The storageConfig.
    • getStorageConfigOrBuilder

      public StorageConfigOrBuilder getStorageConfigOrBuilder()
       Optional. Storage configuration for this environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.StorageConfig storage_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageConfigOrBuilder in interface EnvironmentOrBuilder
    • 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 Environment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Environment.Builder newBuilder()
    • newBuilder

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

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

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

      public static Environment getDefaultInstance()
    • parser

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

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