Class CommonFeatureSpec.Builder (1.27.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.v1beta.CommonFeatureSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommonFeatureSpec build()
Returns
TypeDescription
CommonFeatureSpec

buildPartial()

public CommonFeatureSpec buildPartial()
Returns
TypeDescription
CommonFeatureSpec

clear()

public CommonFeatureSpec.Builder clear()
Returns
TypeDescription
CommonFeatureSpec.Builder
Overrides

clearFeatureSpec()

public CommonFeatureSpec.Builder clearFeatureSpec()
Returns
TypeDescription
CommonFeatureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMulticlusteringress()

public CommonFeatureSpec.Builder clearMulticlusteringress()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
CommonFeatureSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CommonFeatureSpec.Builder clone()
Returns
TypeDescription
CommonFeatureSpec.Builder
Overrides

getDefaultInstanceForType()

public CommonFeatureSpec getDefaultInstanceForType()
Returns
TypeDescription
CommonFeatureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatureSpecCase()

public CommonFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
TypeDescription
CommonFeatureSpec.FeatureSpecCase

getMulticlusteringress()

public FeatureSpec getMulticlusteringress()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
FeatureSpec

The multiclusteringress.

getMulticlusteringressBuilder()

public FeatureSpec.Builder getMulticlusteringressBuilder()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
FeatureSpec.Builder

getMulticlusteringressOrBuilder()

public FeatureSpecOrBuilder getMulticlusteringressOrBuilder()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
FeatureSpecOrBuilder

hasMulticlusteringress()

public boolean hasMulticlusteringress()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
boolean

Whether the multiclusteringress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CommonFeatureSpec other)

public CommonFeatureSpec.Builder mergeFrom(CommonFeatureSpec other)
Parameter
NameDescription
otherCommonFeatureSpec
Returns
TypeDescription
CommonFeatureSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMulticlusteringress(FeatureSpec value)

public CommonFeatureSpec.Builder mergeMulticlusteringress(FeatureSpec value)

Multicluster Ingress-specific spec.

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

Parameter
NameDescription
valueFeatureSpec
Returns
TypeDescription
CommonFeatureSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMulticlusteringress(FeatureSpec value)

public CommonFeatureSpec.Builder setMulticlusteringress(FeatureSpec value)

Multicluster Ingress-specific spec.

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

Parameter
NameDescription
valueFeatureSpec
Returns
TypeDescription
CommonFeatureSpec.Builder

setMulticlusteringress(FeatureSpec.Builder builderForValue)

public CommonFeatureSpec.Builder setMulticlusteringress(FeatureSpec.Builder builderForValue)

Multicluster Ingress-specific spec.

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

Parameter
NameDescription
builderForValueFeatureSpec.Builder
Returns
TypeDescription
CommonFeatureSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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