public static final class WorkloadMetadataConfig.Builder extends GeneratedMessageV3.Builder<WorkloadMetadataConfig.Builder> implements WorkloadMetadataConfigOrBuilder
WorkloadMetadataConfig defines the metadata configuration to expose to
workloads on the node pool.
Protobuf type google.container.v1.WorkloadMetadataConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public WorkloadMetadataConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WorkloadMetadataConfig build()
public WorkloadMetadataConfig buildPartial()
public WorkloadMetadataConfig.Builder clear()
Overrides
public WorkloadMetadataConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public WorkloadMetadataConfig.Builder clearMode()
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
public WorkloadMetadataConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public WorkloadMetadataConfig.Builder clone()
Overrides
public WorkloadMetadataConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public WorkloadMetadataConfig.Mode getMode()
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
public int getModeValue()
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for mode.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WorkloadMetadataConfig.Builder mergeFrom(WorkloadMetadataConfig other)
public WorkloadMetadataConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public WorkloadMetadataConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final WorkloadMetadataConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public WorkloadMetadataConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WorkloadMetadataConfig.Builder setMode(WorkloadMetadataConfig.Mode value)
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
public WorkloadMetadataConfig.Builder setModeValue(int value)
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for mode to set.
|
public WorkloadMetadataConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final WorkloadMetadataConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides