Class CommonFeatureSpec (1.36.0)

public final class CommonFeatureSpec extends GeneratedMessageV3 implements CommonFeatureSpecOrBuilder

CommonFeatureSpec contains Hub-wide configuration information

Protobuf type google.cloud.gkehub.v1beta.CommonFeatureSpec

Static Fields

MULTICLUSTERINGRESS_FIELD_NUMBER

public static final int MULTICLUSTERINGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CommonFeatureSpec getDefaultInstance()
Returns
TypeDescription
CommonFeatureSpec

getDescriptor()

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

newBuilder()

public static CommonFeatureSpec.Builder newBuilder()
Returns
TypeDescription
CommonFeatureSpec.Builder

newBuilder(CommonFeatureSpec prototype)

public static CommonFeatureSpec.Builder newBuilder(CommonFeatureSpec prototype)
Parameter
NameDescription
prototypeCommonFeatureSpec
Returns
TypeDescription
CommonFeatureSpec.Builder

parseDelimitedFrom(InputStream input)

public static CommonFeatureSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CommonFeatureSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommonFeatureSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommonFeatureSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CommonFeatureSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CommonFeatureSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommonFeatureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CommonFeatureSpec> parser()
Returns
TypeDescription
Parser<CommonFeatureSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CommonFeatureSpec getDefaultInstanceForType()
Returns
TypeDescription
CommonFeatureSpec

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.

getMulticlusteringressOrBuilder()

public FeatureSpecOrBuilder getMulticlusteringressOrBuilder()

Multicluster Ingress-specific spec.

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

Returns
TypeDescription
FeatureSpecOrBuilder

getParserForType()

public Parser<CommonFeatureSpec> getParserForType()
Returns
TypeDescription
Parser<CommonFeatureSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommonFeatureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CommonFeatureSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException