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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.EnvironmentConfig
getConfig()
Configuration parameters for this environment.EnvironmentConfigOrBuilder
getConfigOrBuilder()
Configuration parameters for this environment.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.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.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.Environment.State
getState()
The current state of the environment.int
getStateValue()
The current state of the environment.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getUuid()
Output only.com.google.protobuf.ByteString
getUuidBytes()
Output only.boolean
hasConfig()
Configuration parameters for this environment.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
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;
-
-