public static final class UserWorkloadsConfigMap.Builder extends GeneratedMessage.Builder<UserWorkloadsConfigMap.Builder> implements UserWorkloadsConfigMapOrBuilderUser workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
Protobuf type google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserWorkloadsConfigMap.BuilderImplements
UserWorkloadsConfigMapOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UserWorkloadsConfigMap build()| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap |
|
buildPartial()
public UserWorkloadsConfigMap buildPartial()| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap |
|
clear()
public UserWorkloadsConfigMap.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
clearData()
public UserWorkloadsConfigMap.Builder clearData()| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
clearName()
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];
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
This builder for chaining. |
containsData(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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getData() (deprecated)
public Map<String,String> getData()Use #getDataMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
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 |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDefaultInstanceForType()
public UserWorkloadsConfigMap getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableData() (deprecated)
public Map<String,String> getMutableData()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserWorkloadsConfigMap other)
public UserWorkloadsConfigMap.Builder mergeFrom(UserWorkloadsConfigMap other)| Parameter | |
|---|---|
| Name | Description |
other |
UserWorkloadsConfigMap |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserWorkloadsConfigMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserWorkloadsConfigMap.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
putAllData(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];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
|
setName(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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UserWorkloadsConfigMap.Builder |
This builder for chaining. |