Class Environment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
- com.google.cloud.orchestration.airflow.service.v1.Environment.Builder
-
- All Implemented Interfaces:
EnvironmentOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Environment
public static final class Environment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder> implements EnvironmentOrBuilder
An environment for running orchestration tasks.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1.Environment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Environment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Environment
build()
Environment
buildPartial()
Environment.Builder
clear()
Environment.Builder
clearConfig()
Configuration parameters for this environment.Environment.Builder
clearCreateTime()
Output only.Environment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Environment.Builder
clearLabels()
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.Environment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Environment.Builder
clearState()
The current state of the environment.Environment.Builder
clearUpdateTime()
Output only.Environment.Builder
clearUuid()
Output only.Environment.Builder
clone()
boolean
containsLabels(String key)
Optional.EnvironmentConfig
getConfig()
Configuration parameters for this environment.EnvironmentConfig.Builder
getConfigBuilder()
Configuration parameters for this environment.EnvironmentConfigOrBuilder
getConfigOrBuilder()
Configuration parameters for this environment.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Environment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.Map<String,String>
getMutableLabels()
Deprecated.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.Timestamp.Builder
getUpdateTimeBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Environment.Builder
mergeConfig(EnvironmentConfig value)
Configuration parameters for this environment.Environment.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Environment.Builder
mergeFrom(Environment other)
Environment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Environment.Builder
mergeFrom(com.google.protobuf.Message other)
Environment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Environment.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Environment.Builder
putAllLabels(Map<String,String> values)
Optional.Environment.Builder
putLabels(String key, String value)
Optional.Environment.Builder
removeLabels(String key)
Optional.Environment.Builder
setConfig(EnvironmentConfig value)
Configuration parameters for this environment.Environment.Builder
setConfig(EnvironmentConfig.Builder builderForValue)
Configuration parameters for this environment.Environment.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Environment.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Environment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.Environment.Builder
setNameBytes(com.google.protobuf.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.Environment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Environment.Builder
setState(Environment.State value)
The current state of the environment.Environment.Builder
setStateValue(int value)
The current state of the environment.Environment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Environment.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Environment.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Environment.Builder
setUuid(String value)
Output only.Environment.Builder
setUuidBytes(com.google.protobuf.ByteString value)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clear
public Environment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDefaultInstanceForType
public Environment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Environment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Environment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Environment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setField
public Environment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearField
public Environment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearOneof
public Environment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setRepeatedField
public Environment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
addRepeatedField
public Environment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(Environment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>
- Throws:
IOException
-
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;
- Specified by:
getName
in interfaceEnvironmentOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceEnvironmentOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setNameBytes
public Environment.Builder setNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
- Specified by:
hasConfig
in interfaceEnvironmentOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
public EnvironmentConfig getConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
- Specified by:
getConfig
in interfaceEnvironmentOrBuilder
- Returns:
- The config.
-
setConfig
public Environment.Builder setConfig(EnvironmentConfig value)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
-
setConfig
public Environment.Builder setConfig(EnvironmentConfig.Builder builderForValue)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
-
mergeConfig
public Environment.Builder mergeConfig(EnvironmentConfig value)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
-
clearConfig
public Environment.Builder clearConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
-
getConfigBuilder
public EnvironmentConfig.Builder getConfigBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
-
getConfigOrBuilder
public EnvironmentConfigOrBuilder getConfigOrBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;
- Specified by:
getConfigOrBuilder
in interfaceEnvironmentOrBuilder
-
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;
- Specified by:
getUuid
in interfaceEnvironmentOrBuilder
- 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;
- Specified by:
getUuidBytes
in interfaceEnvironmentOrBuilder
- Returns:
- The bytes for uuid.
-
setUuid
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;
- Parameters:
value
- The uuid to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setUuidBytes
public Environment.Builder setUuidBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
- Specified by:
getStateValue
in interfaceEnvironmentOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Environment.Builder setStateValue(int value)
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Environment.State getState()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
- Specified by:
getState
in interfaceEnvironmentOrBuilder
- Returns:
- The state.
-
setState
public Environment.Builder setState(Environment.State value)
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Environment.Builder clearState()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;
- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
hasCreateTime
in interfaceEnvironmentOrBuilder
- 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;
- Specified by:
getCreateTime
in interfaceEnvironmentOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Environment.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
-
setCreateTime
public Environment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
-
mergeCreateTime
public Environment.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
-
clearCreateTime
public Environment.Builder clearCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
getCreateTimeOrBuilder
in interfaceEnvironmentOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
- Specified by:
hasUpdateTime
in interfaceEnvironmentOrBuilder
- 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;
- Specified by:
getUpdateTime
in interfaceEnvironmentOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Environment.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
-
setUpdateTime
public Environment.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
-
mergeUpdateTime
public Environment.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
-
clearUpdateTime
public Environment.Builder clearUpdateTime()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;
- Specified by:
getUpdateTimeOrBuilder
in interfaceEnvironmentOrBuilder
-
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;
- Specified by:
getLabelsCount
in interfaceEnvironmentOrBuilder
-
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;
- Specified by:
containsLabels
in interfaceEnvironmentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceEnvironmentOrBuilder
-
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;
- Specified by:
getLabelsMap
in interfaceEnvironmentOrBuilder
-
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;
- Specified by:
getLabelsOrDefault
in interfaceEnvironmentOrBuilder
-
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;
- Specified by:
getLabelsOrThrow
in interfaceEnvironmentOrBuilder
-
clearLabels
public Environment.Builder clearLabels()
-
removeLabels
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}][\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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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}][\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;
-
putAllLabels
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}][\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;
-
setUnknownFields
public final Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeUnknownFields
public final Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
-