Class Cluster

  • All Implemented Interfaces:
    ClusterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Cluster
    extends com.google.protobuf.GeneratedMessageV3
    implements ClusterOrBuilder
     A Google Kubernetes Engine cluster.
     
    Protobuf type google.container.v1.Cluster
    See Also:
    Serialized Form
    • Field Detail

      • DESCRIPTION_FIELD_NUMBER

        public static final int DESCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INITIAL_NODE_COUNT_FIELD_NUMBER

        public static final int INITIAL_NODE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_CONFIG_FIELD_NUMBER

        public static final int NODE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MASTER_AUTH_FIELD_NUMBER

        public static final int MASTER_AUTH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOGGING_SERVICE_FIELD_NUMBER

        public static final int LOGGING_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MONITORING_SERVICE_FIELD_NUMBER

        public static final int MONITORING_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLUSTER_IPV4_CIDR_FIELD_NUMBER

        public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADDONS_CONFIG_FIELD_NUMBER

        public static final int ADDONS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBNETWORK_FIELD_NUMBER

        public static final int SUBNETWORK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_POOLS_FIELD_NUMBER

        public static final int NODE_POOLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER

        public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESOURCE_LABELS_FIELD_NUMBER

        public static final int RESOURCE_LABELS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LABEL_FINGERPRINT_FIELD_NUMBER

        public static final int LABEL_FINGERPRINT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LEGACY_ABAC_FIELD_NUMBER

        public static final int LEGACY_ABAC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NETWORK_POLICY_FIELD_NUMBER

        public static final int NETWORK_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IP_ALLOCATION_POLICY_FIELD_NUMBER

        public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER

        public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAINTENANCE_POLICY_FIELD_NUMBER

        public static final int MAINTENANCE_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BINARY_AUTHORIZATION_FIELD_NUMBER

        public static final int BINARY_AUTHORIZATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTOSCALING_FIELD_NUMBER

        public static final int AUTOSCALING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NETWORK_CONFIG_FIELD_NUMBER

        public static final int NETWORK_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER

        public static final int DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER

        public static final int RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER

        public static final int AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER

        public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATABASE_ENCRYPTION_FIELD_NUMBER

        public static final int DATABASE_ENCRYPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VERTICAL_POD_AUTOSCALING_FIELD_NUMBER

        public static final int VERTICAL_POD_AUTOSCALING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHIELDED_NODES_FIELD_NUMBER

        public static final int SHIELDED_NODES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RELEASE_CHANNEL_FIELD_NUMBER

        public static final int RELEASE_CHANNEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER

        public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MESH_CERTIFICATES_FIELD_NUMBER

        public static final int MESH_CERTIFICATES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COST_MANAGEMENT_CONFIG_FIELD_NUMBER

        public static final int COST_MANAGEMENT_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NOTIFICATION_CONFIG_FIELD_NUMBER

        public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONFIDENTIAL_NODES_FIELD_NUMBER

        public static final int CONFIDENTIAL_NODES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IDENTITY_SERVICE_CONFIG_FIELD_NUMBER

        public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INITIAL_CLUSTER_VERSION_FIELD_NUMBER

        public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENT_MASTER_VERSION_FIELD_NUMBER

        public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENT_NODE_VERSION_FIELD_NUMBER

        public static final int CURRENT_NODE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STATUS_MESSAGE_FIELD_NUMBER

        public static final int STATUS_MESSAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_IPV4_CIDR_SIZE_FIELD_NUMBER

        public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICES_IPV4_CIDR_FIELD_NUMBER

        public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INSTANCE_GROUP_URLS_FIELD_NUMBER

        public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENT_NODE_COUNT_FIELD_NUMBER

        public static final int CURRENT_NODE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPIRE_TIME_FIELD_NUMBER

        public static final int EXPIRE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_TPU_FIELD_NUMBER

        public static final int ENABLE_TPU_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER

        public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONDITIONS_FIELD_NUMBER

        public static final int CONDITIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_POOL_DEFAULTS_FIELD_NUMBER

        public static final int NODE_POOL_DEFAULTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOGGING_CONFIG_FIELD_NUMBER

        public static final int LOGGING_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MONITORING_CONFIG_FIELD_NUMBER

        public static final int MONITORING_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_POOL_AUTO_CONFIG_FIELD_NUMBER

        public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SECURITY_POSTURE_CONFIG_FIELD_NUMBER

        public static final int SECURITY_POSTURE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_K8S_BETA_APIS_FIELD_NUMBER

        public static final int ENABLE_K8S_BETA_APIS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         The name of this cluster. The name must be unique within this project
         and location (e.g. zone or region), and can be up to 40 characters with
         the following restrictions:
        
         * Lowercase letters, numbers, and hyphens only.
         * Must start with a letter.
         * Must end with a number or a letter.
         
        string name = 1;
        Specified by:
        getName in interface ClusterOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of this cluster. The name must be unique within this project
         and location (e.g. zone or region), and can be up to 40 characters with
         the following restrictions:
        
         * Lowercase letters, numbers, and hyphens only.
         * Must start with a letter.
         * Must end with a number or a letter.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ClusterOrBuilder
        Returns:
        The bytes for name.
      • getDescription

        public String getDescription()
         An optional description of this cluster.
         
        string description = 2;
        Specified by:
        getDescription in interface ClusterOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         An optional description of this cluster.
         
        string description = 2;
        Specified by:
        getDescriptionBytes in interface ClusterOrBuilder
        Returns:
        The bytes for description.
      • getInitialNodeCount

        @Deprecated
        public int getInitialNodeCount()
        Deprecated.
        google.container.v1.Cluster.initial_node_count is deprecated. See google/container/v1/cluster_service.proto;l=1668
         The number of nodes to create in this cluster. You must ensure that your
         Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
         is sufficient for this number of instances. You must also have available
         firewall and routes quota.
         For requests, this field should only be used in lieu of a
         "node_pool" object, since this configuration (along with the
         "node_config") will be used to create a "NodePool" object with an
         auto-generated name. Do not use this and a node_pool at the same time.
        
         This field is deprecated, use node_pool.initial_node_count instead.
         
        int32 initial_node_count = 3 [deprecated = true];
        Specified by:
        getInitialNodeCount in interface ClusterOrBuilder
        Returns:
        The initialNodeCount.
      • hasNodeConfig

        @Deprecated
        public boolean hasNodeConfig()
        Deprecated.
        google.container.v1.Cluster.node_config is deprecated. See google/container/v1/cluster_service.proto;l=1681
         Parameters used in creating the cluster's nodes.
         For requests, this field should only be used in lieu of a
         "node_pool" object, since this configuration (along with the
         "initial_node_count") will be used to create a "NodePool" object with an
         auto-generated name. Do not use this and a node_pool at the same time.
         For responses, this field will be populated with the node configuration of
         the first node pool. (For configuration of each node pool, see
         `node_pool.config`)
        
         If unspecified, the defaults are used.
         This field is deprecated, use node_pool.config instead.
         
        .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
        Specified by:
        hasNodeConfig in interface ClusterOrBuilder
        Returns:
        Whether the nodeConfig field is set.
      • getNodeConfig

        @Deprecated
        public NodeConfig getNodeConfig()
        Deprecated.
        google.container.v1.Cluster.node_config is deprecated. See google/container/v1/cluster_service.proto;l=1681
         Parameters used in creating the cluster's nodes.
         For requests, this field should only be used in lieu of a
         "node_pool" object, since this configuration (along with the
         "initial_node_count") will be used to create a "NodePool" object with an
         auto-generated name. Do not use this and a node_pool at the same time.
         For responses, this field will be populated with the node configuration of
         the first node pool. (For configuration of each node pool, see
         `node_pool.config`)
        
         If unspecified, the defaults are used.
         This field is deprecated, use node_pool.config instead.
         
        .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
        Specified by:
        getNodeConfig in interface ClusterOrBuilder
        Returns:
        The nodeConfig.
      • getNodeConfigOrBuilder

        @Deprecated
        public NodeConfigOrBuilder getNodeConfigOrBuilder()
        Deprecated.
         Parameters used in creating the cluster's nodes.
         For requests, this field should only be used in lieu of a
         "node_pool" object, since this configuration (along with the
         "initial_node_count") will be used to create a "NodePool" object with an
         auto-generated name. Do not use this and a node_pool at the same time.
         For responses, this field will be populated with the node configuration of
         the first node pool. (For configuration of each node pool, see
         `node_pool.config`)
        
         If unspecified, the defaults are used.
         This field is deprecated, use node_pool.config instead.
         
        .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
        Specified by:
        getNodeConfigOrBuilder in interface ClusterOrBuilder
      • hasMasterAuth

        public boolean hasMasterAuth()
         The authentication information for accessing the master endpoint.
         If unspecified, the defaults are used:
         For clusters before v1.12, if master_auth is unspecified, `username` will
         be set to "admin", a random password will be generated, and a client
         certificate will be issued.
         
        .google.container.v1.MasterAuth master_auth = 5;
        Specified by:
        hasMasterAuth in interface ClusterOrBuilder
        Returns:
        Whether the masterAuth field is set.
      • getMasterAuth

        public MasterAuth getMasterAuth()
         The authentication information for accessing the master endpoint.
         If unspecified, the defaults are used:
         For clusters before v1.12, if master_auth is unspecified, `username` will
         be set to "admin", a random password will be generated, and a client
         certificate will be issued.
         
        .google.container.v1.MasterAuth master_auth = 5;
        Specified by:
        getMasterAuth in interface ClusterOrBuilder
        Returns:
        The masterAuth.
      • getMasterAuthOrBuilder

        public MasterAuthOrBuilder getMasterAuthOrBuilder()
         The authentication information for accessing the master endpoint.
         If unspecified, the defaults are used:
         For clusters before v1.12, if master_auth is unspecified, `username` will
         be set to "admin", a random password will be generated, and a client
         certificate will be issued.
         
        .google.container.v1.MasterAuth master_auth = 5;
        Specified by:
        getMasterAuthOrBuilder in interface ClusterOrBuilder
      • getLoggingService

        public String getLoggingService()
         The logging service the cluster should use to write logs.
         Currently available options:
        
         * `logging.googleapis.com/kubernetes` - The Cloud Logging
         service with a Kubernetes-native resource model
         * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
           available as of GKE 1.15).
         * `none` - no logs will be exported from the cluster.
        
         If left as an empty string,`logging.googleapis.com/kubernetes` will be
         used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
         
        string logging_service = 6;
        Specified by:
        getLoggingService in interface ClusterOrBuilder
        Returns:
        The loggingService.
      • getLoggingServiceBytes

        public com.google.protobuf.ByteString getLoggingServiceBytes()
         The logging service the cluster should use to write logs.
         Currently available options:
        
         * `logging.googleapis.com/kubernetes` - The Cloud Logging
         service with a Kubernetes-native resource model
         * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
           available as of GKE 1.15).
         * `none` - no logs will be exported from the cluster.
        
         If left as an empty string,`logging.googleapis.com/kubernetes` will be
         used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
         
        string logging_service = 6;
        Specified by:
        getLoggingServiceBytes in interface ClusterOrBuilder
        Returns:
        The bytes for loggingService.
      • getMonitoringService

        public String getMonitoringService()
         The monitoring service the cluster should use to write metrics.
         Currently available options:
        
         * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
         service with a Kubernetes-native resource model
         * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
           longer available as of GKE 1.15).
         * `none` - No metrics will be exported from the cluster.
        
         If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
         used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
         
        string monitoring_service = 7;
        Specified by:
        getMonitoringService in interface ClusterOrBuilder
        Returns:
        The monitoringService.
      • getMonitoringServiceBytes

        public com.google.protobuf.ByteString getMonitoringServiceBytes()
         The monitoring service the cluster should use to write metrics.
         Currently available options:
        
         * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
         service with a Kubernetes-native resource model
         * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
           longer available as of GKE 1.15).
         * `none` - No metrics will be exported from the cluster.
        
         If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
         used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
         
        string monitoring_service = 7;
        Specified by:
        getMonitoringServiceBytes in interface ClusterOrBuilder
        Returns:
        The bytes for monitoringService.
      • getNetwork

        public String getNetwork()
         The name of the Google Compute Engine
         [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
         to which the cluster is connected. If left unspecified, the `default`
         network will be used.
         
        string network = 8;
        Specified by:
        getNetwork in interface ClusterOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public com.google.protobuf.ByteString getNetworkBytes()
         The name of the Google Compute Engine
         [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
         to which the cluster is connected. If left unspecified, the `default`
         network will be used.
         
        string network = 8;
        Specified by:
        getNetworkBytes in interface ClusterOrBuilder
        Returns:
        The bytes for network.
      • getClusterIpv4Cidr

        public String getClusterIpv4Cidr()
         The IP address range of the container pods in this cluster, in
         [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`). Leave blank to have
         one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
         
        string cluster_ipv4_cidr = 9;
        Specified by:
        getClusterIpv4Cidr in interface ClusterOrBuilder
        Returns:
        The clusterIpv4Cidr.
      • getClusterIpv4CidrBytes

        public com.google.protobuf.ByteString getClusterIpv4CidrBytes()
         The IP address range of the container pods in this cluster, in
         [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`). Leave blank to have
         one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
         
        string cluster_ipv4_cidr = 9;
        Specified by:
        getClusterIpv4CidrBytes in interface ClusterOrBuilder
        Returns:
        The bytes for clusterIpv4Cidr.
      • hasAddonsConfig

        public boolean hasAddonsConfig()
         Configurations for the various addons available to run in the cluster.
         
        .google.container.v1.AddonsConfig addons_config = 10;
        Specified by:
        hasAddonsConfig in interface ClusterOrBuilder
        Returns:
        Whether the addonsConfig field is set.
      • getAddonsConfig

        public AddonsConfig getAddonsConfig()
         Configurations for the various addons available to run in the cluster.
         
        .google.container.v1.AddonsConfig addons_config = 10;
        Specified by:
        getAddonsConfig in interface ClusterOrBuilder
        Returns:
        The addonsConfig.
      • getSubnetwork

        public String getSubnetwork()
         The name of the Google Compute Engine
         [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
         the cluster is connected.
         
        string subnetwork = 11;
        Specified by:
        getSubnetwork in interface ClusterOrBuilder
        Returns:
        The subnetwork.
      • getSubnetworkBytes

        public com.google.protobuf.ByteString getSubnetworkBytes()
         The name of the Google Compute Engine
         [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
         the cluster is connected.
         
        string subnetwork = 11;
        Specified by:
        getSubnetworkBytes in interface ClusterOrBuilder
        Returns:
        The bytes for subnetwork.
      • getNodePoolsList

        public List<NodePool> getNodePoolsList()
         The node pools associated with this cluster.
         This field should not be set if "node_config" or "initial_node_count" are
         specified.
         
        repeated .google.container.v1.NodePool node_pools = 12;
        Specified by:
        getNodePoolsList in interface ClusterOrBuilder
      • getNodePoolsOrBuilderList

        public List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()
         The node pools associated with this cluster.
         This field should not be set if "node_config" or "initial_node_count" are
         specified.
         
        repeated .google.container.v1.NodePool node_pools = 12;
        Specified by:
        getNodePoolsOrBuilderList in interface ClusterOrBuilder
      • getNodePoolsCount

        public int getNodePoolsCount()
         The node pools associated with this cluster.
         This field should not be set if "node_config" or "initial_node_count" are
         specified.
         
        repeated .google.container.v1.NodePool node_pools = 12;
        Specified by:
        getNodePoolsCount in interface ClusterOrBuilder
      • getNodePools

        public NodePool getNodePools​(int index)
         The node pools associated with this cluster.
         This field should not be set if "node_config" or "initial_node_count" are
         specified.
         
        repeated .google.container.v1.NodePool node_pools = 12;
        Specified by:
        getNodePools in interface ClusterOrBuilder
      • getNodePoolsOrBuilder

        public NodePoolOrBuilder getNodePoolsOrBuilder​(int index)
         The node pools associated with this cluster.
         This field should not be set if "node_config" or "initial_node_count" are
         specified.
         
        repeated .google.container.v1.NodePool node_pools = 12;
        Specified by:
        getNodePoolsOrBuilder in interface ClusterOrBuilder
      • getLocationsList

        public com.google.protobuf.ProtocolStringList getLocationsList()
         The list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located.
        
         This field provides a default value if
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         are not specified during node pool creation.
        
         Warning: changing cluster locations will update the
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         of all node pools and will result in nodes being added and/or removed.
         
        repeated string locations = 13;
        Specified by:
        getLocationsList in interface ClusterOrBuilder
        Returns:
        A list containing the locations.
      • getLocationsCount

        public int getLocationsCount()
         The list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located.
        
         This field provides a default value if
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         are not specified during node pool creation.
        
         Warning: changing cluster locations will update the
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         of all node pools and will result in nodes being added and/or removed.
         
        repeated string locations = 13;
        Specified by:
        getLocationsCount in interface ClusterOrBuilder
        Returns:
        The count of locations.
      • getLocations

        public String getLocations​(int index)
         The list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located.
        
         This field provides a default value if
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         are not specified during node pool creation.
        
         Warning: changing cluster locations will update the
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         of all node pools and will result in nodes being added and/or removed.
         
        repeated string locations = 13;
        Specified by:
        getLocations in interface ClusterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The locations at the given index.
      • getLocationsBytes

        public com.google.protobuf.ByteString getLocationsBytes​(int index)
         The list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located.
        
         This field provides a default value if
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         are not specified during node pool creation.
        
         Warning: changing cluster locations will update the
         [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
         of all node pools and will result in nodes being added and/or removed.
         
        repeated string locations = 13;
        Specified by:
        getLocationsBytes in interface ClusterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the locations at the given index.
      • getEnableKubernetesAlpha

        public boolean getEnableKubernetesAlpha()
         Kubernetes alpha features are enabled on this cluster. This includes alpha
         API groups (e.g. v1alpha1) and features that may not be production ready in
         the kubernetes version of the master and nodes.
         The cluster has no SLA for uptime and master/node upgrades are disabled.
         Alpha enabled clusters are automatically deleted thirty days after
         creation.
         
        bool enable_kubernetes_alpha = 14;
        Specified by:
        getEnableKubernetesAlpha in interface ClusterOrBuilder
        Returns:
        The enableKubernetesAlpha.
      • getResourceLabelsCount

        public int getResourceLabelsCount()
        Description copied from interface: ClusterOrBuilder
         The resource labels for the cluster to use to annotate any related
         Google Compute Engine resources.
         
        map<string, string> resource_labels = 15;
        Specified by:
        getResourceLabelsCount in interface ClusterOrBuilder
      • containsResourceLabels

        public boolean containsResourceLabels​(String key)
         The resource labels for the cluster to use to annotate any related
         Google Compute Engine resources.
         
        map<string, string> resource_labels = 15;
        Specified by:
        containsResourceLabels in interface ClusterOrBuilder
      • getResourceLabelsMap

        public Map<String,​String> getResourceLabelsMap()
         The resource labels for the cluster to use to annotate any related
         Google Compute Engine resources.
         
        map<string, string> resource_labels = 15;
        Specified by:
        getResourceLabelsMap in interface ClusterOrBuilder
      • getResourceLabelsOrDefault

        public String getResourceLabelsOrDefault​(String key,
                                                 String defaultValue)
         The resource labels for the cluster to use to annotate any related
         Google Compute Engine resources.
         
        map<string, string> resource_labels = 15;
        Specified by:
        getResourceLabelsOrDefault in interface ClusterOrBuilder
      • getResourceLabelsOrThrow

        public String getResourceLabelsOrThrow​(String key)
         The resource labels for the cluster to use to annotate any related
         Google Compute Engine resources.
         
        map<string, string> resource_labels = 15;
        Specified by:
        getResourceLabelsOrThrow in interface ClusterOrBuilder
      • getLabelFingerprint

        public String getLabelFingerprint()
         The fingerprint of the set of labels for this cluster.
         
        string label_fingerprint = 16;
        Specified by:
        getLabelFingerprint in interface ClusterOrBuilder
        Returns:
        The labelFingerprint.
      • getLabelFingerprintBytes

        public com.google.protobuf.ByteString getLabelFingerprintBytes()
         The fingerprint of the set of labels for this cluster.
         
        string label_fingerprint = 16;
        Specified by:
        getLabelFingerprintBytes in interface ClusterOrBuilder
        Returns:
        The bytes for labelFingerprint.
      • hasLegacyAbac

        public boolean hasLegacyAbac()
         Configuration for the legacy ABAC authorization mode.
         
        .google.container.v1.LegacyAbac legacy_abac = 18;
        Specified by:
        hasLegacyAbac in interface ClusterOrBuilder
        Returns:
        Whether the legacyAbac field is set.
      • getLegacyAbac

        public LegacyAbac getLegacyAbac()
         Configuration for the legacy ABAC authorization mode.
         
        .google.container.v1.LegacyAbac legacy_abac = 18;
        Specified by:
        getLegacyAbac in interface ClusterOrBuilder
        Returns:
        The legacyAbac.
      • hasNetworkPolicy

        public boolean hasNetworkPolicy()
         Configuration options for the NetworkPolicy feature.
         
        .google.container.v1.NetworkPolicy network_policy = 19;
        Specified by:
        hasNetworkPolicy in interface ClusterOrBuilder
        Returns:
        Whether the networkPolicy field is set.
      • getNetworkPolicy

        public NetworkPolicy getNetworkPolicy()
         Configuration options for the NetworkPolicy feature.
         
        .google.container.v1.NetworkPolicy network_policy = 19;
        Specified by:
        getNetworkPolicy in interface ClusterOrBuilder
        Returns:
        The networkPolicy.
      • hasIpAllocationPolicy

        public boolean hasIpAllocationPolicy()
         Configuration for cluster IP allocation.
         
        .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;
        Specified by:
        hasIpAllocationPolicy in interface ClusterOrBuilder
        Returns:
        Whether the ipAllocationPolicy field is set.
      • getIpAllocationPolicy

        public IPAllocationPolicy getIpAllocationPolicy()
         Configuration for cluster IP allocation.
         
        .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;
        Specified by:
        getIpAllocationPolicy in interface ClusterOrBuilder
        Returns:
        The ipAllocationPolicy.
      • hasMasterAuthorizedNetworksConfig

        public boolean hasMasterAuthorizedNetworksConfig()
         The configuration options for master authorized networks feature.
         
        .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;
        Specified by:
        hasMasterAuthorizedNetworksConfig in interface ClusterOrBuilder
        Returns:
        Whether the masterAuthorizedNetworksConfig field is set.
      • hasMaintenancePolicy

        public boolean hasMaintenancePolicy()
         Configure the maintenance policy for this cluster.
         
        .google.container.v1.MaintenancePolicy maintenance_policy = 23;
        Specified by:
        hasMaintenancePolicy in interface ClusterOrBuilder
        Returns:
        Whether the maintenancePolicy field is set.
      • getMaintenancePolicy

        public MaintenancePolicy getMaintenancePolicy()
         Configure the maintenance policy for this cluster.
         
        .google.container.v1.MaintenancePolicy maintenance_policy = 23;
        Specified by:
        getMaintenancePolicy in interface ClusterOrBuilder
        Returns:
        The maintenancePolicy.
      • hasBinaryAuthorization

        public boolean hasBinaryAuthorization()
         Configuration for Binary Authorization.
         
        .google.container.v1.BinaryAuthorization binary_authorization = 24;
        Specified by:
        hasBinaryAuthorization in interface ClusterOrBuilder
        Returns:
        Whether the binaryAuthorization field is set.
      • getBinaryAuthorization

        public BinaryAuthorization getBinaryAuthorization()
         Configuration for Binary Authorization.
         
        .google.container.v1.BinaryAuthorization binary_authorization = 24;
        Specified by:
        getBinaryAuthorization in interface ClusterOrBuilder
        Returns:
        The binaryAuthorization.
      • hasAutoscaling

        public boolean hasAutoscaling()
         Cluster-level autoscaling configuration.
         
        .google.container.v1.ClusterAutoscaling autoscaling = 26;
        Specified by:
        hasAutoscaling in interface ClusterOrBuilder
        Returns:
        Whether the autoscaling field is set.
      • getAutoscaling

        public ClusterAutoscaling getAutoscaling()
         Cluster-level autoscaling configuration.
         
        .google.container.v1.ClusterAutoscaling autoscaling = 26;
        Specified by:
        getAutoscaling in interface ClusterOrBuilder
        Returns:
        The autoscaling.
      • hasNetworkConfig

        public boolean hasNetworkConfig()
         Configuration for cluster networking.
         
        .google.container.v1.NetworkConfig network_config = 27;
        Specified by:
        hasNetworkConfig in interface ClusterOrBuilder
        Returns:
        Whether the networkConfig field is set.
      • getNetworkConfig

        public NetworkConfig getNetworkConfig()
         Configuration for cluster networking.
         
        .google.container.v1.NetworkConfig network_config = 27;
        Specified by:
        getNetworkConfig in interface ClusterOrBuilder
        Returns:
        The networkConfig.
      • hasDefaultMaxPodsConstraint

        public boolean hasDefaultMaxPodsConstraint()
         The default constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool of this cluster. Only honored
         if cluster created with IP Alias support.
         
        .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
        Specified by:
        hasDefaultMaxPodsConstraint in interface ClusterOrBuilder
        Returns:
        Whether the defaultMaxPodsConstraint field is set.
      • getDefaultMaxPodsConstraint

        public MaxPodsConstraint getDefaultMaxPodsConstraint()
         The default constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool of this cluster. Only honored
         if cluster created with IP Alias support.
         
        .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
        Specified by:
        getDefaultMaxPodsConstraint in interface ClusterOrBuilder
        Returns:
        The defaultMaxPodsConstraint.
      • getDefaultMaxPodsConstraintOrBuilder

        public MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder()
         The default constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool of this cluster. Only honored
         if cluster created with IP Alias support.
         
        .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
        Specified by:
        getDefaultMaxPodsConstraintOrBuilder in interface ClusterOrBuilder
      • hasResourceUsageExportConfig

        public boolean hasResourceUsageExportConfig()
         Configuration for exporting resource usages. Resource usage export is
         disabled when this config is unspecified.
         
        .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;
        Specified by:
        hasResourceUsageExportConfig in interface ClusterOrBuilder
        Returns:
        Whether the resourceUsageExportConfig field is set.
      • getResourceUsageExportConfig

        public ResourceUsageExportConfig getResourceUsageExportConfig()
         Configuration for exporting resource usages. Resource usage export is
         disabled when this config is unspecified.
         
        .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;
        Specified by:
        getResourceUsageExportConfig in interface ClusterOrBuilder
        Returns:
        The resourceUsageExportConfig.
      • hasAuthenticatorGroupsConfig

        public boolean hasAuthenticatorGroupsConfig()
         Configuration controlling RBAC group membership information.
         
        .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34;
        Specified by:
        hasAuthenticatorGroupsConfig in interface ClusterOrBuilder
        Returns:
        Whether the authenticatorGroupsConfig field is set.
      • getAuthenticatorGroupsConfig

        public AuthenticatorGroupsConfig getAuthenticatorGroupsConfig()
         Configuration controlling RBAC group membership information.
         
        .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34;
        Specified by:
        getAuthenticatorGroupsConfig in interface ClusterOrBuilder
        Returns:
        The authenticatorGroupsConfig.
      • hasPrivateClusterConfig

        public boolean hasPrivateClusterConfig()
         Configuration for private cluster.
         
        .google.container.v1.PrivateClusterConfig private_cluster_config = 37;
        Specified by:
        hasPrivateClusterConfig in interface ClusterOrBuilder
        Returns:
        Whether the privateClusterConfig field is set.
      • hasDatabaseEncryption

        public boolean hasDatabaseEncryption()
         Configuration of etcd encryption.
         
        .google.container.v1.DatabaseEncryption database_encryption = 38;
        Specified by:
        hasDatabaseEncryption in interface ClusterOrBuilder
        Returns:
        Whether the databaseEncryption field is set.
      • getDatabaseEncryption

        public DatabaseEncryption getDatabaseEncryption()
         Configuration of etcd encryption.
         
        .google.container.v1.DatabaseEncryption database_encryption = 38;
        Specified by:
        getDatabaseEncryption in interface ClusterOrBuilder
        Returns:
        The databaseEncryption.
      • hasVerticalPodAutoscaling

        public boolean hasVerticalPodAutoscaling()
         Cluster-level Vertical Pod Autoscaling configuration.
         
        .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39;
        Specified by:
        hasVerticalPodAutoscaling in interface ClusterOrBuilder
        Returns:
        Whether the verticalPodAutoscaling field is set.
      • getVerticalPodAutoscaling

        public VerticalPodAutoscaling getVerticalPodAutoscaling()
         Cluster-level Vertical Pod Autoscaling configuration.
         
        .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39;
        Specified by:
        getVerticalPodAutoscaling in interface ClusterOrBuilder
        Returns:
        The verticalPodAutoscaling.
      • hasShieldedNodes

        public boolean hasShieldedNodes()
         Shielded Nodes configuration.
         
        .google.container.v1.ShieldedNodes shielded_nodes = 40;
        Specified by:
        hasShieldedNodes in interface ClusterOrBuilder
        Returns:
        Whether the shieldedNodes field is set.
      • getShieldedNodes

        public ShieldedNodes getShieldedNodes()
         Shielded Nodes configuration.
         
        .google.container.v1.ShieldedNodes shielded_nodes = 40;
        Specified by:
        getShieldedNodes in interface ClusterOrBuilder
        Returns:
        The shieldedNodes.
      • hasReleaseChannel

        public boolean hasReleaseChannel()
         Release channel configuration. If left unspecified on cluster creation and
         a version is specified, the cluster is enrolled in the most mature release
         channel where the version is available (first checking STABLE, then
         REGULAR, and finally RAPID). Otherwise, if no release channel
         configuration and no version is specified, the cluster is enrolled in the
         REGULAR channel with its default version.
         
        .google.container.v1.ReleaseChannel release_channel = 41;
        Specified by:
        hasReleaseChannel in interface ClusterOrBuilder
        Returns:
        Whether the releaseChannel field is set.
      • getReleaseChannel

        public ReleaseChannel getReleaseChannel()
         Release channel configuration. If left unspecified on cluster creation and
         a version is specified, the cluster is enrolled in the most mature release
         channel where the version is available (first checking STABLE, then
         REGULAR, and finally RAPID). Otherwise, if no release channel
         configuration and no version is specified, the cluster is enrolled in the
         REGULAR channel with its default version.
         
        .google.container.v1.ReleaseChannel release_channel = 41;
        Specified by:
        getReleaseChannel in interface ClusterOrBuilder
        Returns:
        The releaseChannel.
      • getReleaseChannelOrBuilder

        public ReleaseChannelOrBuilder getReleaseChannelOrBuilder()
         Release channel configuration. If left unspecified on cluster creation and
         a version is specified, the cluster is enrolled in the most mature release
         channel where the version is available (first checking STABLE, then
         REGULAR, and finally RAPID). Otherwise, if no release channel
         configuration and no version is specified, the cluster is enrolled in the
         REGULAR channel with its default version.
         
        .google.container.v1.ReleaseChannel release_channel = 41;
        Specified by:
        getReleaseChannelOrBuilder in interface ClusterOrBuilder
      • hasWorkloadIdentityConfig

        public boolean hasWorkloadIdentityConfig()
         Configuration for the use of Kubernetes Service Accounts in GCP IAM
         policies.
         
        .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
        Specified by:
        hasWorkloadIdentityConfig in interface ClusterOrBuilder
        Returns:
        Whether the workloadIdentityConfig field is set.
      • getWorkloadIdentityConfig

        public WorkloadIdentityConfig getWorkloadIdentityConfig()
         Configuration for the use of Kubernetes Service Accounts in GCP IAM
         policies.
         
        .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
        Specified by:
        getWorkloadIdentityConfig in interface ClusterOrBuilder
        Returns:
        The workloadIdentityConfig.
      • hasMeshCertificates

        public boolean hasMeshCertificates()
         Configuration for issuance of mTLS keys and certificates to Kubernetes
         pods.
         
        .google.container.v1.MeshCertificates mesh_certificates = 67;
        Specified by:
        hasMeshCertificates in interface ClusterOrBuilder
        Returns:
        Whether the meshCertificates field is set.
      • getMeshCertificates

        public MeshCertificates getMeshCertificates()
         Configuration for issuance of mTLS keys and certificates to Kubernetes
         pods.
         
        .google.container.v1.MeshCertificates mesh_certificates = 67;
        Specified by:
        getMeshCertificates in interface ClusterOrBuilder
        Returns:
        The meshCertificates.
      • hasCostManagementConfig

        public boolean hasCostManagementConfig()
         Configuration for the fine-grained cost management feature.
         
        .google.container.v1.CostManagementConfig cost_management_config = 45;
        Specified by:
        hasCostManagementConfig in interface ClusterOrBuilder
        Returns:
        Whether the costManagementConfig field is set.
      • getCostManagementConfig

        public CostManagementConfig getCostManagementConfig()
         Configuration for the fine-grained cost management feature.
         
        .google.container.v1.CostManagementConfig cost_management_config = 45;
        Specified by:
        getCostManagementConfig in interface ClusterOrBuilder
        Returns:
        The costManagementConfig.
      • hasNotificationConfig

        public boolean hasNotificationConfig()
         Notification configuration of the cluster.
         
        .google.container.v1.NotificationConfig notification_config = 49;
        Specified by:
        hasNotificationConfig in interface ClusterOrBuilder
        Returns:
        Whether the notificationConfig field is set.
      • getNotificationConfig

        public NotificationConfig getNotificationConfig()
         Notification configuration of the cluster.
         
        .google.container.v1.NotificationConfig notification_config = 49;
        Specified by:
        getNotificationConfig in interface ClusterOrBuilder
        Returns:
        The notificationConfig.
      • hasConfidentialNodes

        public boolean hasConfidentialNodes()
         Configuration of Confidential Nodes.
         All the nodes in the cluster will be Confidential VM once enabled.
         
        .google.container.v1.ConfidentialNodes confidential_nodes = 50;
        Specified by:
        hasConfidentialNodes in interface ClusterOrBuilder
        Returns:
        Whether the confidentialNodes field is set.
      • getConfidentialNodes

        public ConfidentialNodes getConfidentialNodes()
         Configuration of Confidential Nodes.
         All the nodes in the cluster will be Confidential VM once enabled.
         
        .google.container.v1.ConfidentialNodes confidential_nodes = 50;
        Specified by:
        getConfidentialNodes in interface ClusterOrBuilder
        Returns:
        The confidentialNodes.
      • hasIdentityServiceConfig

        public boolean hasIdentityServiceConfig()
         Configuration for Identity Service component.
         
        .google.container.v1.IdentityServiceConfig identity_service_config = 54;
        Specified by:
        hasIdentityServiceConfig in interface ClusterOrBuilder
        Returns:
        Whether the identityServiceConfig field is set.
      • getIdentityServiceConfig

        public IdentityServiceConfig getIdentityServiceConfig()
         Configuration for Identity Service component.
         
        .google.container.v1.IdentityServiceConfig identity_service_config = 54;
        Specified by:
        getIdentityServiceConfig in interface ClusterOrBuilder
        Returns:
        The identityServiceConfig.
      • getSelfLink

        public String getSelfLink()
         [Output only] Server-defined URL for the resource.
         
        string self_link = 100;
        Specified by:
        getSelfLink in interface ClusterOrBuilder
        Returns:
        The selfLink.
      • getSelfLinkBytes

        public com.google.protobuf.ByteString getSelfLinkBytes()
         [Output only] Server-defined URL for the resource.
         
        string self_link = 100;
        Specified by:
        getSelfLinkBytes in interface ClusterOrBuilder
        Returns:
        The bytes for selfLink.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1.Cluster.zone is deprecated. See google/container/v1/cluster_service.proto;l=1852
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field is deprecated, use location instead.
         
        string zone = 101 [deprecated = true];
        Specified by:
        getZone in interface ClusterOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1.Cluster.zone is deprecated. See google/container/v1/cluster_service.proto;l=1852
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field is deprecated, use location instead.
         
        string zone = 101 [deprecated = true];
        Specified by:
        getZoneBytes in interface ClusterOrBuilder
        Returns:
        The bytes for zone.
      • getEndpoint

        public String getEndpoint()
         [Output only] The IP address of this cluster's master endpoint.
         The endpoint can be accessed from the internet at
         `https://username:password@endpoint/`.
        
         See the `masterAuth` property of this resource for username and
         password information.
         
        string endpoint = 102;
        Specified by:
        getEndpoint in interface ClusterOrBuilder
        Returns:
        The endpoint.
      • getEndpointBytes

        public com.google.protobuf.ByteString getEndpointBytes()
         [Output only] The IP address of this cluster's master endpoint.
         The endpoint can be accessed from the internet at
         `https://username:password@endpoint/`.
        
         See the `masterAuth` property of this resource for username and
         password information.
         
        string endpoint = 102;
        Specified by:
        getEndpointBytes in interface ClusterOrBuilder
        Returns:
        The bytes for endpoint.
      • getInitialClusterVersion

        public String getInitialClusterVersion()
         The initial Kubernetes version for this cluster.  Valid versions are those
         found in validMasterVersions returned by getServerConfig.  The version can
         be upgraded over time; such upgrades are reflected in
         currentMasterVersion and currentNodeVersion.
        
         Users may specify either explicit versions offered by
         Kubernetes Engine or version aliases, which have the following behavior:
        
         - "latest": picks the highest valid Kubernetes version
         - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
         - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
         - "1.X.Y-gke.N": picks an explicit Kubernetes version
         - "","-": picks the default Kubernetes version
         
        string initial_cluster_version = 103;
        Specified by:
        getInitialClusterVersion in interface ClusterOrBuilder
        Returns:
        The initialClusterVersion.
      • getInitialClusterVersionBytes

        public com.google.protobuf.ByteString getInitialClusterVersionBytes()
         The initial Kubernetes version for this cluster.  Valid versions are those
         found in validMasterVersions returned by getServerConfig.  The version can
         be upgraded over time; such upgrades are reflected in
         currentMasterVersion and currentNodeVersion.
        
         Users may specify either explicit versions offered by
         Kubernetes Engine or version aliases, which have the following behavior:
        
         - "latest": picks the highest valid Kubernetes version
         - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
         - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
         - "1.X.Y-gke.N": picks an explicit Kubernetes version
         - "","-": picks the default Kubernetes version
         
        string initial_cluster_version = 103;
        Specified by:
        getInitialClusterVersionBytes in interface ClusterOrBuilder
        Returns:
        The bytes for initialClusterVersion.
      • getCurrentMasterVersion

        public String getCurrentMasterVersion()
         [Output only] The current software version of the master endpoint.
         
        string current_master_version = 104;
        Specified by:
        getCurrentMasterVersion in interface ClusterOrBuilder
        Returns:
        The currentMasterVersion.
      • getCurrentMasterVersionBytes

        public com.google.protobuf.ByteString getCurrentMasterVersionBytes()
         [Output only] The current software version of the master endpoint.
         
        string current_master_version = 104;
        Specified by:
        getCurrentMasterVersionBytes in interface ClusterOrBuilder
        Returns:
        The bytes for currentMasterVersion.
      • getCurrentNodeVersion

        @Deprecated
        public String getCurrentNodeVersion()
        Deprecated.
        google.container.v1.Cluster.current_node_version is deprecated. See google/container/v1/cluster_service.proto;l=1885
         [Output only] Deprecated, use
         [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
         instead. The current version of the node software components. If they are
         currently at multiple versions because they're in the process of being
         upgraded, this reflects the minimum version of all nodes.
         
        string current_node_version = 105 [deprecated = true];
        Specified by:
        getCurrentNodeVersion in interface ClusterOrBuilder
        Returns:
        The currentNodeVersion.
      • getCurrentNodeVersionBytes

        @Deprecated
        public com.google.protobuf.ByteString getCurrentNodeVersionBytes()
        Deprecated.
        google.container.v1.Cluster.current_node_version is deprecated. See google/container/v1/cluster_service.proto;l=1885
         [Output only] Deprecated, use
         [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
         instead. The current version of the node software components. If they are
         currently at multiple versions because they're in the process of being
         upgraded, this reflects the minimum version of all nodes.
         
        string current_node_version = 105 [deprecated = true];
        Specified by:
        getCurrentNodeVersionBytes in interface ClusterOrBuilder
        Returns:
        The bytes for currentNodeVersion.
      • getCreateTime

        public String getCreateTime()
         [Output only] The time the cluster was created, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string create_time = 106;
        Specified by:
        getCreateTime in interface ClusterOrBuilder
        Returns:
        The createTime.
      • getCreateTimeBytes

        public com.google.protobuf.ByteString getCreateTimeBytes()
         [Output only] The time the cluster was created, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string create_time = 106;
        Specified by:
        getCreateTimeBytes in interface ClusterOrBuilder
        Returns:
        The bytes for createTime.
      • getStatusValue

        public int getStatusValue()
         [Output only] The current status of this cluster.
         
        .google.container.v1.Cluster.Status status = 107;
        Specified by:
        getStatusValue in interface ClusterOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        public Cluster.Status getStatus()
         [Output only] The current status of this cluster.
         
        .google.container.v1.Cluster.Status status = 107;
        Specified by:
        getStatus in interface ClusterOrBuilder
        Returns:
        The status.
      • getStatusMessage

        @Deprecated
        public String getStatusMessage()
        Deprecated.
        google.container.v1.Cluster.status_message is deprecated. See google/container/v1/cluster_service.proto;l=1897
         [Output only] Deprecated. Use conditions instead.
         Additional information about the current status of this
         cluster, if available.
         
        string status_message = 108 [deprecated = true];
        Specified by:
        getStatusMessage in interface ClusterOrBuilder
        Returns:
        The statusMessage.
      • getStatusMessageBytes

        @Deprecated
        public com.google.protobuf.ByteString getStatusMessageBytes()
        Deprecated.
        google.container.v1.Cluster.status_message is deprecated. See google/container/v1/cluster_service.proto;l=1897
         [Output only] Deprecated. Use conditions instead.
         Additional information about the current status of this
         cluster, if available.
         
        string status_message = 108 [deprecated = true];
        Specified by:
        getStatusMessageBytes in interface ClusterOrBuilder
        Returns:
        The bytes for statusMessage.
      • getNodeIpv4CidrSize

        public int getNodeIpv4CidrSize()
         [Output only] The size of the address space on each node for hosting
         containers. This is provisioned from within the `container_ipv4_cidr`
         range. This field will only be set when cluster is in route-based network
         mode.
         
        int32 node_ipv4_cidr_size = 109;
        Specified by:
        getNodeIpv4CidrSize in interface ClusterOrBuilder
        Returns:
        The nodeIpv4CidrSize.
      • getServicesIpv4Cidr

        public String getServicesIpv4Cidr()
         [Output only] The IP address range of the Kubernetes services in
         this cluster, in
         [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `1.2.3.4/29`). Service addresses are
         typically put in the last `/16` from the container CIDR.
         
        string services_ipv4_cidr = 110;
        Specified by:
        getServicesIpv4Cidr in interface ClusterOrBuilder
        Returns:
        The servicesIpv4Cidr.
      • getServicesIpv4CidrBytes

        public com.google.protobuf.ByteString getServicesIpv4CidrBytes()
         [Output only] The IP address range of the Kubernetes services in
         this cluster, in
         [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `1.2.3.4/29`). Service addresses are
         typically put in the last `/16` from the container CIDR.
         
        string services_ipv4_cidr = 110;
        Specified by:
        getServicesIpv4CidrBytes in interface ClusterOrBuilder
        Returns:
        The bytes for servicesIpv4Cidr.
      • getInstanceGroupUrlsList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList()
        Deprecated.
        google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913
         Deprecated. Use node_pools.instance_group_urls.
         
        repeated string instance_group_urls = 111 [deprecated = true];
        Specified by:
        getInstanceGroupUrlsList in interface ClusterOrBuilder
        Returns:
        A list containing the instanceGroupUrls.
      • getInstanceGroupUrlsCount

        @Deprecated
        public int getInstanceGroupUrlsCount()
        Deprecated.
        google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913
         Deprecated. Use node_pools.instance_group_urls.
         
        repeated string instance_group_urls = 111 [deprecated = true];
        Specified by:
        getInstanceGroupUrlsCount in interface ClusterOrBuilder
        Returns:
        The count of instanceGroupUrls.
      • getInstanceGroupUrls

        @Deprecated
        public String getInstanceGroupUrls​(int index)
        Deprecated.
        google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913
         Deprecated. Use node_pools.instance_group_urls.
         
        repeated string instance_group_urls = 111 [deprecated = true];
        Specified by:
        getInstanceGroupUrls in interface ClusterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The instanceGroupUrls at the given index.
      • getInstanceGroupUrlsBytes

        @Deprecated
        public com.google.protobuf.ByteString getInstanceGroupUrlsBytes​(int index)
        Deprecated.
        google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913
         Deprecated. Use node_pools.instance_group_urls.
         
        repeated string instance_group_urls = 111 [deprecated = true];
        Specified by:
        getInstanceGroupUrlsBytes in interface ClusterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the instanceGroupUrls at the given index.
      • getCurrentNodeCount

        @Deprecated
        public int getCurrentNodeCount()
        Deprecated.
        google.container.v1.Cluster.current_node_count is deprecated. See google/container/v1/cluster_service.proto;l=1917
         [Output only]  The number of nodes currently in the cluster. Deprecated.
         Call Kubernetes API directly to retrieve node information.
         
        int32 current_node_count = 112 [deprecated = true];
        Specified by:
        getCurrentNodeCount in interface ClusterOrBuilder
        Returns:
        The currentNodeCount.
      • getExpireTime

        public String getExpireTime()
         [Output only] The time the cluster will be automatically
         deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string expire_time = 113;
        Specified by:
        getExpireTime in interface ClusterOrBuilder
        Returns:
        The expireTime.
      • getExpireTimeBytes

        public com.google.protobuf.ByteString getExpireTimeBytes()
         [Output only] The time the cluster will be automatically
         deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string expire_time = 113;
        Specified by:
        getExpireTimeBytes in interface ClusterOrBuilder
        Returns:
        The bytes for expireTime.
      • getLocation

        public String getLocation()
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 114;
        Specified by:
        getLocation in interface ClusterOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 114;
        Specified by:
        getLocationBytes in interface ClusterOrBuilder
        Returns:
        The bytes for location.
      • getEnableTpu

        public boolean getEnableTpu()
         Enable the ability to use Cloud TPUs in this cluster.
         
        bool enable_tpu = 115;
        Specified by:
        getEnableTpu in interface ClusterOrBuilder
        Returns:
        The enableTpu.
      • getTpuIpv4CidrBlock

        public String getTpuIpv4CidrBlock()
         [Output only] The IP address range of the Cloud TPUs in this cluster, in
         [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `1.2.3.4/29`).
         
        string tpu_ipv4_cidr_block = 116;
        Specified by:
        getTpuIpv4CidrBlock in interface ClusterOrBuilder
        Returns:
        The tpuIpv4CidrBlock.
      • getTpuIpv4CidrBlockBytes

        public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes()
         [Output only] The IP address range of the Cloud TPUs in this cluster, in
         [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `1.2.3.4/29`).
         
        string tpu_ipv4_cidr_block = 116;
        Specified by:
        getTpuIpv4CidrBlockBytes in interface ClusterOrBuilder
        Returns:
        The bytes for tpuIpv4CidrBlock.
      • getConditionsCount

        public int getConditionsCount()
         Which conditions caused the current cluster state.
         
        repeated .google.container.v1.StatusCondition conditions = 118;
        Specified by:
        getConditionsCount in interface ClusterOrBuilder
      • getConditions

        public StatusCondition getConditions​(int index)
         Which conditions caused the current cluster state.
         
        repeated .google.container.v1.StatusCondition conditions = 118;
        Specified by:
        getConditions in interface ClusterOrBuilder
      • hasAutopilot

        public boolean hasAutopilot()
         Autopilot configuration for the cluster.
         
        .google.container.v1.Autopilot autopilot = 128;
        Specified by:
        hasAutopilot in interface ClusterOrBuilder
        Returns:
        Whether the autopilot field is set.
      • getAutopilot

        public Autopilot getAutopilot()
         Autopilot configuration for the cluster.
         
        .google.container.v1.Autopilot autopilot = 128;
        Specified by:
        getAutopilot in interface ClusterOrBuilder
        Returns:
        The autopilot.
      • getId

        public String getId()
         Output only. Unique id for the cluster.
         
        string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface ClusterOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Output only. Unique id for the cluster.
         
        string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIdBytes in interface ClusterOrBuilder
        Returns:
        The bytes for id.
      • hasNodePoolDefaults

        public boolean hasNodePoolDefaults()
         Default NodePool settings for the entire cluster. These settings are
         overridden if specified on the specific NodePool object.
         
        optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
        Specified by:
        hasNodePoolDefaults in interface ClusterOrBuilder
        Returns:
        Whether the nodePoolDefaults field is set.
      • getNodePoolDefaults

        public NodePoolDefaults getNodePoolDefaults()
         Default NodePool settings for the entire cluster. These settings are
         overridden if specified on the specific NodePool object.
         
        optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
        Specified by:
        getNodePoolDefaults in interface ClusterOrBuilder
        Returns:
        The nodePoolDefaults.
      • getNodePoolDefaultsOrBuilder

        public NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder()
         Default NodePool settings for the entire cluster. These settings are
         overridden if specified on the specific NodePool object.
         
        optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
        Specified by:
        getNodePoolDefaultsOrBuilder in interface ClusterOrBuilder
      • hasLoggingConfig

        public boolean hasLoggingConfig()
         Logging configuration for the cluster.
         
        .google.container.v1.LoggingConfig logging_config = 132;
        Specified by:
        hasLoggingConfig in interface ClusterOrBuilder
        Returns:
        Whether the loggingConfig field is set.
      • getLoggingConfig

        public LoggingConfig getLoggingConfig()
         Logging configuration for the cluster.
         
        .google.container.v1.LoggingConfig logging_config = 132;
        Specified by:
        getLoggingConfig in interface ClusterOrBuilder
        Returns:
        The loggingConfig.
      • hasMonitoringConfig

        public boolean hasMonitoringConfig()
         Monitoring configuration for the cluster.
         
        .google.container.v1.MonitoringConfig monitoring_config = 133;
        Specified by:
        hasMonitoringConfig in interface ClusterOrBuilder
        Returns:
        Whether the monitoringConfig field is set.
      • getMonitoringConfig

        public MonitoringConfig getMonitoringConfig()
         Monitoring configuration for the cluster.
         
        .google.container.v1.MonitoringConfig monitoring_config = 133;
        Specified by:
        getMonitoringConfig in interface ClusterOrBuilder
        Returns:
        The monitoringConfig.
      • hasNodePoolAutoConfig

        public boolean hasNodePoolAutoConfig()
         Node pool configs that apply to all auto-provisioned node pools
         in autopilot clusters and node auto-provisioning enabled clusters.
         
        .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
        Specified by:
        hasNodePoolAutoConfig in interface ClusterOrBuilder
        Returns:
        Whether the nodePoolAutoConfig field is set.
      • getNodePoolAutoConfig

        public NodePoolAutoConfig getNodePoolAutoConfig()
         Node pool configs that apply to all auto-provisioned node pools
         in autopilot clusters and node auto-provisioning enabled clusters.
         
        .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
        Specified by:
        getNodePoolAutoConfig in interface ClusterOrBuilder
        Returns:
        The nodePoolAutoConfig.
      • getNodePoolAutoConfigOrBuilder

        public NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder()
         Node pool configs that apply to all auto-provisioned node pools
         in autopilot clusters and node auto-provisioning enabled clusters.
         
        .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
        Specified by:
        getNodePoolAutoConfigOrBuilder in interface ClusterOrBuilder
      • getEtag

        public String getEtag()
         This checksum is computed by the server based on the value of cluster
         fields, and may be sent on update requests to ensure the client has an
         up-to-date value before proceeding.
         
        string etag = 139;
        Specified by:
        getEtag in interface ClusterOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         This checksum is computed by the server based on the value of cluster
         fields, and may be sent on update requests to ensure the client has an
         up-to-date value before proceeding.
         
        string etag = 139;
        Specified by:
        getEtagBytes in interface ClusterOrBuilder
        Returns:
        The bytes for etag.
      • hasFleet

        public boolean hasFleet()
         Fleet information for the cluster.
         
        .google.container.v1.Fleet fleet = 140;
        Specified by:
        hasFleet in interface ClusterOrBuilder
        Returns:
        Whether the fleet field is set.
      • getFleet

        public Fleet getFleet()
         Fleet information for the cluster.
         
        .google.container.v1.Fleet fleet = 140;
        Specified by:
        getFleet in interface ClusterOrBuilder
        Returns:
        The fleet.
      • hasSecurityPostureConfig

        public boolean hasSecurityPostureConfig()
         Enable/Disable Security Posture API features for the cluster.
         
        .google.container.v1.SecurityPostureConfig security_posture_config = 145;
        Specified by:
        hasSecurityPostureConfig in interface ClusterOrBuilder
        Returns:
        Whether the securityPostureConfig field is set.
      • getSecurityPostureConfig

        public SecurityPostureConfig getSecurityPostureConfig()
         Enable/Disable Security Posture API features for the cluster.
         
        .google.container.v1.SecurityPostureConfig security_posture_config = 145;
        Specified by:
        getSecurityPostureConfig in interface ClusterOrBuilder
        Returns:
        The securityPostureConfig.
      • hasEnableK8SBetaApis

        public boolean hasEnableK8SBetaApis()
         Beta APIs Config
         
        .google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 143;
        Specified by:
        hasEnableK8SBetaApis in interface ClusterOrBuilder
        Returns:
        Whether the enableK8sBetaApis field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Cluster parseFrom​(ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Cluster parseFrom​(ByteBuffer data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Cluster parseFrom​(com.google.protobuf.ByteString data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Cluster parseFrom​(com.google.protobuf.ByteString data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Cluster parseFrom​(byte[] data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Cluster parseFrom​(byte[] data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Cluster parseFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Cluster.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Cluster.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Cluster.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Cluster getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Cluster> parser()
      • getParserForType

        public com.google.protobuf.Parser<Cluster> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Cluster getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder