Class RestoreConfig.GroupKind (0.34.0)

public static final class RestoreConfig.GroupKind extends GeneratedMessageV3 implements RestoreConfig.GroupKindOrBuilder

This is a direct map to the Kubernetes GroupKind type GroupKind and is used for identifying specific "types" of resources to restore.

Protobuf type google.cloud.gkebackup.v1.RestoreConfig.GroupKind

Static Fields

RESOURCE_GROUP_FIELD_NUMBER

public static final int RESOURCE_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_KIND_FIELD_NUMBER

public static final int RESOURCE_KIND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RestoreConfig.GroupKind getDefaultInstance()
Returns
TypeDescription
RestoreConfig.GroupKind

getDescriptor()

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

newBuilder()

public static RestoreConfig.GroupKind.Builder newBuilder()
Returns
TypeDescription
RestoreConfig.GroupKind.Builder

newBuilder(RestoreConfig.GroupKind prototype)

public static RestoreConfig.GroupKind.Builder newBuilder(RestoreConfig.GroupKind prototype)
Parameter
NameDescription
prototypeRestoreConfig.GroupKind
Returns
TypeDescription
RestoreConfig.GroupKind.Builder

parseDelimitedFrom(InputStream input)

public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RestoreConfig.GroupKind
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RestoreConfig.GroupKind parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RestoreConfig.GroupKind
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RestoreConfig.GroupKind parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RestoreConfig.GroupKind
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RestoreConfig.GroupKind parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RestoreConfig.GroupKind
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RestoreConfig.GroupKind parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RestoreConfig.GroupKind
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RestoreConfig.GroupKind> parser()
Returns
TypeDescription
Parser<GroupKind>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RestoreConfig.GroupKind getDefaultInstanceForType()
Returns
TypeDescription
RestoreConfig.GroupKind

getParserForType()

public Parser<RestoreConfig.GroupKind> getParserForType()
Returns
TypeDescription
Parser<GroupKind>
Overrides

getResourceGroup()

public String getResourceGroup()

API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group

string resource_group = 1;

Returns
TypeDescription
String

The resourceGroup.

getResourceGroupBytes()

public ByteString getResourceGroupBytes()

API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group

string resource_group = 1;

Returns
TypeDescription
ByteString

The bytes for resourceGroup.

getResourceKind()

public String getResourceKind()

Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.

string resource_kind = 2;

Returns
TypeDescription
String

The resourceKind.

getResourceKindBytes()

public ByteString getResourceKindBytes()

Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.

string resource_kind = 2;

Returns
TypeDescription
ByteString

The bytes for resourceKind.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 RestoreConfig.GroupKind.Builder newBuilderForType()
Returns
TypeDescription
RestoreConfig.GroupKind.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RestoreConfig.GroupKind.Builder toBuilder()
Returns
TypeDescription
RestoreConfig.GroupKind.Builder

writeTo(CodedOutputStream output)

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