public static final class RestoreConfig.VolumeDataRestorePolicyBinding.Builder extends GeneratedMessage.Builder<RestoreConfig.VolumeDataRestorePolicyBinding.Builder> implements RestoreConfig.VolumeDataRestorePolicyBindingOrBuilderBinds resources in the scope to the given VolumeDataRestorePolicy.
Protobuf type google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreConfig.VolumeDataRestorePolicyBinding.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreConfig.VolumeDataRestorePolicyBinding build()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding |
|
buildPartial()
public RestoreConfig.VolumeDataRestorePolicyBinding buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding |
|
clear()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
|
clearPolicy()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clearPolicy()Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
This builder for chaining. |
clearScope()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clearScope()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
|
clearVolumeType()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clearVolumeType()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RestoreConfig.VolumeDataRestorePolicyBinding getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPolicy()
public RestoreConfig.VolumeDataRestorePolicy getPolicy()Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicy |
The policy. |
getPolicyValue()
public int getPolicyValue()Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for policy. |
getScopeCase()
public RestoreConfig.VolumeDataRestorePolicyBinding.ScopeCase getScopeCase()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.ScopeCase |
|
getVolumeType()
public VolumeTypeEnum.VolumeType getVolumeType()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
VolumeTypeEnum.VolumeType |
The volumeType. |
getVolumeTypeValue()
public int getVolumeTypeValue()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for volumeType. |
hasVolumeType()
public boolean hasVolumeType()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the volumeType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RestoreConfig.VolumeDataRestorePolicyBinding other)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeFrom(RestoreConfig.VolumeDataRestorePolicyBinding other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreConfig.VolumeDataRestorePolicyBinding |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
|
setPolicy(RestoreConfig.VolumeDataRestorePolicy value)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder setPolicy(RestoreConfig.VolumeDataRestorePolicy value)Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreConfig.VolumeDataRestorePolicyThe policy to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
This builder for chaining. |
setPolicyValue(int value)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder setPolicyValue(int value)Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for policy to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
This builder for chaining. |
setVolumeType(VolumeTypeEnum.VolumeType value)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder setVolumeType(VolumeTypeEnum.VolumeType value)The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
VolumeTypeEnum.VolumeTypeThe volumeType to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
This builder for chaining. |
setVolumeTypeValue(int value)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder setVolumeTypeValue(int value)The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for volumeType to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.VolumeDataRestorePolicyBinding.Builder |
This builder for chaining. |