- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
public static final class Environment.Builder extends GeneratedMessageV3.Builder<Environment.Builder> implements EnvironmentOrBuilder
An environment for running orchestration tasks.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.Environment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Environment.BuilderImplements
EnvironmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
build()
public Environment build()
Type | Description |
Environment |
buildPartial()
public Environment buildPartial()
Type | Description |
Environment |
clear()
public Environment.Builder clear()
Type | Description |
Environment.Builder |
clearConfig()
public Environment.Builder clearConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Type | Description |
Environment.Builder |
clearCreateTime()
public Environment.Builder clearCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Environment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Environment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Environment.Builder |
clearLabels()
public Environment.Builder clearLabels()
Type | Description |
Environment.Builder |
clearName()
public Environment.Builder clearName()
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;
Type | Description |
Environment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Environment.Builder |
clearState()
public Environment.Builder clearState()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
Type | Description |
Environment.Builder | This builder for chaining. |
clearUpdateTime()
public Environment.Builder clearUpdateTime()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Environment.Builder |
clearUuid()
public Environment.Builder clearUuid()
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];
Type | Description |
Environment.Builder | This builder for chaining. |
clone()
public Environment.Builder clone()
Type | Description |
Environment.Builder |
containsLabels(String key)
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}{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];
Name | Description |
key | String |
Type | Description |
boolean |
getConfig()
public EnvironmentConfig getConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Type | Description |
EnvironmentConfig | The config. |
getConfigBuilder()
public EnvironmentConfig.Builder getConfigBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Type | Description |
EnvironmentConfig.Builder |
getConfigOrBuilder()
public EnvironmentConfigOrBuilder getConfigOrBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Type | Description |
EnvironmentConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Environment getDefaultInstanceForType()
Type | Description |
Environment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public 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}{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];
Type | Description |
int |
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}{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];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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}{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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
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}{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];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public 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;
Type | Description |
String | The name. |
getNameBytes()
public 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;
Type | Description |
ByteString | The bytes for name. |
getState()
public Environment.State getState()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
Type | Description |
Environment.State | The state. |
getStateValue()
public int getStateValue()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
String | The uuid. |
getUuidBytes()
public 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];
Type | Description |
ByteString | The bytes for uuid. |
hasConfig()
public boolean hasConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Type | Description |
boolean | Whether the config field is set. |
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];
Type | Description |
boolean | Whether the createTime field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfig(EnvironmentConfig value)
public Environment.Builder mergeConfig(EnvironmentConfig value)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Name | Description |
value | EnvironmentConfig |
Type | Description |
Environment.Builder |
mergeCreateTime(Timestamp value)
public Environment.Builder mergeCreateTime(Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
mergeFrom(Environment other)
public Environment.Builder mergeFrom(Environment other)
Name | Description |
other | Environment |
Type | Description |
Environment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Environment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Environment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Environment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Environment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
mergeUpdateTime(Timestamp value)
public Environment.Builder mergeUpdateTime(Timestamp value)
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
putAllLabels(Map<String,String> values)
public Environment.Builder putAllLabels(Map<String,String> values)
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}{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];
Name | Description |
values | Map<String,String> |
Type | Description |
Environment.Builder |
putLabels(String key, String value)
public Environment.Builder putLabels(String key, String value)
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}{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];
Name | Description |
key | String |
value | String |
Type | Description |
Environment.Builder |
removeLabels(String key)
public Environment.Builder removeLabels(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}{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];
Name | Description |
key | String |
Type | Description |
Environment.Builder |
setConfig(EnvironmentConfig value)
public Environment.Builder setConfig(EnvironmentConfig value)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Name | Description |
value | EnvironmentConfig |
Type | Description |
Environment.Builder |
setConfig(EnvironmentConfig.Builder builderForValue)
public Environment.Builder setConfig(EnvironmentConfig.Builder builderForValue)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
Name | Description |
builderForValue | EnvironmentConfig.Builder |
Type | Description |
Environment.Builder |
setCreateTime(Timestamp value)
public Environment.Builder setCreateTime(Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Environment.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Environment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
setName(String value)
public Environment.Builder setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Environment.Builder setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Environment.Builder |
setState(Environment.State value)
public Environment.Builder setState(Environment.State value)
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
Name | Description |
value | Environment.State The state to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setStateValue(int value)
public Environment.Builder setStateValue(int value)
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
setUpdateTime(Timestamp value)
public Environment.Builder setUpdateTime(Timestamp value)
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Environment.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Environment.Builder |
setUuid(String value)
public Environment.Builder setUuid(String value)
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];
Name | Description |
value | String The uuid to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setUuidBytes(ByteString value)
public Environment.Builder setUuidBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for uuid to set. |
Type | Description |
Environment.Builder | This builder for chaining. |