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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.GroupKind.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RestoreConfig.GroupKind build()
buildPartial()
public RestoreConfig.GroupKind buildPartial()
clear()
public RestoreConfig.GroupKind.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.GroupKind.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.GroupKind.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clearResourceKind()
public RestoreConfig.GroupKind.Builder clearResourceKind()
Kind of a Kubernetes resource, e.g.
"CustomResourceDefinition", "StorageClass", etc.
string resource_kind = 2;
clone()
public RestoreConfig.GroupKind.Builder clone()
Overrides
getDefaultInstanceForType()
public RestoreConfig.GroupKind getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RestoreConfig.GroupKind other)
public RestoreConfig.GroupKind.Builder mergeFrom(RestoreConfig.GroupKind other)
public RestoreConfig.GroupKind.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RestoreConfig.GroupKind.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.GroupKind.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.GroupKind.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.GroupKind.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.GroupKind.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides