Class CommonFeatureSpec.Builder (1.43.0)

public static final class CommonFeatureSpec.Builder extends GeneratedMessageV3.Builder<CommonFeatureSpec.Builder> implements CommonFeatureSpecOrBuilder

CommonFeatureSpec contains Hub-wide configuration information

Protobuf type google.cloud.gkehub.v1.CommonFeatureSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommonFeatureSpec build()
Returns
Type Description
CommonFeatureSpec

buildPartial()

public CommonFeatureSpec buildPartial()
Returns
Type Description
CommonFeatureSpec

clear()

public CommonFeatureSpec.Builder clear()
Returns
Type Description
CommonFeatureSpec.Builder
Overrides

clearFeatureSpec()

public CommonFeatureSpec.Builder clearFeatureSpec()
Returns
Type Description
CommonFeatureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public CommonFeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommonFeatureSpec.Builder
Overrides

clearMulticlusteringress()

public CommonFeatureSpec.Builder clearMulticlusteringress()

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Returns
Type Description
CommonFeatureSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CommonFeatureSpec.Builder clone()
Returns
Type Description
CommonFeatureSpec.Builder
Overrides

getDefaultInstanceForType()

public CommonFeatureSpec getDefaultInstanceForType()
Returns
Type Description
CommonFeatureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeatureSpecCase()

public CommonFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
Type Description
CommonFeatureSpec.FeatureSpecCase

getMulticlusteringress()

public FeatureSpec getMulticlusteringress()

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Returns
Type Description
FeatureSpec

The multiclusteringress.

getMulticlusteringressBuilder()

public FeatureSpec.Builder getMulticlusteringressBuilder()

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Returns
Type Description
FeatureSpec.Builder

getMulticlusteringressOrBuilder()

public FeatureSpecOrBuilder getMulticlusteringressOrBuilder()

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Returns
Type Description
FeatureSpecOrBuilder

hasMulticlusteringress()

public boolean hasMulticlusteringress()

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Returns
Type Description
boolean

Whether the multiclusteringress field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommonFeatureSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CommonFeatureSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CommonFeatureSpec.Builder
Overrides

mergeMulticlusteringress(FeatureSpec value)

public CommonFeatureSpec.Builder mergeMulticlusteringress(FeatureSpec value)

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Parameter
Name Description
value FeatureSpec
Returns
Type Description
CommonFeatureSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CommonFeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommonFeatureSpec.Builder
Overrides

setMulticlusteringress(FeatureSpec value)

public CommonFeatureSpec.Builder setMulticlusteringress(FeatureSpec value)

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Parameter
Name Description
value FeatureSpec
Returns
Type Description
CommonFeatureSpec.Builder

setMulticlusteringress(FeatureSpec.Builder builderForValue)

public CommonFeatureSpec.Builder setMulticlusteringress(FeatureSpec.Builder builderForValue)

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1.FeatureSpec multiclusteringress = 102;

Parameter
Name Description
builderForValue FeatureSpec.Builder
Returns
Type Description
CommonFeatureSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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