Class Cluster.ControlPlane.Local.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Local.Builder>
com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder
- All Implemented Interfaces:
Cluster.ControlPlane.LocalOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Cluster.ControlPlane.Local
public static final class Cluster.ControlPlane.Local.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Only machines matching this filter will be allowed to host control plane nodes.The number of nodes to serve as replicas of the Control Plane.Name of the Google Distributed Cloud Edge zones where this node pool will be created.Policy configuration about how user applications are deployed.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOnly machines matching this filter will be allowed to host control plane nodes.com.google.protobuf.ByteStringOnly machines matching this filter will be allowed to host control plane nodes.intThe number of nodes to serve as replicas of the Control Plane.Name of the Google Distributed Cloud Edge zones where this node pool will be created.com.google.protobuf.ByteStringName of the Google Distributed Cloud Edge zones where this node pool will be created.Policy configuration about how user applications are deployed.intPolicy configuration about how user applications are deployed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setControlPlaneNodeStorageSchemaBytes(com.google.protobuf.ByteString value) Optional.setMachineFilter(String value) Only machines matching this filter will be allowed to host control plane nodes.setMachineFilterBytes(com.google.protobuf.ByteString value) Only machines matching this filter will be allowed to host control plane nodes.setNodeCount(int value) The number of nodes to serve as replicas of the Control Plane.setNodeLocation(String value) Name of the Google Distributed Cloud Edge zones where this node pool will be created.setNodeLocationBytes(com.google.protobuf.ByteString value) Name of the Google Distributed Cloud Edge zones where this node pool will be created.Policy configuration about how user applications are deployed.setSharedDeploymentPolicyValue(int value) Policy configuration about how user applications are deployed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Local.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Local.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Local.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cluster.ControlPlane.Local.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Cluster.ControlPlane.Local.Builder>
-
mergeFrom
public Cluster.ControlPlane.Local.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cluster.ControlPlane.Local.Builder>- Throws:
IOException
-
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;- Specified by:
getNodeLocationin interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The nodeLocation.
-
getNodeLocationBytes
public com.google.protobuf.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;- Specified by:
getNodeLocationBytesin interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The bytes for nodeLocation.
-
setNodeLocation
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;- Parameters:
value- The nodeLocation to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNodeLocationBytes
public Cluster.ControlPlane.Local.Builder setNodeLocationBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nodeLocation to set.- Returns:
- This builder for chaining.
-
getNodeCount
public int getNodeCount()The number of nodes to serve as replicas of the Control Plane.
int32 node_count = 2;- Specified by:
getNodeCountin interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The nodeCount.
-
setNodeCount
The number of nodes to serve as replicas of the Control Plane.
int32 node_count = 2;- Parameters:
value- The nodeCount to set.- Returns:
- This builder for chaining.
-
clearNodeCount
The number of nodes to serve as replicas of the Control Plane.
int32 node_count = 2;- Returns:
- This builder for chaining.
-
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](https://google.aip.dev/160).
string machine_filter = 3;- Specified by:
getMachineFilterin interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The machineFilter.
-
getMachineFilterBytes
public com.google.protobuf.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](https://google.aip.dev/160).
string machine_filter = 3;- Specified by:
getMachineFilterBytesin interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The bytes for machineFilter.
-
setMachineFilter
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](https://google.aip.dev/160).
string machine_filter = 3;- Parameters:
value- The machineFilter to set.- Returns:
- This builder for chaining.
-
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](https://google.aip.dev/160).
string machine_filter = 3;- Returns:
- This builder for chaining.
-
setMachineFilterBytes
public Cluster.ControlPlane.Local.Builder setMachineFilterBytes(com.google.protobuf.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](https://google.aip.dev/160).
string machine_filter = 3;- Parameters:
value- The bytes for machineFilter to set.- Returns:
- This builder for chaining.
-
getControlPlaneNodeStorageSchema
Optional. Name for the storage schema of control plane nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getControlPlaneNodeStorageSchemain interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The controlPlaneNodeStorageSchema.
-
getControlPlaneNodeStorageSchemaBytes
public com.google.protobuf.ByteString getControlPlaneNodeStorageSchemaBytes()Optional. Name for the storage schema of control plane nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getControlPlaneNodeStorageSchemaBytesin interfaceCluster.ControlPlane.LocalOrBuilder- Returns:
- The bytes for controlPlaneNodeStorageSchema.
-
setControlPlaneNodeStorageSchema
Optional. Name for the storage schema of control plane nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The controlPlaneNodeStorageSchema to set.- Returns:
- This builder for chaining.
-
clearControlPlaneNodeStorageSchema
Optional. Name for the storage schema of control plane nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setControlPlaneNodeStorageSchemaBytes
public Cluster.ControlPlane.Local.Builder setControlPlaneNodeStorageSchemaBytes(com.google.protobuf.ByteString value) Optional. Name for the storage schema of control plane nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string control_plane_node_storage_schema = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for controlPlaneNodeStorageSchema to set.- Returns:
- This builder for chaining.
-