Class Cluster.ControlPlane.Builder (0.38.0)

public static final class Cluster.ControlPlane.Builder extends GeneratedMessageV3.Builder<Cluster.ControlPlane.Builder> implements Cluster.ControlPlaneOrBuilder

Configuration of the cluster control plane.

Protobuf type google.cloud.edgecontainer.v1.Cluster.ControlPlane

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.ControlPlane.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

build()

public Cluster.ControlPlane build()
Returns
TypeDescription
Cluster.ControlPlane

buildPartial()

public Cluster.ControlPlane buildPartial()
Returns
TypeDescription
Cluster.ControlPlane

clear()

public Cluster.ControlPlane.Builder clear()
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

clearConfig()

public Cluster.ControlPlane.Builder clearConfig()
Returns
TypeDescription
Cluster.ControlPlane.Builder

clearField(Descriptors.FieldDescriptor field)

public Cluster.ControlPlane.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

clearLocal()

public Cluster.ControlPlane.Builder clearLocal()

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Returns
TypeDescription
Cluster.ControlPlane.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.ControlPlane.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

clearRemote()

public Cluster.ControlPlane.Builder clearRemote()

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Returns
TypeDescription
Cluster.ControlPlane.Builder

clone()

public Cluster.ControlPlane.Builder clone()
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

getConfigCase()

public Cluster.ControlPlane.ConfigCase getConfigCase()
Returns
TypeDescription
Cluster.ControlPlane.ConfigCase

getDefaultInstanceForType()

public Cluster.ControlPlane getDefaultInstanceForType()
Returns
TypeDescription
Cluster.ControlPlane

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocal()

public Cluster.ControlPlane.Local getLocal()

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Returns
TypeDescription
Cluster.ControlPlane.Local

The local.

getLocalBuilder()

public Cluster.ControlPlane.Local.Builder getLocalBuilder()

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Returns
TypeDescription
Cluster.ControlPlane.Local.Builder

getLocalOrBuilder()

public Cluster.ControlPlane.LocalOrBuilder getLocalOrBuilder()

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Returns
TypeDescription
Cluster.ControlPlane.LocalOrBuilder

getRemote()

public Cluster.ControlPlane.Remote getRemote()

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Returns
TypeDescription
Cluster.ControlPlane.Remote

The remote.

getRemoteBuilder()

public Cluster.ControlPlane.Remote.Builder getRemoteBuilder()

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Returns
TypeDescription
Cluster.ControlPlane.Remote.Builder

getRemoteOrBuilder()

public Cluster.ControlPlane.RemoteOrBuilder getRemoteOrBuilder()

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Returns
TypeDescription
Cluster.ControlPlane.RemoteOrBuilder

hasLocal()

public boolean hasLocal()

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Returns
TypeDescription
boolean

Whether the local field is set.

hasRemote()

public boolean hasRemote()

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Returns
TypeDescription
boolean

Whether the remote field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Cluster.ControlPlane other)

public Cluster.ControlPlane.Builder mergeFrom(Cluster.ControlPlane other)
Parameter
NameDescription
otherCluster.ControlPlane
Returns
TypeDescription
Cluster.ControlPlane.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.ControlPlane.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Cluster.ControlPlane.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

mergeLocal(Cluster.ControlPlane.Local value)

public Cluster.ControlPlane.Builder mergeLocal(Cluster.ControlPlane.Local value)

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Parameter
NameDescription
valueCluster.ControlPlane.Local
Returns
TypeDescription
Cluster.ControlPlane.Builder

mergeRemote(Cluster.ControlPlane.Remote value)

public Cluster.ControlPlane.Builder mergeRemote(Cluster.ControlPlane.Remote value)

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Parameter
NameDescription
valueCluster.ControlPlane.Remote
Returns
TypeDescription
Cluster.ControlPlane.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.ControlPlane.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.ControlPlane.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

setLocal(Cluster.ControlPlane.Local value)

public Cluster.ControlPlane.Builder setLocal(Cluster.ControlPlane.Local value)

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Parameter
NameDescription
valueCluster.ControlPlane.Local
Returns
TypeDescription
Cluster.ControlPlane.Builder

setLocal(Cluster.ControlPlane.Local.Builder builderForValue)

public Cluster.ControlPlane.Builder setLocal(Cluster.ControlPlane.Local.Builder builderForValue)

Local control plane configuration.

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.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2;

Parameter
NameDescription
builderForValueCluster.ControlPlane.Local.Builder
Returns
TypeDescription
Cluster.ControlPlane.Builder

setRemote(Cluster.ControlPlane.Remote value)

public Cluster.ControlPlane.Builder setRemote(Cluster.ControlPlane.Remote value)

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Parameter
NameDescription
valueCluster.ControlPlane.Remote
Returns
TypeDescription
Cluster.ControlPlane.Builder

setRemote(Cluster.ControlPlane.Remote.Builder builderForValue)

public Cluster.ControlPlane.Builder setRemote(Cluster.ControlPlane.Remote.Builder builderForValue)

Remote control plane configuration.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1;

Parameter
NameDescription
builderForValueCluster.ControlPlane.Remote.Builder
Returns
TypeDescription
Cluster.ControlPlane.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Cluster.ControlPlane.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.ControlPlane.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.ControlPlane.Builder
Overrides