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.v1.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)
Overrides
build()
public UserWorkloadsConfigMap build()
buildPartial()
public UserWorkloadsConfigMap buildPartial()
clear()
public UserWorkloadsConfigMap.Builder clear()
Overrides
clearData()
public UserWorkloadsConfigMap.Builder clearData()
clearField(Descriptors.FieldDescriptor field)
public UserWorkloadsConfigMap.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UserWorkloadsConfigMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public UserWorkloadsConfigMap.Builder clone()
Overrides
containsData(String key)
public boolean containsData(String key)
Parameter |
Name |
Description |
key |
String
|
getData() (deprecated)
public Map<String,String> getData()
getDataCount()
public int getDataCount()
Returns |
Type |
Description |
int |
|
getDataMap()
public Map<String,String> getDataMap()
getDataOrDefault(String key, String defaultValue)
public String getDataOrDefault(String key, String defaultValue)
Returns |
Type |
Description |
String |
|
getDataOrThrow(String key)
public String getDataOrThrow(String key)
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getDefaultInstanceForType()
public UserWorkloadsConfigMap getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableData() (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()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.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 |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserWorkloadsConfigMap other)
public UserWorkloadsConfigMap.Builder mergeFrom(UserWorkloadsConfigMap other)
public UserWorkloadsConfigMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserWorkloadsConfigMap.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserWorkloadsConfigMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllData(Map<String,String> values)
public UserWorkloadsConfigMap.Builder putAllData(Map<String,String> values)
putData(String key, String value)
public UserWorkloadsConfigMap.Builder putData(String key, String value)
removeData(String key)
public UserWorkloadsConfigMap.Builder removeData(String key)
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserWorkloadsConfigMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserWorkloadsConfigMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides