public static final class RestoreConfig.GroupKind.Builder extends GeneratedMessage.Builder<RestoreConfig.GroupKind.Builder> implements RestoreConfig.GroupKindOrBuilderThis 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreConfig.GroupKind.BuilderImplements
RestoreConfig.GroupKindOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreConfig.GroupKind build()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind |
|
buildPartial()
public RestoreConfig.GroupKind buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind |
|
clear()
public RestoreConfig.GroupKind.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
|
clearResourceGroup()
public RestoreConfig.GroupKind.Builder clearResourceGroup()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 |
RestoreConfig.GroupKind.Builder |
This builder for chaining. |
clearResourceKind()
public RestoreConfig.GroupKind.Builder clearResourceKind()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 |
RestoreConfig.GroupKind.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RestoreConfig.GroupKind getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RestoreConfig.GroupKind other)
public RestoreConfig.GroupKind.Builder mergeFrom(RestoreConfig.GroupKind other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreConfig.GroupKind |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreConfig.GroupKind.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreConfig.GroupKind.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
|
setResourceGroup(String value)
public RestoreConfig.GroupKind.Builder setResourceGroup(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceGroup to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
This builder for chaining. |
setResourceGroupBytes(ByteString value)
public RestoreConfig.GroupKind.Builder setResourceGroupBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceGroup to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
This builder for chaining. |
setResourceKind(String value)
public RestoreConfig.GroupKind.Builder setResourceKind(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceKind to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
This builder for chaining. |
setResourceKindBytes(ByteString value)
public RestoreConfig.GroupKind.Builder setResourceKindBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceKind to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.GroupKind.Builder |
This builder for chaining. |