Class CommonFeatureSpec (1.45.0)

public final class CommonFeatureSpec extends GeneratedMessageV3 implements CommonFeatureSpecOrBuilder

CommonFeatureSpec contains Hub-wide configuration information

Protobuf type google.cloud.gkehub.v1alpha.CommonFeatureSpec

Static Fields

CLOUDAUDITLOGGING_FIELD_NUMBER

public static final int CLOUDAUDITLOGGING_FIELD_NUMBER
Field Value
Type Description
int

MULTICLUSTERINGRESS_FIELD_NUMBER

public static final int MULTICLUSTERINGRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CommonFeatureSpec getDefaultInstance()
Returns
Type Description
CommonFeatureSpec

getDescriptor()

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

newBuilder()

public static CommonFeatureSpec.Builder newBuilder()
Returns
Type Description
CommonFeatureSpec.Builder

newBuilder(CommonFeatureSpec prototype)

public static CommonFeatureSpec.Builder newBuilder(CommonFeatureSpec prototype)
Parameter
Name Description
prototype CommonFeatureSpec
Returns
Type Description
CommonFeatureSpec.Builder

parseDelimitedFrom(InputStream input)

public static CommonFeatureSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CommonFeatureSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommonFeatureSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommonFeatureSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CommonFeatureSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CommonFeatureSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CommonFeatureSpec> parser()
Returns
Type Description
Parser<CommonFeatureSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudauditlogging()

public FeatureSpec getCloudauditlogging()

Cloud Audit Logging-specific spec.

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

Returns
Type Description
FeatureSpec

The cloudauditlogging.

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

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.

getMulticlusteringressOrBuilder()

public FeatureSpecOrBuilder getMulticlusteringressOrBuilder()

Multicluster Ingress-specific spec.

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

Returns
Type Description
FeatureSpecOrBuilder

getParserForType()

public Parser<CommonFeatureSpec> getParserForType()
Returns
Type Description
Parser<CommonFeatureSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommonFeatureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CommonFeatureSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException