Class WorkloadMetadataConfig (2.23.0)

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.v1.WorkloadMetadataConfig

Static Fields

MODE_FIELD_NUMBER

public static final int MODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkloadMetadataConfig getDefaultInstance()
Returns
TypeDescription
WorkloadMetadataConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkloadMetadataConfig.Builder newBuilder()
Returns
TypeDescription
WorkloadMetadataConfig.Builder

newBuilder(WorkloadMetadataConfig prototype)

public static WorkloadMetadataConfig.Builder newBuilder(WorkloadMetadataConfig prototype)
Parameter
NameDescription
prototypeWorkloadMetadataConfig
Returns
TypeDescription
WorkloadMetadataConfig.Builder

parseDelimitedFrom(InputStream input)

public static WorkloadMetadataConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadMetadataConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkloadMetadataConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkloadMetadataConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkloadMetadataConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkloadMetadataConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkloadMetadataConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadMetadataConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkloadMetadataConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadMetadataConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkloadMetadataConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkloadMetadataConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadMetadataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkloadMetadataConfig> parser()
Returns
TypeDescription
Parser<WorkloadMetadataConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WorkloadMetadataConfig getDefaultInstanceForType()
Returns
TypeDescription
WorkloadMetadataConfig

getMode()

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;

Returns
TypeDescription
WorkloadMetadataConfig.Mode

The mode.

getModeValue()

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
TypeDescription
int

The enum numeric value on the wire for mode.

getParserForType()

public Parser<WorkloadMetadataConfig> getParserForType()
Returns
TypeDescription
Parser<WorkloadMetadataConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkloadMetadataConfig.Builder newBuilderForType()
Returns
TypeDescription
WorkloadMetadataConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkloadMetadataConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkloadMetadataConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkloadMetadataConfig.Builder toBuilder()
Returns
TypeDescription
WorkloadMetadataConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException