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

clearCloudauditlogging()

public CommonFeatureSpec.Builder clearCloudauditlogging()

Cloud Audit Logging-specific spec.

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

Returns
TypeDescription
CommonFeatureSpec.Builder

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

getCloudauditlogging()

public FeatureSpec getCloudauditlogging()

Cloud Audit Logging-specific spec.

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

Returns
TypeDescription
FeatureSpec

The cloudauditlogging.

getCloudauditloggingBuilder()

public FeatureSpec.Builder getCloudauditloggingBuilder()

Cloud Audit Logging-specific spec.

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

Returns
TypeDescription
FeatureSpec.Builder

getCloudauditloggingOrBuilder()

public FeatureSpecOrBuilder getCloudauditloggingOrBuilder()

Cloud Audit Logging-specific spec.

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

Returns
TypeDescription
FeatureSpecOrBuilder

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

Returns
TypeDescription
FeatureSpec

The multiclusteringress.

getMulticlusteringressBuilder()

public FeatureSpec.Builder getMulticlusteringressBuilder()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
FeatureSpec.Builder

getMulticlusteringressOrBuilder()

public FeatureSpecOrBuilder getMulticlusteringressOrBuilder()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
FeatureSpecOrBuilder

hasCloudauditlogging()

public boolean hasCloudauditlogging()

Cloud Audit Logging-specific spec.

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

Returns
TypeDescription
boolean

Whether the cloudauditlogging field is set.

hasMulticlusteringress()

public boolean hasMulticlusteringress()

Multicluster Ingress-specific spec.

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

mergeCloudauditlogging(FeatureSpec value)

public CommonFeatureSpec.Builder mergeCloudauditlogging(FeatureSpec value)

Cloud Audit Logging-specific spec.

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

Parameter
NameDescription
valueFeatureSpec
Returns
TypeDescription
CommonFeatureSpec.Builder

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

setCloudauditlogging(FeatureSpec value)

public CommonFeatureSpec.Builder setCloudauditlogging(FeatureSpec value)

Cloud Audit Logging-specific spec.

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

Parameter
NameDescription
valueFeatureSpec
Returns
TypeDescription
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
NameDescription
builderForValueFeatureSpec.Builder
Returns
TypeDescription
CommonFeatureSpec.Builder

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