- 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.ControlPlane.Local.Builder extends GeneratedMessageV3.Builder<Cluster.ControlPlane.Local.Builder> implements Cluster.ControlPlane.LocalOrBuilder
Configuration specific to clusters with a control plane hosted locally.
Warning: Local control plane clusters must be created in their own project. Local control plane clusters cannot coexist in the same project with any other type of clusters, including non-GDCE clusters. Mixing local control plane GDCE clusters with any other type of clusters in the same project can result in data loss.
Protobuf type google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.ControlPlane.Local.BuilderImplements
Cluster.ControlPlane.LocalOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.ControlPlane.Local.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
build()
public Cluster.ControlPlane.Local build()
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local |
buildPartial()
public Cluster.ControlPlane.Local buildPartial()
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local |
clear()
public Cluster.ControlPlane.Local.Builder clear()
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.ControlPlane.Local.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
clearMachineFilter()
public Cluster.ControlPlane.Local.Builder clearMachineFilter()
Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.
string machine_filter = 3;
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
clearNodeCount()
public Cluster.ControlPlane.Local.Builder clearNodeCount()
The number of nodes to serve as replicas of the Control Plane.
int32 node_count = 2;
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
clearNodeLocation()
public Cluster.ControlPlane.Local.Builder clearNodeLocation()
Name of the Google Distributed Cloud Edge zones where this node pool
will be created. For example: us-central1-edge-customer-a
.
string node_location = 1;
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.ControlPlane.Local.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
clearSharedDeploymentPolicy()
public Cluster.ControlPlane.Local.Builder clearSharedDeploymentPolicy()
Policy configuration about how user applications are deployed.
.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
clone()
public Cluster.ControlPlane.Local.Builder clone()
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
getDefaultInstanceForType()
public Cluster.ControlPlane.Local getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMachineFilter()
public String getMachineFilter()
Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.
string machine_filter = 3;
Returns | |
---|---|
Type | Description |
String | The machineFilter. |
getMachineFilterBytes()
public ByteString getMachineFilterBytes()
Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.
string machine_filter = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for machineFilter. |
getNodeCount()
public int getNodeCount()
The number of nodes to serve as replicas of the Control Plane.
int32 node_count = 2;
Returns | |
---|---|
Type | Description |
int | The nodeCount. |
getNodeLocation()
public String getNodeLocation()
Name of the Google Distributed Cloud Edge zones where this node pool
will be created. For example: us-central1-edge-customer-a
.
string node_location = 1;
Returns | |
---|---|
Type | Description |
String | The nodeLocation. |
getNodeLocationBytes()
public ByteString getNodeLocationBytes()
Name of the Google Distributed Cloud Edge zones where this node pool
will be created. For example: us-central1-edge-customer-a
.
string node_location = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nodeLocation. |
getSharedDeploymentPolicy()
public Cluster.ControlPlane.SharedDeploymentPolicy getSharedDeploymentPolicy()
Policy configuration about how user applications are deployed.
.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.SharedDeploymentPolicy | The sharedDeploymentPolicy. |
getSharedDeploymentPolicyValue()
public int getSharedDeploymentPolicyValue()
Policy configuration about how user applications are deployed.
.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for sharedDeploymentPolicy. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Cluster.ControlPlane.Local other)
public Cluster.ControlPlane.Local.Builder mergeFrom(Cluster.ControlPlane.Local other)
Parameter | |
---|---|
Name | Description |
other | Cluster.ControlPlane.Local |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.ControlPlane.Local.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.ControlPlane.Local.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.ControlPlane.Local.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.ControlPlane.Local.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
setMachineFilter(String value)
public Cluster.ControlPlane.Local.Builder setMachineFilter(String value)
Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.
string machine_filter = 3;
Parameter | |
---|---|
Name | Description |
value | String The machineFilter to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setMachineFilterBytes(ByteString value)
public Cluster.ControlPlane.Local.Builder setMachineFilterBytes(ByteString value)
Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=<name>", and is documented here: AIP-160.
string machine_filter = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for machineFilter to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setNodeCount(int value)
public Cluster.ControlPlane.Local.Builder setNodeCount(int value)
The number of nodes to serve as replicas of the Control Plane.
int32 node_count = 2;
Parameter | |
---|---|
Name | Description |
value | int The nodeCount to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setNodeLocation(String value)
public Cluster.ControlPlane.Local.Builder setNodeLocation(String value)
Name of the Google Distributed Cloud Edge zones where this node pool
will be created. For example: us-central1-edge-customer-a
.
string node_location = 1;
Parameter | |
---|---|
Name | Description |
value | String The nodeLocation to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setNodeLocationBytes(ByteString value)
public Cluster.ControlPlane.Local.Builder setNodeLocationBytes(ByteString value)
Name of the Google Distributed Cloud Edge zones where this node pool
will be created. For example: us-central1-edge-customer-a
.
string node_location = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nodeLocation to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.ControlPlane.Local.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |
setSharedDeploymentPolicy(Cluster.ControlPlane.SharedDeploymentPolicy value)
public Cluster.ControlPlane.Local.Builder setSharedDeploymentPolicy(Cluster.ControlPlane.SharedDeploymentPolicy value)
Policy configuration about how user applications are deployed.
.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;
Parameter | |
---|---|
Name | Description |
value | Cluster.ControlPlane.SharedDeploymentPolicy The sharedDeploymentPolicy to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setSharedDeploymentPolicyValue(int value)
public Cluster.ControlPlane.Local.Builder setSharedDeploymentPolicyValue(int value)
Policy configuration about how user applications are deployed.
.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for sharedDeploymentPolicy to set. |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.ControlPlane.Local.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Cluster.ControlPlane.Local.Builder |