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.v1beta1.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.v1beta1.Environment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Environment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Environmentbuild()EnvironmentbuildPartial()Environment.Builderclear()Environment.BuilderclearConfig()Configuration parameters for this environment.Environment.BuilderclearCreateTime()Output only.Environment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Environment.BuilderclearLabels()Environment.BuilderclearName()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.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Environment.BuilderclearState()The current state of the environment.Environment.BuilderclearUpdateTime()Output only.Environment.BuilderclearUuid()Output only.Environment.Builderclone()booleancontainsLabels(String key)Optional.EnvironmentConfiggetConfig()Configuration parameters for this environment.EnvironmentConfig.BuildergetConfigBuilder()Configuration parameters for this environment.EnvironmentConfigOrBuildergetConfigOrBuilder()Configuration parameters for this environment.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.EnvironmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.Map<String,String>getMutableLabels()Deprecated.StringgetName()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.ByteStringgetNameBytes()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.StategetState()The current state of the environment.intgetStateValue()The current state of the environment.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.StringgetUuid()Output only.com.google.protobuf.ByteStringgetUuidBytes()Output only.booleanhasConfig()Configuration parameters for this environment.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Environment.BuildermergeConfig(EnvironmentConfig value)Configuration parameters for this environment.Environment.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Environment.BuildermergeFrom(Environment other)Environment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Environment.BuildermergeFrom(com.google.protobuf.Message other)Environment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Environment.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Environment.BuilderputAllLabels(Map<String,String> values)Optional.Environment.BuilderputLabels(String key, String value)Optional.Environment.BuilderremoveLabels(String key)Optional.Environment.BuildersetConfig(EnvironmentConfig value)Configuration parameters for this environment.Environment.BuildersetConfig(EnvironmentConfig.Builder builderForValue)Configuration parameters for this environment.Environment.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Environment.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Environment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Environment.BuildersetName(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.BuildersetNameBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Environment.BuildersetState(Environment.State value)The current state of the environment.Environment.BuildersetStateValue(int value)The current state of the environment.Environment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Environment.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Environment.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Environment.BuildersetUuid(String value)Output only.Environment.BuildersetUuidBytes(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clear
public Environment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDefaultInstanceForType
public Environment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Environment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Environment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Environment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setField
public Environment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearField
public Environment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearOneof
public Environment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setRepeatedField
public Environment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
addRepeatedField
public Environment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(Environment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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.v1beta1.EnvironmentConfig config = 2;- Specified by:
hasConfigin interfaceEnvironmentOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
public EnvironmentConfig getConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;- Specified by:
getConfigin interfaceEnvironmentOrBuilder- Returns:
- The config.
-
setConfig
public Environment.Builder setConfig(EnvironmentConfig value)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
-
setConfig
public Environment.Builder setConfig(EnvironmentConfig.Builder builderForValue)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
-
mergeConfig
public Environment.Builder mergeConfig(EnvironmentConfig value)
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
-
clearConfig
public Environment.Builder clearConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
-
getConfigBuilder
public EnvironmentConfig.Builder getConfigBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;
-
getConfigOrBuilder
public EnvironmentConfigOrBuilder getConfigOrBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2;- Specified by:
getConfigOrBuilderin 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUuidin 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUuidBytesin 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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.v1beta1.Environment.State state = 4;- Specified by:
getStateValuein 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.v1beta1.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.v1beta1.Environment.State state = 4;- Specified by:
getStatein interfaceEnvironmentOrBuilder- Returns:
- The state.
-
setState
public Environment.Builder setState(Environment.State value)
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1beta1.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.v1beta1.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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.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];
-
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:
getCreateTimeOrBuilderin interfaceEnvironmentOrBuilder
-
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:
hasUpdateTimein 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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:
getUpdateTimeOrBuilderin interfaceEnvironmentOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:EnvironmentOrBuilderOptional. 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:
getLabelsCountin 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceEnvironmentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin 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 [(.google.api.field_behavior) = OPTIONAL];
-
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 [(.google.api.field_behavior) = OPTIONAL];
-
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 [(.google.api.field_behavior) = OPTIONAL];
-
setUnknownFields
public final Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeUnknownFields
public final Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
-