public static final class RestoreConfig.VolumeDataRestorePolicyBinding.Builder extends GeneratedMessageV3.Builder<RestoreConfig.VolumeDataRestorePolicyBinding.Builder> implements RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder
Binds resources in the scope to the given VolumeDataRestorePolicy.
Protobuf type google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding
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.VolumeDataRestorePolicyBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RestoreConfig.VolumeDataRestorePolicyBinding build()
buildPartial()
public RestoreConfig.VolumeDataRestorePolicyBinding buildPartial()
clear()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clearScope()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clearScope()
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;
clone()
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder clone()
Overrides
getDefaultInstanceForType()
public RestoreConfig.VolumeDataRestorePolicyBinding getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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()
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RestoreConfig.VolumeDataRestorePolicyBinding other)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeFrom(RestoreConfig.VolumeDataRestorePolicyBinding other)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.VolumeDataRestorePolicyBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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 |
int
The enum numeric value on the wire for policy to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.VolumeDataRestorePolicyBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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 |
int
The enum numeric value on the wire for volumeType to set.
|