public static final class WorkloadMetadataConfig.Builder extends GeneratedMessage.Builder<WorkloadMetadataConfig.Builder> implements WorkloadMetadataConfigOrBuilderWorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
Protobuf type google.container.v1beta1.WorkloadMetadataConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WorkloadMetadataConfig.BuilderImplements
WorkloadMetadataConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WorkloadMetadataConfig build()| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig |
|
buildPartial()
public WorkloadMetadataConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig |
|
clear()
public WorkloadMetadataConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
|
clearMode()
public WorkloadMetadataConfig.Builder clearMode()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 |
WorkloadMetadataConfig.Builder |
This builder for chaining. |
clearNodeMetadata() (deprecated)
public WorkloadMetadataConfig.Builder clearNodeMetadata()Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See google/container/v1beta1/cluster_service.proto;l=6284
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 |
WorkloadMetadataConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public WorkloadMetadataConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMode()
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 | |
|---|---|
| Type | Description |
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.v1beta1.WorkloadMetadataConfig.Mode mode = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mode. |
getNodeMetadata() (deprecated)
public WorkloadMetadataConfig.NodeMetadata getNodeMetadata()Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See google/container/v1beta1/cluster_service.proto;l=6284
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 |
WorkloadMetadataConfig.NodeMetadata |
The nodeMetadata. |
getNodeMetadataValue() (deprecated)
public int getNodeMetadataValue()Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See google/container/v1beta1/cluster_service.proto;l=6284
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WorkloadMetadataConfig other)
public WorkloadMetadataConfig.Builder mergeFrom(WorkloadMetadataConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
WorkloadMetadataConfig |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkloadMetadataConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WorkloadMetadataConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
|
setMode(WorkloadMetadataConfig.Mode value)
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.v1beta1.WorkloadMetadataConfig.Mode mode = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
WorkloadMetadataConfig.ModeThe mode to set. |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
This builder for chaining. |
setModeValue(int value)
public WorkloadMetadataConfig.Builder setModeValue(int value)Mode is the configuration for how to expose metadata to workloads running on the node pool.
.google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for mode to set. |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
This builder for chaining. |
setNodeMetadata(WorkloadMetadataConfig.NodeMetadata value) (deprecated)
public WorkloadMetadataConfig.Builder setNodeMetadata(WorkloadMetadataConfig.NodeMetadata value)Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See google/container/v1beta1/cluster_service.proto;l=6284
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];
| Parameter | |
|---|---|
| Name | Description |
value |
WorkloadMetadataConfig.NodeMetadataThe nodeMetadata to set. |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
This builder for chaining. |
setNodeMetadataValue(int value) (deprecated)
public WorkloadMetadataConfig.Builder setNodeMetadataValue(int value)Deprecated. google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See google/container/v1beta1/cluster_service.proto;l=6284
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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for nodeMetadata to set. |
| Returns | |
|---|---|
| Type | Description |
WorkloadMetadataConfig.Builder |
This builder for chaining. |