Send feedback
Class WorkloadMetadataConfig (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.0 keyboard_arrow_down
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 Type Description int
public static final int NODE_METADATA_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static WorkloadMetadataConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static WorkloadMetadataConfig . Builder newBuilder ()
public static WorkloadMetadataConfig . Builder newBuilder ( WorkloadMetadataConfig prototype )
public static WorkloadMetadataConfig parseDelimitedFrom ( InputStream input )
public static WorkloadMetadataConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static WorkloadMetadataConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static WorkloadMetadataConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static WorkloadMetadataConfig parseFrom ( ByteString data )
public static WorkloadMetadataConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static WorkloadMetadataConfig parseFrom ( CodedInputStream input )
public static WorkloadMetadataConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static WorkloadMetadataConfig parseFrom ( InputStream input )
public static WorkloadMetadataConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static WorkloadMetadataConfig parseFrom ( ByteBuffer data )
public static WorkloadMetadataConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<WorkloadMetadataConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public WorkloadMetadataConfig getDefaultInstanceForType ()
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;
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=4163
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];
public int getNodeMetadataValue ()
Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See
google/container/v1beta1/cluster_service.proto;l=4163
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 ()
Overrides
public int getSerializedSize ()
Returns Type Description int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public WorkloadMetadataConfig . Builder newBuilderForType ()
protected WorkloadMetadataConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public WorkloadMetadataConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]