- 0.50.0 (latest)
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
A Google Distributed Cloud Edge Kubernetes cluster.
Protobuf type google.cloud.edgecontainer.v1.Cluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.BuilderImplements
ClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
build()
public Cluster build()
Returns | |
---|---|
Type | Description |
Cluster |
buildPartial()
public Cluster buildPartial()
Returns | |
---|---|
Type | Description |
Cluster |
clear()
public Cluster.Builder clear()
Returns | |
---|---|
Type | Description |
Cluster.Builder |
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
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 | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
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 | |
---|---|
Type | Description |
Cluster.Builder | 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 | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearFleet()
public Cluster.Builder clearFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearLabels()
public Cluster.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearMaintenancePolicy()
public Cluster.Builder clearMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
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 | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
clearNetworking()
public Cluster.Builder clearNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clone()
public Cluster.Builder clone()
Returns | |
---|---|
Type | Description |
Cluster.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
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];
Returns | |
---|---|
Type | Description |
Authorization | The authorization. |
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];
Returns | |
---|---|
Type | Description |
Authorization.Builder |
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];
Returns | |
---|---|
Type | Description |
AuthorizationOrBuilder |
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];
Returns | |
---|---|
Type | Description |
String | The clusterCaCertificate. |
getClusterCaCertificateBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for clusterCaCertificate. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Cluster |
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];
Returns | |
---|---|
Type | Description |
int | The defaultMaxPodsPerNode. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndpoint()
public String getEndpoint()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The endpoint. |
getEndpointBytes()
public ByteString getEndpointBytes()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for endpoint. |
getFleet()
public Fleet getFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Fleet | The fleet. |
getFleetBuilder()
public Fleet.Builder getFleetBuilder()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Fleet.Builder |
getFleetOrBuilder()
public FleetOrBuilder getFleetOrBuilder()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FleetOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMaintenancePolicy()
public MaintenancePolicy getMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MaintenancePolicy | The maintenancePolicy. |
getMaintenancePolicyBuilder()
public MaintenancePolicy.Builder getMaintenancePolicyBuilder()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MaintenancePolicy.Builder |
getMaintenancePolicyOrBuilder()
public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MaintenancePolicyOrBuilder |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNetworking()
public ClusterNetworking getNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ClusterNetworking | The networking. |
getNetworkingBuilder()
public ClusterNetworking.Builder getNetworkingBuilder()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ClusterNetworking.Builder |
getNetworkingOrBuilder()
public ClusterNetworkingOrBuilder getNetworkingOrBuilder()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ClusterNetworkingOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the authorization field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasFleet()
public boolean hasFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the fleet field is set. |
hasMaintenancePolicy()
public boolean hasMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the maintenancePolicy field is set. |
hasNetworking()
public boolean hasNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the networking field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAuthorization(Authorization value)
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];
Parameter | |
---|---|
Name | Description |
value | Authorization |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeCreateTime(Timestamp value)
public Cluster.Builder mergeCreateTime(Timestamp value)
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeFleet(Fleet value)
public Cluster.Builder mergeFleet(Fleet value)
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | Fleet |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)
Parameter | |
---|---|
Name | Description |
other | Cluster |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeMaintenancePolicy(MaintenancePolicy value)
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];
Parameter | |
---|---|
Name | Description |
value | MaintenancePolicy |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeNetworking(ClusterNetworking value)
public Cluster.Builder mergeNetworking(ClusterNetworking value)
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ClusterNetworking |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
mergeUpdateTime(Timestamp value)
public Cluster.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
putAllLabels(Map<String,String> values)
public Cluster.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
putLabels(String key, String value)
public Cluster.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
removeLabels(String key)
public Cluster.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setAuthorization(Authorization value)
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];
Parameter | |
---|---|
Name | Description |
value | Authorization |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setAuthorization(Authorization.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Authorization.Builder |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setClusterCaCertificate(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The clusterCaCertificate to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setClusterCaCertificateBytes(ByteString value)
public Cluster.Builder setClusterCaCertificateBytes(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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for clusterCaCertificate to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public Cluster.Builder setCreateTime(Timestamp value)
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setDefaultMaxPodsPerNode(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The defaultMaxPodsPerNode to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setEndpoint(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The endpoint to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setEndpointBytes(ByteString value)
public Cluster.Builder setEndpointBytes(ByteString value)
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for endpoint to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setFleet(Fleet value)
public Cluster.Builder setFleet(Fleet value)
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | Fleet |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setFleet(Fleet.Builder builderForValue)
public Cluster.Builder setFleet(Fleet.Builder builderForValue)
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | Fleet.Builder |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setMaintenancePolicy(MaintenancePolicy value)
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];
Parameter | |
---|---|
Name | Description |
value | MaintenancePolicy |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | MaintenancePolicy.Builder |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(ByteString value)
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Cluster.Builder | This builder for chaining. |
setNetworking(ClusterNetworking value)
public Cluster.Builder setNetworking(ClusterNetworking value)
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ClusterNetworking |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setNetworking(ClusterNetworking.Builder builderForValue)
public Cluster.Builder setNetworking(ClusterNetworking.Builder builderForValue)
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | ClusterNetworking.Builder |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setUpdateTime(Timestamp value)
public Cluster.Builder setUpdateTime(Timestamp value)
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setUpdateTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Cluster.Builder |