public static final class UserWorkloadsConfigMap.Builder extends GeneratedMessageV3.Builder<UserWorkloadsConfigMap.Builder> implements UserWorkloadsConfigMapOrBuilder
User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsConfigMap
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserWorkloadsConfigMap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public UserWorkloadsConfigMap build()
buildPartial()
public UserWorkloadsConfigMap buildPartial()
clear()
public UserWorkloadsConfigMap.Builder clear()
OverridesclearData()
public UserWorkloadsConfigMap.Builder clearData()
clearField(Descriptors.FieldDescriptor field)
public UserWorkloadsConfigMap.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearName()
public UserWorkloadsConfigMap.Builder clearName()
Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
clearOneof(Descriptors.OneofDescriptor oneof)
public UserWorkloadsConfigMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overridesclone()
public UserWorkloadsConfigMap.Builder clone()
OverridescontainsData(String key)
public boolean containsData(String key)
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
key | String
|
getData() (deprecated)
public Map<String,String> getData()
getDataCount()
public int getDataCount()
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | |
getDataMap()
public Map<String,String> getDataMap()
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataOrDefault(String key, String defaultValue)
public String getDataOrDefault(String key, String defaultValue)
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataOrThrow(String key)
public String getDataOrThrow(String key)
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public UserWorkloadsConfigMap getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetMutableData() (deprecated)
public Map<String,String> getMutableData()
Use alternate mutation accessors instead.
getName()
Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
---|
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
OverridesinternalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overridescom.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overridescom.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
OverridesmergeFrom(UserWorkloadsConfigMap other)
public UserWorkloadsConfigMap.Builder mergeFrom(UserWorkloadsConfigMap other)
public UserWorkloadsConfigMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public UserWorkloadsConfigMap.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final UserWorkloadsConfigMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridesputAllData(Map<String,String> values)
public UserWorkloadsConfigMap.Builder putAllData(Map<String,String> values)
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
putData(String key, String value)
public UserWorkloadsConfigMap.Builder putData(String key, String value)
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
removeData(String key)
public UserWorkloadsConfigMap.Builder removeData(String key)
Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
Example:
{ "example_key": "example_value", "another_key": "another_value" }
map<string, string> data = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserWorkloadsConfigMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetName(String value)
public UserWorkloadsConfigMap.Builder setName(String value)
Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
---|
Name | Description |
value | String
The name to set. |
setNameBytes(ByteString value)
public UserWorkloadsConfigMap.Builder setNameBytes(ByteString value)
Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserWorkloadsConfigMap.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final UserWorkloadsConfigMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides