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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RestoreConfig.GroupKind.Builder newBuilder()
newBuilder(RestoreConfig.GroupKind prototype)
public static RestoreConfig.GroupKind.Builder newBuilder(RestoreConfig.GroupKind prototype)
public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input)
public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RestoreConfig.GroupKind parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RestoreConfig.GroupKind parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(CodedInputStream input)
public static RestoreConfig.GroupKind parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(InputStream input)
public static RestoreConfig.GroupKind parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RestoreConfig.GroupKind parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig.GroupKind parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RestoreConfig.GroupKind> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RestoreConfig.GroupKind getDefaultInstanceForType()
getParserForType()
public Parser<RestoreConfig.GroupKind> getParserForType()
Overrides
getResourceGroup()
public String getResourceGroup()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The resourceGroup.
|
getResourceGroupBytes()
public ByteString getResourceGroupBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for resourceGroup.
|
getResourceKind()
public String getResourceKind()
Optional. Kind of a Kubernetes resource, must be in UpperCamelCase
(PascalCase) and singular form. E.g. "CustomResourceDefinition",
"StorageClass", etc.
string resource_kind = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The resourceKind.
|
getResourceKindBytes()
public ByteString getResourceKindBytes()
Optional. Kind of a Kubernetes resource, must be in UpperCamelCase
(PascalCase) and singular form. E.g. "CustomResourceDefinition",
"StorageClass", etc.
string resource_kind = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for resourceKind.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RestoreConfig.GroupKind.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestoreConfig.GroupKind.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RestoreConfig.GroupKind.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides