Send feedback
Class RestoreConfig.VolumeDataRestorePolicyBinding (0.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.43.0 keyboard_arrow_down
public static final class RestoreConfig . VolumeDataRestorePolicyBinding extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value
Type
Description
int
VOLUME_TYPE_FIELD_NUMBER
public static final int VOLUME_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static RestoreConfig . VolumeDataRestorePolicyBinding getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RestoreConfig . VolumeDataRestorePolicyBinding . Builder newBuilder ()
newBuilder(RestoreConfig.VolumeDataRestorePolicyBinding prototype)
public static RestoreConfig . VolumeDataRestorePolicyBinding . Builder newBuilder ( RestoreConfig . VolumeDataRestorePolicyBinding prototype )
public static RestoreConfig . VolumeDataRestorePolicyBinding parseDelimitedFrom ( InputStream input )
public static RestoreConfig . VolumeDataRestorePolicyBinding parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( CodedInputStream input )
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( InputStream input )
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreConfig . VolumeDataRestorePolicyBinding parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RestoreConfig . VolumeDataRestorePolicyBinding > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public RestoreConfig . VolumeDataRestorePolicyBinding getDefaultInstanceForType ()
getParserForType()
public Parser<RestoreConfig . VolumeDataRestorePolicyBinding > getParserForType ()
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 ()
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RestoreConfig . VolumeDataRestorePolicyBinding . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestoreConfig . VolumeDataRestorePolicyBinding . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public RestoreConfig . VolumeDataRestorePolicyBinding . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
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."],[],[]]