Package com.google.cloud.gkebackup.v1
Class RestoreConfig.GroupKind
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkebackup.v1.RestoreConfig.GroupKind
-
- All Implemented Interfaces:
RestoreConfig.GroupKindOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- RestoreConfig
public static final class RestoreConfig.GroupKind extends com.google.protobuf.GeneratedMessageV3 implements RestoreConfig.GroupKindOrBuilder
This is a direct map to the Kubernetes GroupKind type [GroupKind](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for identifying specific "types" of resources to restore.
Protobuf typegoogle.cloud.gkebackup.v1.RestoreConfig.GroupKind- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestoreConfig.GroupKind.BuilderThis is a direct map to the Kubernetes GroupKind type [GroupKind](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for identifying specific "types" of resources to restore.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intRESOURCE_GROUP_FIELD_NUMBERstatic intRESOURCE_KIND_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RestoreConfig.GroupKindgetDefaultInstance()RestoreConfig.GroupKindgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<RestoreConfig.GroupKind>getParserForType()StringgetResourceGroup()API group string of a Kubernetes resource, e.g.com.google.protobuf.ByteStringgetResourceGroupBytes()API group string of a Kubernetes resource, e.g.StringgetResourceKind()Kind of a Kubernetes resource, e.g.com.google.protobuf.ByteStringgetResourceKindBytes()Kind of a Kubernetes resource, e.g.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RestoreConfig.GroupKind.BuildernewBuilder()static RestoreConfig.GroupKind.BuildernewBuilder(RestoreConfig.GroupKind prototype)RestoreConfig.GroupKind.BuildernewBuilderForType()protected RestoreConfig.GroupKind.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RestoreConfig.GroupKindparseDelimitedFrom(InputStream input)static RestoreConfig.GroupKindparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfig.GroupKindparseFrom(byte[] data)static RestoreConfig.GroupKindparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfig.GroupKindparseFrom(com.google.protobuf.ByteString data)static RestoreConfig.GroupKindparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfig.GroupKindparseFrom(com.google.protobuf.CodedInputStream input)static RestoreConfig.GroupKindparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfig.GroupKindparseFrom(InputStream input)static RestoreConfig.GroupKindparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfig.GroupKindparseFrom(ByteBuffer data)static RestoreConfig.GroupKindparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RestoreConfig.GroupKind>parser()RestoreConfig.GroupKind.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_GROUP_FIELD_NUMBER
public static final int RESOURCE_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_KIND_FIELD_NUMBER
public static final int RESOURCE_KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getResourceGroupin interfaceRestoreConfig.GroupKindOrBuilder- Returns:
- The resourceGroup.
-
getResourceGroupBytes
public com.google.protobuf.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;- Specified by:
getResourceGroupBytesin interfaceRestoreConfig.GroupKindOrBuilder- Returns:
- The bytes for resourceGroup.
-
getResourceKind
public String getResourceKind()
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;- Specified by:
getResourceKindin interfaceRestoreConfig.GroupKindOrBuilder- Returns:
- The resourceKind.
-
getResourceKindBytes
public com.google.protobuf.ByteString getResourceKindBytes()
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;- Specified by:
getResourceKindBytesin interfaceRestoreConfig.GroupKindOrBuilder- Returns:
- The bytes for resourceKind.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreConfig.GroupKind parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreConfig.GroupKind parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RestoreConfig.GroupKind.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RestoreConfig.GroupKind.Builder newBuilder()
-
newBuilder
public static RestoreConfig.GroupKind.Builder newBuilder(RestoreConfig.GroupKind prototype)
-
toBuilder
public RestoreConfig.GroupKind.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RestoreConfig.GroupKind.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RestoreConfig.GroupKind getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RestoreConfig.GroupKind> parser()
-
getParserForType
public com.google.protobuf.Parser<RestoreConfig.GroupKind> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RestoreConfig.GroupKind getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-