Interface EnvironmentOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Environment, Environment.Builder

    public interface EnvironmentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         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;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         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;
        Returns:
        The bytes for name.
      • hasConfig

        boolean hasConfig()
         Configuration parameters for this environment.
         
        .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
        Returns:
        Whether the config field is set.
      • getConfig

        EnvironmentConfig getConfig()
         Configuration parameters for this environment.
         
        .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
        Returns:
        The config.
      • getConfigOrBuilder

        EnvironmentConfigOrBuilder getConfigOrBuilder()
         Configuration parameters for this environment.
         
        .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
      • getUuid

        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;
        Returns:
        The uuid.
      • getUuidBytes

        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;
        Returns:
        The bytes for uuid.
      • getStateValue

        int getStateValue()
         The current state of the environment.
         
        .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        Environment.State getState()
         The current state of the environment.
         
        .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
        Returns:
        The state.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time at which this environment was created.
         
        .google.protobuf.Timestamp create_time = 5;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which this environment was created.
         
        .google.protobuf.Timestamp create_time = 5;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which this environment was created.
         
        .google.protobuf.Timestamp create_time = 5;
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The time at which this environment was last modified.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time at which this environment was last modified.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time at which this environment was last modified.
         
        .google.protobuf.Timestamp update_time = 6;
      • getLabelsCount

        int getLabelsCount()
         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;
      • containsLabels

        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;
      • getLabelsMap

        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;
      • getLabelsOrDefault

        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;
      • getLabelsOrThrow

        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;