public interface NodeConfigOrBuilder extends MessageOrBuilder
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.
|
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.
|
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.
|
java.util.List<java.lang.String> |
getOauthScopesList()
The set of Google API scopes to be made available on all of the
node VMs under the "default" service account.
|
boolean |
getPreemptible()
Whether the nodes are created as preemptible VM instances.
|
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.
|
java.util.List<java.lang.String> |
getTagsList()
The list of instance tags applied to all nodes.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
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;
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;
java.util.List<java.lang.String> 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;
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;
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;
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;
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;
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;
int getMetadataCount()
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;
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;
@Deprecated java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadataMap()
instead.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;
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;
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;
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;
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;
int getLabelsCount()
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;
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;
@Deprecated java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap()
instead.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;
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;
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;
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;
java.util.List<java.lang.String> 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;