Interface AzureNodePoolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AzureNodePool
,AzureNodePool.Builder
public interface AzureNodePoolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Optional.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Optional.Map<String,String>
getAnnotationsMap()
Optional.String
getAnnotationsOrDefault(String key, String defaultValue)
Optional.String
getAnnotationsOrThrow(String key)
Optional.AzureNodePoolAutoscaling
getAutoscaling()
Required.AzureNodePoolAutoscalingOrBuilder
getAutoscalingOrBuilder()
Required.String
getAzureAvailabilityZone()
Optional.com.google.protobuf.ByteString
getAzureAvailabilityZoneBytes()
Optional.AzureNodeConfig
getConfig()
Required.AzureNodeConfigOrBuilder
getConfigOrBuilder()
Required.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.AzureNodePoolError
getErrors(int index)
Output only.int
getErrorsCount()
Output only.List<AzureNodePoolError>
getErrorsList()
Output only.AzureNodePoolErrorOrBuilder
getErrorsOrBuilder(int index)
Output only.List<? extends AzureNodePoolErrorOrBuilder>
getErrorsOrBuilderList()
Output only.String
getEtag()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.com.google.protobuf.ByteString
getEtagBytes()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.MaxPodsConstraint
getMaxPodsConstraint()
Required.MaxPodsConstraintOrBuilder
getMaxPodsConstraintOrBuilder()
Required.String
getName()
The name of this resource.com.google.protobuf.ByteString
getNameBytes()
The name of this resource.boolean
getReconciling()
Output only.AzureNodePool.State
getState()
Output only.int
getStateValue()
Output only.String
getSubnetId()
Required.com.google.protobuf.ByteString
getSubnetIdBytes()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getVersion()
Required.com.google.protobuf.ByteString
getVersionBytes()
Required.boolean
hasAutoscaling()
Required.boolean
hasConfig()
Required.boolean
hasCreateTime()
Output only.boolean
hasMaxPodsConstraint()
Required.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of this resource. Node pool names are formatted as `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`. For more details on Google Cloud resource names, see [Resource Names](https://cloud.google.com/apis/design/resource_names)
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of this resource. Node pool names are formatted as `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`. For more details on Google Cloud resource names, see [Resource Names](https://cloud.google.com/apis/design/resource_names)
string name = 1;
- Returns:
- The bytes for name.
-
getVersion
String getVersion()
Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for version.
-
hasConfig
boolean hasConfig()
Required. The node configuration of the node pool.
.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the config field is set.
-
getConfig
AzureNodeConfig getConfig()
Required. The node configuration of the node pool.
.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The config.
-
getConfigOrBuilder
AzureNodeConfigOrBuilder getConfigOrBuilder()
Required. The node configuration of the node pool.
.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
-
getSubnetId
String getSubnetId()
Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The subnetId.
-
getSubnetIdBytes
com.google.protobuf.ByteString getSubnetIdBytes()
Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for subnetId.
-
hasAutoscaling
boolean hasAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
AzureNodePoolAutoscaling getAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The autoscaling.
-
getAutoscalingOrBuilder
AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
-
getStateValue
int getStateValue()
Output only. The current state of the node pool.
.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
AzureNodePool.State getState()
Output only. The current state of the node pool.
.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getUid
String getUid()
Output only. A globally unique identifier for the node pool.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
Output only. A globally unique identifier for the node pool.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for uid.
-
getReconciling
boolean getReconciling()
Output only. If set, there are currently pending changes to the node pool.
bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The reconciling.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEtag
String getEtag()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12;
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12;
- Returns:
- The bytes for etag.
-
getAnnotationsCount
int getAnnotationsCount()
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
-
containsAnnotations
boolean containsAnnotations(String key)
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.
-
getAnnotationsMap
Map<String,String> getAnnotationsMap()
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
-
getAnnotationsOrDefault
String getAnnotationsOrDefault(String key, String defaultValue)
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
-
getAnnotationsOrThrow
String getAnnotationsOrThrow(String key)
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
-
hasMaxPodsConstraint
boolean hasMaxPodsConstraint()
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the maxPodsConstraint field is set.
-
getMaxPodsConstraint
MaxPodsConstraint getMaxPodsConstraint()
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The maxPodsConstraint.
-
getMaxPodsConstraintOrBuilder
MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
-
getAzureAvailabilityZone
String getAzureAvailabilityZone()
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.
string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The azureAvailabilityZone.
-
getAzureAvailabilityZoneBytes
com.google.protobuf.ByteString getAzureAvailabilityZoneBytes()
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.
string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for azureAvailabilityZone.
-
getErrorsList
List<AzureNodePoolError> getErrorsList()
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrors
AzureNodePoolError getErrors(int index)
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsCount
int getErrorsCount()
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilderList
List<? extends AzureNodePoolErrorOrBuilder> getErrorsOrBuilderList()
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorsOrBuilder
AzureNodePoolErrorOrBuilder getErrorsOrBuilder(int index)
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-