public static final class RestoreConfig.GroupKind.Builder extends GeneratedMessageV3.Builder<RestoreConfig.GroupKind.Builder> 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 Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.GroupKind.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RestoreConfig.GroupKind build()
Returns
buildPartial()
public RestoreConfig.GroupKind buildPartial()
Returns
clear()
public RestoreConfig.GroupKind.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.GroupKind.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.GroupKind.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourceGroup()
public RestoreConfig.GroupKind.Builder clearResourceGroup()
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
clearResourceKind()
public RestoreConfig.GroupKind.Builder clearResourceKind()
Kind of a Kubernetes resource, e.g.
"CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;
Returns
clone()
public RestoreConfig.GroupKind.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RestoreConfig.GroupKind getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RestoreConfig.GroupKind other)
public RestoreConfig.GroupKind.Builder mergeFrom(RestoreConfig.GroupKind other)
Parameter
Returns
public RestoreConfig.GroupKind.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RestoreConfig.GroupKind.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.GroupKind.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.GroupKind.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.GroupKind.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResourceGroup(String value)
public RestoreConfig.GroupKind.Builder setResourceGroup(String value)
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;
Parameter
Name | Description |
value | String
The resourceGroup to set.
|
Returns
setResourceGroupBytes(ByteString value)
public RestoreConfig.GroupKind.Builder setResourceGroupBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for resourceGroup to set.
|
Returns
setResourceKind(String value)
public RestoreConfig.GroupKind.Builder setResourceKind(String value)
Kind of a Kubernetes resource, e.g.
"CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;
Parameter
Name | Description |
value | String
The resourceKind to set.
|
Returns
setResourceKindBytes(ByteString value)
public RestoreConfig.GroupKind.Builder setResourceKindBytes(ByteString value)
Kind of a Kubernetes resource, e.g.
"CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;
Parameter
Name | Description |
value | ByteString
The bytes for resourceKind to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.GroupKind.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides