Class Cluster.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
com.google.cloud.edgecontainer.v1.Cluster.Builder
All Implemented Interfaces:
ClusterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster

public static final class Cluster.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder> implements ClusterOrBuilder
 A Google Distributed Cloud Edge Kubernetes cluster.
 
Protobuf type google.cloud.edgecontainer.v1.Cluster
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • clear

      public Cluster.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • getDefaultInstanceForType

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

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

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

      public Cluster.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(Cluster other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The resource name of the cluster.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ClusterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the cluster.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ClusterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Cluster.Builder setName(String value)
       Required. The resource name of the cluster.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Cluster.Builder clearName()
       Required. The resource name of the cluster.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public Cluster.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the cluster.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ClusterOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ClusterOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Cluster.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Cluster.Builder clearCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ClusterOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ClusterOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ClusterOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Cluster.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Cluster.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Cluster.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Cluster.Builder clearUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ClusterOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ClusterOrBuilder
       Labels associated with this resource.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface ClusterOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface ClusterOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ClusterOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels associated with this resource.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface ClusterOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface ClusterOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface ClusterOrBuilder
    • clearLabels

      public Cluster.Builder clearLabels()
    • removeLabels

      public Cluster.Builder removeLabels(String key)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Cluster.Builder putLabels(String key, String value)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • putAllLabels

      public Cluster.Builder putAllLabels(Map<String,String> values)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • hasFleet

      public boolean hasFleet()
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFleet in interface ClusterOrBuilder
      Returns:
      Whether the fleet field is set.
    • getFleet

      public Fleet getFleet()
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFleet in interface ClusterOrBuilder
      Returns:
      The fleet.
    • setFleet

      public Cluster.Builder setFleet(Fleet value)
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
    • setFleet

      public Cluster.Builder setFleet(Fleet.Builder builderForValue)
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
    • mergeFleet

      public Cluster.Builder mergeFleet(Fleet value)
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
    • clearFleet

      public Cluster.Builder clearFleet()
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
    • getFleetBuilder

      public Fleet.Builder getFleetBuilder()
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
    • getFleetOrBuilder

      public FleetOrBuilder getFleetOrBuilder()
       Required. Fleet configuration.
       
      .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFleetOrBuilder in interface ClusterOrBuilder
    • hasNetworking

      public boolean hasNetworking()
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNetworking in interface ClusterOrBuilder
      Returns:
      Whether the networking field is set.
    • getNetworking

      public ClusterNetworking getNetworking()
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworking in interface ClusterOrBuilder
      Returns:
      The networking.
    • setNetworking

      public Cluster.Builder setNetworking(ClusterNetworking value)
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
    • setNetworking

      public Cluster.Builder setNetworking(ClusterNetworking.Builder builderForValue)
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
    • mergeNetworking

      public Cluster.Builder mergeNetworking(ClusterNetworking value)
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
    • clearNetworking

      public Cluster.Builder clearNetworking()
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
    • getNetworkingBuilder

      public ClusterNetworking.Builder getNetworkingBuilder()
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
    • getNetworkingOrBuilder

      public ClusterNetworkingOrBuilder getNetworkingOrBuilder()
       Required. Cluster-wide networking configuration.
       
      .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkingOrBuilder in interface ClusterOrBuilder
    • hasAuthorization

      public boolean hasAuthorization()
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasAuthorization in interface ClusterOrBuilder
      Returns:
      Whether the authorization field is set.
    • getAuthorization

      public Authorization getAuthorization()
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAuthorization in interface ClusterOrBuilder
      Returns:
      The authorization.
    • setAuthorization

      public Cluster.Builder setAuthorization(Authorization value)
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • setAuthorization

      public Cluster.Builder setAuthorization(Authorization.Builder builderForValue)
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • mergeAuthorization

      public Cluster.Builder mergeAuthorization(Authorization value)
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • clearAuthorization

      public Cluster.Builder clearAuthorization()
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • getAuthorizationBuilder

      public Authorization.Builder getAuthorizationBuilder()
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • getAuthorizationOrBuilder

      public AuthorizationOrBuilder getAuthorizationOrBuilder()
       Required. Immutable. RBAC policy that will be applied and managed by GEC.
       
      .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAuthorizationOrBuilder in interface ClusterOrBuilder
    • getDefaultMaxPodsPerNode

      public int getDefaultMaxPodsPerNode()
       Optional. The default maximum number of pods per node used if a maximum
       value is not specified explicitly for a node pool in this cluster. If
       unspecified, the Kubernetes default value will be used.
       
      int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultMaxPodsPerNode in interface ClusterOrBuilder
      Returns:
      The defaultMaxPodsPerNode.
    • setDefaultMaxPodsPerNode

      public Cluster.Builder setDefaultMaxPodsPerNode(int value)
       Optional. The default maximum number of pods per node used if a maximum
       value is not specified explicitly for a node pool in this cluster. If
       unspecified, the Kubernetes default value will be used.
       
      int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The defaultMaxPodsPerNode to set.
      Returns:
      This builder for chaining.
    • clearDefaultMaxPodsPerNode

      public Cluster.Builder clearDefaultMaxPodsPerNode()
       Optional. The default maximum number of pods per node used if a maximum
       value is not specified explicitly for a node pool in this cluster. If
       unspecified, the Kubernetes default value will be used.
       
      int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getEndpoint

      public String getEndpoint()
       Output only. The IP address of the Kubernetes API server.
       
      string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndpoint in interface ClusterOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Output only. The IP address of the Kubernetes API server.
       
      string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndpointBytes in interface ClusterOrBuilder
      Returns:
      The bytes for endpoint.
    • setEndpoint

      public Cluster.Builder setEndpoint(String value)
       Output only. The IP address of the Kubernetes API server.
       
      string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

      public Cluster.Builder clearEndpoint()
       Output only. The IP address of the Kubernetes API server.
       
      string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEndpointBytes

      public Cluster.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       Output only. The IP address of the Kubernetes API server.
       
      string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.
    • getPort

      public int getPort()
       Output only. The port number of the Kubernetes API server.
       
      int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPort in interface ClusterOrBuilder
      Returns:
      The port.
    • setPort

      public Cluster.Builder setPort(int value)
       Output only. The port number of the Kubernetes API server.
       
      int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The port to set.
      Returns:
      This builder for chaining.
    • clearPort

      public Cluster.Builder clearPort()
       Output only. The port number of the Kubernetes API server.
       
      int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getClusterCaCertificate

      public String getClusterCaCertificate()
       Output only. The PEM-encoded public certificate of the cluster's CA.
       
      string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClusterCaCertificate in interface ClusterOrBuilder
      Returns:
      The clusterCaCertificate.
    • getClusterCaCertificateBytes

      public com.google.protobuf.ByteString getClusterCaCertificateBytes()
       Output only. The PEM-encoded public certificate of the cluster's CA.
       
      string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClusterCaCertificateBytes in interface ClusterOrBuilder
      Returns:
      The bytes for clusterCaCertificate.
    • setClusterCaCertificate

      public Cluster.Builder setClusterCaCertificate(String value)
       Output only. The PEM-encoded public certificate of the cluster's CA.
       
      string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The clusterCaCertificate to set.
      Returns:
      This builder for chaining.
    • clearClusterCaCertificate

      public Cluster.Builder clearClusterCaCertificate()
       Output only. The PEM-encoded public certificate of the cluster's CA.
       
      string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setClusterCaCertificateBytes

      public Cluster.Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value)
       Output only. The PEM-encoded public certificate of the cluster's CA.
       
      string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for clusterCaCertificate to set.
      Returns:
      This builder for chaining.
    • hasMaintenancePolicy

      public boolean hasMaintenancePolicy()
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaintenancePolicy in interface ClusterOrBuilder
      Returns:
      Whether the maintenancePolicy field is set.
    • getMaintenancePolicy

      public MaintenancePolicy getMaintenancePolicy()
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenancePolicy in interface ClusterOrBuilder
      Returns:
      The maintenancePolicy.
    • setMaintenancePolicy

      public Cluster.Builder setMaintenancePolicy(MaintenancePolicy value)
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setMaintenancePolicy

      public Cluster.Builder setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMaintenancePolicy

      public Cluster.Builder mergeMaintenancePolicy(MaintenancePolicy value)
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearMaintenancePolicy

      public Cluster.Builder clearMaintenancePolicy()
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getMaintenancePolicyBuilder

      public MaintenancePolicy.Builder getMaintenancePolicyBuilder()
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getMaintenancePolicyOrBuilder

      public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
       Optional. Cluster-wide maintenance policy configuration.
       
      .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenancePolicyOrBuilder in interface ClusterOrBuilder
    • getControlPlaneVersion

      public String getControlPlaneVersion()
       Output only. The control plane release version
       
      string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlPlaneVersion in interface ClusterOrBuilder
      Returns:
      The controlPlaneVersion.
    • getControlPlaneVersionBytes

      public com.google.protobuf.ByteString getControlPlaneVersionBytes()
       Output only. The control plane release version
       
      string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlPlaneVersionBytes in interface ClusterOrBuilder
      Returns:
      The bytes for controlPlaneVersion.
    • setControlPlaneVersion

      public Cluster.Builder setControlPlaneVersion(String value)
       Output only. The control plane release version
       
      string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The controlPlaneVersion to set.
      Returns:
      This builder for chaining.
    • clearControlPlaneVersion

      public Cluster.Builder clearControlPlaneVersion()
       Output only. The control plane release version
       
      string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setControlPlaneVersionBytes

      public Cluster.Builder setControlPlaneVersionBytes(com.google.protobuf.ByteString value)
       Output only. The control plane release version
       
      string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for controlPlaneVersion to set.
      Returns:
      This builder for chaining.
    • getNodeVersion

      public String getNodeVersion()
       Output only. The lowest release version among all worker nodes. This field
       can be empty if the cluster does not have any worker nodes.
       
      string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodeVersion in interface ClusterOrBuilder
      Returns:
      The nodeVersion.
    • getNodeVersionBytes

      public com.google.protobuf.ByteString getNodeVersionBytes()
       Output only. The lowest release version among all worker nodes. This field
       can be empty if the cluster does not have any worker nodes.
       
      string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodeVersionBytes in interface ClusterOrBuilder
      Returns:
      The bytes for nodeVersion.
    • setNodeVersion

      public Cluster.Builder setNodeVersion(String value)
       Output only. The lowest release version among all worker nodes. This field
       can be empty if the cluster does not have any worker nodes.
       
      string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The nodeVersion to set.
      Returns:
      This builder for chaining.
    • clearNodeVersion

      public Cluster.Builder clearNodeVersion()
       Output only. The lowest release version among all worker nodes. This field
       can be empty if the cluster does not have any worker nodes.
       
      string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNodeVersionBytes

      public Cluster.Builder setNodeVersionBytes(com.google.protobuf.ByteString value)
       Output only. The lowest release version among all worker nodes. This field
       can be empty if the cluster does not have any worker nodes.
       
      string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for nodeVersion to set.
      Returns:
      This builder for chaining.
    • hasControlPlane

      public boolean hasControlPlane()
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasControlPlane in interface ClusterOrBuilder
      Returns:
      Whether the controlPlane field is set.
    • getControlPlane

      public Cluster.ControlPlane getControlPlane()
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getControlPlane in interface ClusterOrBuilder
      Returns:
      The controlPlane.
    • setControlPlane

      public Cluster.Builder setControlPlane(Cluster.ControlPlane value)
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
    • setControlPlane

      public Cluster.Builder setControlPlane(Cluster.ControlPlane.Builder builderForValue)
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
    • mergeControlPlane

      public Cluster.Builder mergeControlPlane(Cluster.ControlPlane value)
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
    • clearControlPlane

      public Cluster.Builder clearControlPlane()
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getControlPlaneBuilder

      public Cluster.ControlPlane.Builder getControlPlaneBuilder()
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getControlPlaneOrBuilder

      public Cluster.ControlPlaneOrBuilder getControlPlaneOrBuilder()
       Optional. The configuration of the cluster control plane.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getControlPlaneOrBuilder in interface ClusterOrBuilder
    • hasSystemAddonsConfig

      public boolean hasSystemAddonsConfig()
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSystemAddonsConfig in interface ClusterOrBuilder
      Returns:
      Whether the systemAddonsConfig field is set.
    • getSystemAddonsConfig

      public Cluster.SystemAddonsConfig getSystemAddonsConfig()
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemAddonsConfig in interface ClusterOrBuilder
      Returns:
      The systemAddonsConfig.
    • setSystemAddonsConfig

      public Cluster.Builder setSystemAddonsConfig(Cluster.SystemAddonsConfig value)
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
    • setSystemAddonsConfig

      public Cluster.Builder setSystemAddonsConfig(Cluster.SystemAddonsConfig.Builder builderForValue)
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSystemAddonsConfig

      public Cluster.Builder mergeSystemAddonsConfig(Cluster.SystemAddonsConfig value)
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
    • clearSystemAddonsConfig

      public Cluster.Builder clearSystemAddonsConfig()
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getSystemAddonsConfigBuilder

      public Cluster.SystemAddonsConfig.Builder getSystemAddonsConfigBuilder()
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getSystemAddonsConfigOrBuilder

      public Cluster.SystemAddonsConfigOrBuilder getSystemAddonsConfigOrBuilder()
       Optional. The configuration of the system add-ons.
       
      .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemAddonsConfigOrBuilder in interface ClusterOrBuilder
    • getExternalLoadBalancerIpv4AddressPoolsList

      public com.google.protobuf.ProtocolStringList getExternalLoadBalancerIpv4AddressPoolsList()
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv4AddressPoolsList in interface ClusterOrBuilder
      Returns:
      A list containing the externalLoadBalancerIpv4AddressPools.
    • getExternalLoadBalancerIpv4AddressPoolsCount

      public int getExternalLoadBalancerIpv4AddressPoolsCount()
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv4AddressPoolsCount in interface ClusterOrBuilder
      Returns:
      The count of externalLoadBalancerIpv4AddressPools.
    • getExternalLoadBalancerIpv4AddressPools

      public String getExternalLoadBalancerIpv4AddressPools(int index)
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv4AddressPools in interface ClusterOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The externalLoadBalancerIpv4AddressPools at the given index.
    • getExternalLoadBalancerIpv4AddressPoolsBytes

      public com.google.protobuf.ByteString getExternalLoadBalancerIpv4AddressPoolsBytes(int index)
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv4AddressPoolsBytes in interface ClusterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the externalLoadBalancerIpv4AddressPools at the given index.
    • setExternalLoadBalancerIpv4AddressPools

      public Cluster.Builder setExternalLoadBalancerIpv4AddressPools(int index, String value)
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The externalLoadBalancerIpv4AddressPools to set.
      Returns:
      This builder for chaining.
    • addExternalLoadBalancerIpv4AddressPools

      public Cluster.Builder addExternalLoadBalancerIpv4AddressPools(String value)
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The externalLoadBalancerIpv4AddressPools to add.
      Returns:
      This builder for chaining.
    • addAllExternalLoadBalancerIpv4AddressPools

      public Cluster.Builder addAllExternalLoadBalancerIpv4AddressPools(Iterable<String> values)
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The externalLoadBalancerIpv4AddressPools to add.
      Returns:
      This builder for chaining.
    • clearExternalLoadBalancerIpv4AddressPools

      public Cluster.Builder clearExternalLoadBalancerIpv4AddressPools()
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addExternalLoadBalancerIpv4AddressPoolsBytes

      public Cluster.Builder addExternalLoadBalancerIpv4AddressPoolsBytes(com.google.protobuf.ByteString value)
       Optional. IPv4 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the externalLoadBalancerIpv4AddressPools to add.
      Returns:
      This builder for chaining.
    • hasControlPlaneEncryption

      public boolean hasControlPlaneEncryption()
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasControlPlaneEncryption in interface ClusterOrBuilder
      Returns:
      Whether the controlPlaneEncryption field is set.
    • getControlPlaneEncryption

      public Cluster.ControlPlaneEncryption getControlPlaneEncryption()
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getControlPlaneEncryption in interface ClusterOrBuilder
      Returns:
      The controlPlaneEncryption.
    • setControlPlaneEncryption

      public Cluster.Builder setControlPlaneEncryption(Cluster.ControlPlaneEncryption value)
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
    • setControlPlaneEncryption

      public Cluster.Builder setControlPlaneEncryption(Cluster.ControlPlaneEncryption.Builder builderForValue)
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
    • mergeControlPlaneEncryption

      public Cluster.Builder mergeControlPlaneEncryption(Cluster.ControlPlaneEncryption value)
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
    • clearControlPlaneEncryption

      public Cluster.Builder clearControlPlaneEncryption()
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
    • getControlPlaneEncryptionBuilder

      public Cluster.ControlPlaneEncryption.Builder getControlPlaneEncryptionBuilder()
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
    • getControlPlaneEncryptionOrBuilder

      public Cluster.ControlPlaneEncryptionOrBuilder getControlPlaneEncryptionOrBuilder()
       Optional. Remote control plane disk encryption options. This field is only
       used when enabling CMEK support.
       
      .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getControlPlaneEncryptionOrBuilder in interface ClusterOrBuilder
    • getStatusValue

      public int getStatusValue()
       Output only. The current status of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public Cluster.Builder setStatusValue(int value)
       Output only. The current status of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public Cluster.Status getStatus()
       Output only. The current status of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface ClusterOrBuilder
      Returns:
      The status.
    • setStatus

      public Cluster.Builder setStatus(Cluster.Status value)
       Output only. The current status of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Cluster.Builder clearStatus()
       Output only. The current status of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMaintenanceEventsList

      public List<Cluster.MaintenanceEvent> getMaintenanceEventsList()
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEventsList in interface ClusterOrBuilder
    • getMaintenanceEventsCount

      public int getMaintenanceEventsCount()
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEventsCount in interface ClusterOrBuilder
    • getMaintenanceEvents

      public Cluster.MaintenanceEvent getMaintenanceEvents(int index)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEvents in interface ClusterOrBuilder
    • setMaintenanceEvents

      public Cluster.Builder setMaintenanceEvents(int index, Cluster.MaintenanceEvent value)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceEvents

      public Cluster.Builder setMaintenanceEvents(int index, Cluster.MaintenanceEvent.Builder builderForValue)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMaintenanceEvents

      public Cluster.Builder addMaintenanceEvents(Cluster.MaintenanceEvent value)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMaintenanceEvents

      public Cluster.Builder addMaintenanceEvents(int index, Cluster.MaintenanceEvent value)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMaintenanceEvents

      public Cluster.Builder addMaintenanceEvents(Cluster.MaintenanceEvent.Builder builderForValue)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMaintenanceEvents

      public Cluster.Builder addMaintenanceEvents(int index, Cluster.MaintenanceEvent.Builder builderForValue)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllMaintenanceEvents

      public Cluster.Builder addAllMaintenanceEvents(Iterable<? extends Cluster.MaintenanceEvent> values)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceEvents

      public Cluster.Builder clearMaintenanceEvents()
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeMaintenanceEvents

      public Cluster.Builder removeMaintenanceEvents(int index)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceEventsBuilder

      public Cluster.MaintenanceEvent.Builder getMaintenanceEventsBuilder(int index)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceEventsOrBuilder

      public Cluster.MaintenanceEventOrBuilder getMaintenanceEventsOrBuilder(int index)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEventsOrBuilder in interface ClusterOrBuilder
    • getMaintenanceEventsOrBuilderList

      public List<? extends Cluster.MaintenanceEventOrBuilder> getMaintenanceEventsOrBuilderList()
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEventsOrBuilderList in interface ClusterOrBuilder
    • addMaintenanceEventsBuilder

      public Cluster.MaintenanceEvent.Builder addMaintenanceEventsBuilder()
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMaintenanceEventsBuilder

      public Cluster.MaintenanceEvent.Builder addMaintenanceEventsBuilder(int index)
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceEventsBuilderList

      public List<Cluster.MaintenanceEvent.Builder> getMaintenanceEventsBuilderList()
       Output only. All the maintenance events scheduled for the cluster,
       including the ones ongoing, planned for the future and done in the past (up
       to 90 days).
       
      repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTargetVersion

      public String getTargetVersion()
       Optional. The target cluster version. For example: "1.5.0".
       
      string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetVersion in interface ClusterOrBuilder
      Returns:
      The targetVersion.
    • getTargetVersionBytes

      public com.google.protobuf.ByteString getTargetVersionBytes()
       Optional. The target cluster version. For example: "1.5.0".
       
      string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetVersionBytes in interface ClusterOrBuilder
      Returns:
      The bytes for targetVersion.
    • setTargetVersion

      public Cluster.Builder setTargetVersion(String value)
       Optional. The target cluster version. For example: "1.5.0".
       
      string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The targetVersion to set.
      Returns:
      This builder for chaining.
    • clearTargetVersion

      public Cluster.Builder clearTargetVersion()
       Optional. The target cluster version. For example: "1.5.0".
       
      string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTargetVersionBytes

      public Cluster.Builder setTargetVersionBytes(com.google.protobuf.ByteString value)
       Optional. The target cluster version. For example: "1.5.0".
       
      string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for targetVersion to set.
      Returns:
      This builder for chaining.
    • getReleaseChannelValue

      public int getReleaseChannelValue()
       Optional. The release channel a cluster is subscribed to.
       
      .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReleaseChannelValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for releaseChannel.
    • setReleaseChannelValue

      public Cluster.Builder setReleaseChannelValue(int value)
       Optional. The release channel a cluster is subscribed to.
       
      .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for releaseChannel to set.
      Returns:
      This builder for chaining.
    • getReleaseChannel

      public Cluster.ReleaseChannel getReleaseChannel()
       Optional. The release channel a cluster is subscribed to.
       
      .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReleaseChannel in interface ClusterOrBuilder
      Returns:
      The releaseChannel.
    • setReleaseChannel

      public Cluster.Builder setReleaseChannel(Cluster.ReleaseChannel value)
       Optional. The release channel a cluster is subscribed to.
       
      .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The releaseChannel to set.
      Returns:
      This builder for chaining.
    • clearReleaseChannel

      public Cluster.Builder clearReleaseChannel()
       Optional. The release channel a cluster is subscribed to.
       
      .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasSurvivabilityConfig

      public boolean hasSurvivabilityConfig()
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSurvivabilityConfig in interface ClusterOrBuilder
      Returns:
      Whether the survivabilityConfig field is set.
    • getSurvivabilityConfig

      public Cluster.SurvivabilityConfig getSurvivabilityConfig()
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSurvivabilityConfig in interface ClusterOrBuilder
      Returns:
      The survivabilityConfig.
    • setSurvivabilityConfig

      public Cluster.Builder setSurvivabilityConfig(Cluster.SurvivabilityConfig value)
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • setSurvivabilityConfig

      public Cluster.Builder setSurvivabilityConfig(Cluster.SurvivabilityConfig.Builder builderForValue)
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSurvivabilityConfig

      public Cluster.Builder mergeSurvivabilityConfig(Cluster.SurvivabilityConfig value)
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • clearSurvivabilityConfig

      public Cluster.Builder clearSurvivabilityConfig()
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getSurvivabilityConfigBuilder

      public Cluster.SurvivabilityConfig.Builder getSurvivabilityConfigBuilder()
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getSurvivabilityConfigOrBuilder

      public Cluster.SurvivabilityConfigOrBuilder getSurvivabilityConfigOrBuilder()
       Optional. Configuration of the cluster survivability, e.g., for the case
       when network connectivity is lost. Note: This only applies to local control
       plane clusters.
       
      .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSurvivabilityConfigOrBuilder in interface ClusterOrBuilder
    • getExternalLoadBalancerIpv6AddressPoolsList

      public com.google.protobuf.ProtocolStringList getExternalLoadBalancerIpv6AddressPoolsList()
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv6AddressPoolsList in interface ClusterOrBuilder
      Returns:
      A list containing the externalLoadBalancerIpv6AddressPools.
    • getExternalLoadBalancerIpv6AddressPoolsCount

      public int getExternalLoadBalancerIpv6AddressPoolsCount()
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv6AddressPoolsCount in interface ClusterOrBuilder
      Returns:
      The count of externalLoadBalancerIpv6AddressPools.
    • getExternalLoadBalancerIpv6AddressPools

      public String getExternalLoadBalancerIpv6AddressPools(int index)
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv6AddressPools in interface ClusterOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The externalLoadBalancerIpv6AddressPools at the given index.
    • getExternalLoadBalancerIpv6AddressPoolsBytes

      public com.google.protobuf.ByteString getExternalLoadBalancerIpv6AddressPoolsBytes(int index)
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalLoadBalancerIpv6AddressPoolsBytes in interface ClusterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the externalLoadBalancerIpv6AddressPools at the given index.
    • setExternalLoadBalancerIpv6AddressPools

      public Cluster.Builder setExternalLoadBalancerIpv6AddressPools(int index, String value)
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The externalLoadBalancerIpv6AddressPools to set.
      Returns:
      This builder for chaining.
    • addExternalLoadBalancerIpv6AddressPools

      public Cluster.Builder addExternalLoadBalancerIpv6AddressPools(String value)
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The externalLoadBalancerIpv6AddressPools to add.
      Returns:
      This builder for chaining.
    • addAllExternalLoadBalancerIpv6AddressPools

      public Cluster.Builder addAllExternalLoadBalancerIpv6AddressPools(Iterable<String> values)
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The externalLoadBalancerIpv6AddressPools to add.
      Returns:
      This builder for chaining.
    • clearExternalLoadBalancerIpv6AddressPools

      public Cluster.Builder clearExternalLoadBalancerIpv6AddressPools()
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addExternalLoadBalancerIpv6AddressPoolsBytes

      public Cluster.Builder addExternalLoadBalancerIpv6AddressPoolsBytes(com.google.protobuf.ByteString value)
       Optional. IPv6 address pools for cluster data plane external load
       balancing.
       
      repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the externalLoadBalancerIpv6AddressPools to add.
      Returns:
      This builder for chaining.
    • hasConnectionState

      public boolean hasConnectionState()
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasConnectionState in interface ClusterOrBuilder
      Returns:
      Whether the connectionState field is set.
    • getConnectionState

      public Cluster.ConnectionState getConnectionState()
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectionState in interface ClusterOrBuilder
      Returns:
      The connectionState.
    • setConnectionState

      public Cluster.Builder setConnectionState(Cluster.ConnectionState value)
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setConnectionState

      public Cluster.Builder setConnectionState(Cluster.ConnectionState.Builder builderForValue)
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeConnectionState

      public Cluster.Builder mergeConnectionState(Cluster.ConnectionState value)
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearConnectionState

      public Cluster.Builder clearConnectionState()
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConnectionStateBuilder

      public Cluster.ConnectionState.Builder getConnectionStateBuilder()
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConnectionStateOrBuilder

      public Cluster.ConnectionStateOrBuilder getConnectionStateOrBuilder()
       Output only. The current connection state of the cluster.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectionStateOrBuilder in interface ClusterOrBuilder