public final class NodeConfig extends GeneratedMessageV3 implements NodeConfigOrBuilder
Parameters that describe the nodes in a cluster.Protobuf type
google.container.v1.NodeConfig
Modifier and Type | Class and Description |
---|---|
static class |
NodeConfig.Builder
Parameters that describe the nodes in a cluster.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ACCELERATORS_FIELD_NUMBER |
static int |
DISK_SIZE_GB_FIELD_NUMBER |
static int |
IMAGE_TYPE_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LOCAL_SSD_COUNT_FIELD_NUMBER |
static int |
MACHINE_TYPE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
MIN_CPU_PLATFORM_FIELD_NUMBER |
static int |
OAUTH_SCOPES_FIELD_NUMBER |
static int |
PREEMPTIBLE_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(java.lang.String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
boolean |
containsMetadata(java.lang.String key)
The metadata key/value pairs assigned to instances in the cluster.
|
boolean |
equals(java.lang.Object obj) |
AcceleratorConfig |
getAccelerators(int index)
A list of hardware accelerators to be attached to each node.
|
int |
getAcceleratorsCount()
A list of hardware accelerators to be attached to each node.
|
java.util.List<AcceleratorConfig> |
getAcceleratorsList()
A list of hardware accelerators to be attached to each node.
|
AcceleratorConfigOrBuilder |
getAcceleratorsOrBuilder(int index)
A list of hardware accelerators to be attached to each node.
|
java.util.List<? extends AcceleratorConfigOrBuilder> |
getAcceleratorsOrBuilderList()
A list of hardware accelerators to be attached to each node.
|
static NodeConfig |
getDefaultInstance() |
NodeConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
int |
getDiskSizeGb()
Size of the disk attached to each node, specified in GB.
|
java.lang.String |
getImageType()
The image type to use for this node.
|
ByteString |
getImageTypeBytes()
The image type to use for this node.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabelsMap()
The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
java.lang.String |
getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
java.lang.String |
getLabelsOrThrow(java.lang.String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
int |
getLocalSsdCount()
The number of local SSD disks to be attached to the node.
|
java.lang.String |
getMachineType()
The name of a Google Compute Engine [machine
type](/compute/docs/machine-types) (e.g.
|
ByteString |
getMachineTypeBytes()
The name of a Google Compute Engine [machine
type](/compute/docs/machine-types) (e.g.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
The metadata key/value pairs assigned to instances in the cluster.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadataMap()
The metadata key/value pairs assigned to instances in the cluster.
|
java.lang.String |
getMetadataOrDefault(java.lang.String key,
java.lang.String defaultValue)
The metadata key/value pairs assigned to instances in the cluster.
|
java.lang.String |
getMetadataOrThrow(java.lang.String key)
The metadata key/value pairs assigned to instances in the cluster.
|
java.lang.String |
getMinCpuPlatform()
Minimum CPU platform to be used by this instance.
|
ByteString |
getMinCpuPlatformBytes()
Minimum CPU platform to be used by this instance.
|
java.lang.String |
getOauthScopes(int index)
The set of Google API scopes to be made available on all of the
node VMs under the "default" service account.
|
ByteString |
getOauthScopesBytes(int index)
The set of Google API scopes to be made available on all of the
node VMs under the "default" service account.
|
int |
getOauthScopesCount()
The set of Google API scopes to be made available on all of the
node VMs under the "default" service account.
|
ProtocolStringList |
getOauthScopesList()
The set of Google API scopes to be made available on all of the
node VMs under the "default" service account.
|
Parser<NodeConfig> |
getParserForType() |
boolean |
getPreemptible()
Whether the nodes are created as preemptible VM instances.
|
int |
getSerializedSize() |
java.lang.String |
getServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs.
|
ByteString |
getServiceAccountBytes()
The Google Cloud Platform Service Account to be used by the node VMs.
|
java.lang.String |
getTags(int index)
The list of instance tags applied to all nodes.
|
ByteString |
getTagsBytes(int index)
The list of instance tags applied to all nodes.
|
int |
getTagsCount()
The list of instance tags applied to all nodes.
|
ProtocolStringList |
getTagsList()
The list of instance tags applied to all nodes.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static NodeConfig.Builder |
newBuilder() |
static NodeConfig.Builder |
newBuilder(NodeConfig prototype) |
NodeConfig.Builder |
newBuilderForType() |
protected NodeConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static NodeConfig |
parseDelimitedFrom(java.io.InputStream input) |
static NodeConfig |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static NodeConfig |
parseFrom(byte[] data) |
static NodeConfig |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static NodeConfig |
parseFrom(java.nio.ByteBuffer data) |
static NodeConfig |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static NodeConfig |
parseFrom(ByteString data) |
static NodeConfig |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static NodeConfig |
parseFrom(CodedInputStream input) |
static NodeConfig |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static NodeConfig |
parseFrom(java.io.InputStream input) |
static NodeConfig |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<NodeConfig> |
parser() |
NodeConfig.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int MACHINE_TYPE_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
public static final int OAUTH_SCOPES_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int IMAGE_TYPE_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int LOCAL_SSD_COUNT_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int PREEMPTIBLE_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getMachineType()
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
string machine_type = 1;
getMachineType
in interface NodeConfigOrBuilder
public ByteString getMachineTypeBytes()
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
string machine_type = 1;
getMachineTypeBytes
in interface NodeConfigOrBuilder
public int getDiskSizeGb()
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
int32 disk_size_gb = 2;
getDiskSizeGb
in interface NodeConfigOrBuilder
public ProtocolStringList getOauthScopesList()
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
getOauthScopesList
in interface NodeConfigOrBuilder
public int getOauthScopesCount()
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
getOauthScopesCount
in interface NodeConfigOrBuilder
public java.lang.String getOauthScopes(int index)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
getOauthScopes
in interface NodeConfigOrBuilder
public ByteString getOauthScopesBytes(int index)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
getOauthScopesBytes
in interface NodeConfigOrBuilder
public java.lang.String getServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the "default" service account is used.
string service_account = 9;
getServiceAccount
in interface NodeConfigOrBuilder
public ByteString getServiceAccountBytes()
The Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the "default" service account is used.
string service_account = 9;
getServiceAccountBytes
in interface NodeConfigOrBuilder
public int getMetadataCount()
NodeConfigOrBuilder
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;
getMetadataCount
in interface NodeConfigOrBuilder
public boolean containsMetadata(java.lang.String key)
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;
containsMetadata
in interface NodeConfigOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadataMap()
instead.getMetadata
in interface NodeConfigOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;
getMetadataMap
in interface NodeConfigOrBuilder
public java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;
getMetadataOrDefault
in interface NodeConfigOrBuilder
public java.lang.String getMetadataOrThrow(java.lang.String key)
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;
getMetadataOrThrow
in interface NodeConfigOrBuilder
public java.lang.String getImageType()
The image type to use for this node. Note that for a given image type, the latest version of it will be used.
string image_type = 5;
getImageType
in interface NodeConfigOrBuilder
public ByteString getImageTypeBytes()
The image type to use for this node. Note that for a given image type, the latest version of it will be used.
string image_type = 5;
getImageTypeBytes
in interface NodeConfigOrBuilder
public int getLabelsCount()
NodeConfigOrBuilder
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
getLabelsCount
in interface NodeConfigOrBuilder
public boolean containsLabels(java.lang.String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
containsLabels
in interface NodeConfigOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap()
instead.getLabels
in interface NodeConfigOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getLabelsMap()
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
getLabelsMap
in interface NodeConfigOrBuilder
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
getLabelsOrDefault
in interface NodeConfigOrBuilder
public java.lang.String getLabelsOrThrow(java.lang.String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
getLabelsOrThrow
in interface NodeConfigOrBuilder
public int getLocalSsdCount()
The number of local SSD disks to be attached to the node. The limit for this value is dependant upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for more information.
int32 local_ssd_count = 7;
getLocalSsdCount
in interface NodeConfigOrBuilder
public ProtocolStringList getTagsList()
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;
getTagsList
in interface NodeConfigOrBuilder
public int getTagsCount()
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;
getTagsCount
in interface NodeConfigOrBuilder
public java.lang.String getTags(int index)
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;
getTags
in interface NodeConfigOrBuilder
public ByteString getTagsBytes(int index)
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;
getTagsBytes
in interface NodeConfigOrBuilder
public boolean getPreemptible()
Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.
bool preemptible = 10;
getPreemptible
in interface NodeConfigOrBuilder
public java.util.List<AcceleratorConfig> getAcceleratorsList()
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;
getAcceleratorsList
in interface NodeConfigOrBuilder
public java.util.List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;
getAcceleratorsOrBuilderList
in interface NodeConfigOrBuilder
public int getAcceleratorsCount()
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;
getAcceleratorsCount
in interface NodeConfigOrBuilder
public AcceleratorConfig getAccelerators(int index)
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;
getAccelerators
in interface NodeConfigOrBuilder
public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;
getAcceleratorsOrBuilder
in interface NodeConfigOrBuilder
public java.lang.String getMinCpuPlatform()
Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as <code>minCpuPlatform: "Intel Haswell"</code> or <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
string min_cpu_platform = 13;
getMinCpuPlatform
in interface NodeConfigOrBuilder
public ByteString getMinCpuPlatformBytes()
Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as <code>minCpuPlatform: "Intel Haswell"</code> or <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
string min_cpu_platform = 13;
getMinCpuPlatformBytes
in interface NodeConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static NodeConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NodeConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NodeConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NodeConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static NodeConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static NodeConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static NodeConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static NodeConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static NodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public NodeConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static NodeConfig.Builder newBuilder()
public static NodeConfig.Builder newBuilder(NodeConfig prototype)
public NodeConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected NodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static NodeConfig getDefaultInstance()
public static Parser<NodeConfig> parser()
public Parser<NodeConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public NodeConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder