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.events.cloud.gkebackup.v1.RestoreConfig.GroupKind
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RestoreConfig.GroupKindImplements
RestoreConfig.GroupKindOrBuilderStatic Fields
RESOURCE_GROUP_FIELD_NUMBER
public static final int RESOURCE_GROUP_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESOURCE_KIND_FIELD_NUMBER
public static final int RESOURCE_KIND_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RestoreConfig.GroupKind getDefaultInstance()
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static RestoreConfig.GroupKind.Builder newBuilder()
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
newBuilder(RestoreConfig.GroupKind prototype)
public static RestoreConfig.GroupKind.Builder newBuilder(RestoreConfig.GroupKind prototype)
Parameter | |
---|---|
Name | Description |
prototype |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
parseDelimitedFrom(InputStream input)
public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static RestoreConfig.GroupKind parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RestoreConfig.GroupKind parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RestoreConfig.GroupKind parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static RestoreConfig.GroupKind parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RestoreConfig.GroupKind parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RestoreConfig.GroupKind> parser()
Returns | |
---|---|
Type | Description |
Parser<GroupKind> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public RestoreConfig.GroupKind getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
getParserForType()
public Parser<RestoreConfig.GroupKind> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<GroupKind> |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for resourceGroup. |
getResourceKind()
public String getResourceKind()
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;
Returns | |
---|---|
Type | Description |
String |
The resourceKind. |
getResourceKindBytes()
public ByteString getResourceKindBytes()
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceKind. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public RestoreConfig.GroupKind.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestoreConfig.GroupKind.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public RestoreConfig.GroupKind.Builder toBuilder()
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |