- 1.58.0 (latest)
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 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 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserWorkloadsConfigMap.BuilderImplements
UserWorkloadsConfigMapOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserWorkloadsConfigMap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UserWorkloadsConfigMap.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public UserWorkloadsConfigMap.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UserWorkloadsConfigMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UserWorkloadsConfigMap.Builder |
clone()
public UserWorkloadsConfigMap.Builder clone()
Returns | |
---|---|
Type | Description |
UserWorkloadsConfigMap.Builder |
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.
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];
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.
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserWorkloadsConfigMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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];
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];
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 |
setField(Descriptors.FieldDescriptor field, Object value)
public UserWorkloadsConfigMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
String The 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 |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
UserWorkloadsConfigMap.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserWorkloadsConfigMap.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UserWorkloadsConfigMap.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UserWorkloadsConfigMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UserWorkloadsConfigMap.Builder |