Class Cluster.ControlPlane.Builder (0.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.ControlPlane.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides

build()

public Cluster.ControlPlane build()
Returns
Type Description
Cluster.ControlPlane

buildPartial()

public Cluster.ControlPlane buildPartial()
Returns
Type Description
Cluster.ControlPlane

clear()

public Cluster.ControlPlane.Builder clear()
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides

clearConfig()

public Cluster.ControlPlane.Builder clearConfig()
Returns
Type Description
Cluster.ControlPlane.Builder

clearField(Descriptors.FieldDescriptor field)

public Cluster.ControlPlane.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Cluster.ControlPlane.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.ControlPlane.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides

clearRemote()

public Cluster.ControlPlane.Builder clearRemote()

Remote control plane configuration.

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

Returns
Type Description
Cluster.ControlPlane.Builder

clone()

public Cluster.ControlPlane.Builder clone()
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides

getConfigCase()

public Cluster.ControlPlane.ConfigCase getConfigCase()
Returns
Type Description
Cluster.ControlPlane.ConfigCase

getDefaultInstanceForType()

public Cluster.ControlPlane getDefaultInstanceForType()
Returns
Type Description
Cluster.ControlPlane

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
Cluster.ControlPlane.LocalOrBuilder

getRemote()

public Cluster.ControlPlane.Remote getRemote()

Remote control plane configuration.

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

Returns
Type Description
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
Type Description
Cluster.ControlPlane.Remote.Builder

getRemoteOrBuilder()

public Cluster.ControlPlane.RemoteOrBuilder getRemoteOrBuilder()

Remote control plane configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the remote field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Cluster.ControlPlane other)

public Cluster.ControlPlane.Builder mergeFrom(Cluster.ControlPlane other)
Parameter
Name Description
other Cluster.ControlPlane
Returns
Type Description
Cluster.ControlPlane.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.ControlPlane.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Cluster.ControlPlane.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Cluster.ControlPlane.Local
Returns
Type Description
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
Name Description
value Cluster.ControlPlane.Remote
Returns
Type Description
Cluster.ControlPlane.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.ControlPlane.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.ControlPlane.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Cluster.ControlPlane.Local
Returns
Type Description
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
Name Description
builderForValue Cluster.ControlPlane.Local.Builder
Returns
Type Description
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
Name Description
value Cluster.ControlPlane.Remote
Returns
Type Description
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
Name Description
builderForValue Cluster.ControlPlane.Remote.Builder
Returns
Type Description
Cluster.ControlPlane.Builder

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

public Cluster.ControlPlane.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.ControlPlane.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.ControlPlane.Builder
Overrides