public final class WorkloadMetadataConfig extends GeneratedMessageV3 implements WorkloadMetadataConfigOrBuilder
WorkloadMetadataConfig defines the metadata configuration to expose to
workloads on the node pool.
Protobuf type google.container.v1beta1.WorkloadMetadataConfig
Static Fields
public static final int MODE_FIELD_NUMBER
Field Value
public static final int NODE_METADATA_FIELD_NUMBER
Field Value
Static Methods
public static WorkloadMetadataConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static WorkloadMetadataConfig.Builder newBuilder()
Returns
public static WorkloadMetadataConfig.Builder newBuilder(WorkloadMetadataConfig prototype)
Parameter
Returns
public static WorkloadMetadataConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WorkloadMetadataConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static WorkloadMetadataConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<WorkloadMetadataConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public WorkloadMetadataConfig getDefaultInstanceForType()
Returns
public WorkloadMetadataConfig.Mode getMode()
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2;
Returns
public int getModeValue()
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
.google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for mode.
|
public WorkloadMetadataConfig.NodeMetadata getNodeMetadata()
Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See
google/container/v1beta1/cluster_service.proto;l=4215
NodeMetadata is the configuration for how to expose metadata to the
workloads running on the node.
.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true];
Returns
public int getNodeMetadataValue()
Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See
google/container/v1beta1/cluster_service.proto;l=4215
NodeMetadata is the configuration for how to expose metadata to the
workloads running on the node.
.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true];
Returns
Type | Description |
int | The enum numeric value on the wire for nodeMetadata.
|
public Parser<WorkloadMetadataConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WorkloadMetadataConfig.Builder newBuilderForType()
Returns
protected WorkloadMetadataConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public WorkloadMetadataConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions