Class RestoreConfig.GroupKind.Builder (0.16.0)

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.events.cloud.gkebackup.v1.RestoreConfig.GroupKind

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RestoreConfig.GroupKind.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestoreConfig.GroupKind.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public RestoreConfig.GroupKind.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RestoreConfig.GroupKind.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RestoreConfig.GroupKind.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RestoreConfig.GroupKind.Builder
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
Type Description
RestoreConfig.GroupKind.Builder

This builder for chaining.

clearResourceKind()

public RestoreConfig.GroupKind.Builder clearResourceKind()

Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.

string resource_kind = 2;

Returns
Type Description
RestoreConfig.GroupKind.Builder

This builder for chaining.

clone()

public RestoreConfig.GroupKind.Builder clone()
Returns
Type Description
RestoreConfig.GroupKind.Builder
Overrides

getDefaultInstanceForType()

public RestoreConfig.GroupKind getDefaultInstanceForType()
Returns
Type Description
RestoreConfig.GroupKind

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RestoreConfig.GroupKind.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreConfig.GroupKind.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RestoreConfig.GroupKind.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestoreConfig.GroupKind.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RestoreConfig.GroupKind.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RestoreConfig.GroupKind.Builder
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
Type Description
RestoreConfig.GroupKind.Builder

This builder for chaining.

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
Type Description
RestoreConfig.GroupKind.Builder

This builder for chaining.

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
Type Description
RestoreConfig.GroupKind.Builder

This builder for chaining.

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
Type Description
RestoreConfig.GroupKind.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RestoreConfig.GroupKind.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreConfig.GroupKind.Builder
Overrides