Send feedback
Class RestoreConfig.VolumeDataRestorePolicyBinding.Builder (0.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.52.0 keyboard_arrow_down
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]