Class CommonFeatureSpec.Builder (1.53.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.v1alpha.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

clearCloudauditlogging()

public CommonFeatureSpec.Builder clearCloudauditlogging()

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Returns
Type Description
CommonFeatureSpec.Builder

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.v1alpha.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

getCloudauditlogging()

public FeatureSpec getCloudauditlogging()

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Returns
Type Description
FeatureSpec

The cloudauditlogging.

getCloudauditloggingBuilder()

public FeatureSpec.Builder getCloudauditloggingBuilder()

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Returns
Type Description
FeatureSpec.Builder

getCloudauditloggingOrBuilder()

public FeatureSpecOrBuilder getCloudauditloggingOrBuilder()

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Returns
Type Description
FeatureSpecOrBuilder

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.v1alpha.FeatureSpec multiclusteringress = 102;

Returns
Type Description
FeatureSpec

The multiclusteringress.

getMulticlusteringressBuilder()

public FeatureSpec.Builder getMulticlusteringressBuilder()

Multicluster Ingress-specific spec.

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

Returns
Type Description
FeatureSpec.Builder

getMulticlusteringressOrBuilder()

public FeatureSpecOrBuilder getMulticlusteringressOrBuilder()

Multicluster Ingress-specific spec.

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

Returns
Type Description
FeatureSpecOrBuilder

hasCloudauditlogging()

public boolean hasCloudauditlogging()

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Returns
Type Description
boolean

Whether the cloudauditlogging field is set.

hasMulticlusteringress()

public boolean hasMulticlusteringress()

Multicluster Ingress-specific spec.

.google.cloud.gkehub.multiclusteringress.v1alpha.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

mergeCloudauditlogging(FeatureSpec value)

public CommonFeatureSpec.Builder mergeCloudauditlogging(FeatureSpec value)

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Parameter
Name Description
value FeatureSpec
Returns
Type Description
CommonFeatureSpec.Builder

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.v1alpha.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

setCloudauditlogging(FeatureSpec value)

public CommonFeatureSpec.Builder setCloudauditlogging(FeatureSpec value)

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

Parameter
Name Description
value FeatureSpec
Returns
Type Description
CommonFeatureSpec.Builder

setCloudauditlogging(FeatureSpec.Builder builderForValue)

public CommonFeatureSpec.Builder setCloudauditlogging(FeatureSpec.Builder builderForValue)

Cloud Audit Logging-specific spec.

.google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec cloudauditlogging = 108;

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

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.v1alpha.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.v1alpha.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