Send feedback
Class SnapshotSettings.Builder (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.55.0 keyboard_arrow_down
public static final class SnapshotSettings . Builder extends GeneratedMessageV3 . Builder<SnapshotSettings . Builder > implements SnapshotSettingsOrBuilder
Protobuf type google.cloud.compute.v1.SnapshotSettings
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 SnapshotSettings . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SnapshotSettings build ()
buildPartial()
public SnapshotSettings buildPartial ()
clear()
public SnapshotSettings . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SnapshotSettings . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SnapshotSettings . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStorageLocation()
public SnapshotSettings . Builder clearStorageLocation ()
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
clone()
public SnapshotSettings . Builder clone ()
Overrides
getDefaultInstanceForType()
public SnapshotSettings getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getStorageLocation()
public SnapshotSettingsStorageLocationSettings getStorageLocation ()
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
getStorageLocationBuilder()
public SnapshotSettingsStorageLocationSettings . Builder getStorageLocationBuilder ()
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
getStorageLocationOrBuilder()
public SnapshotSettingsStorageLocationSettingsOrBuilder getStorageLocationOrBuilder ()
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
hasStorageLocation()
public boolean hasStorageLocation ()
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
Returns
Type
Description
boolean
Whether the storageLocation field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SnapshotSettings other)
public SnapshotSettings . Builder mergeFrom ( SnapshotSettings other )
public SnapshotSettings . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SnapshotSettings . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeStorageLocation(SnapshotSettingsStorageLocationSettings value)
public SnapshotSettings . Builder mergeStorageLocation ( SnapshotSettingsStorageLocationSettings value )
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SnapshotSettings . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SnapshotSettings . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SnapshotSettings . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStorageLocation(SnapshotSettingsStorageLocationSettings value)
public SnapshotSettings . Builder setStorageLocation ( SnapshotSettingsStorageLocationSettings value )
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
setStorageLocation(SnapshotSettingsStorageLocationSettings.Builder builderForValue)
public SnapshotSettings . Builder setStorageLocation ( SnapshotSettingsStorageLocationSettings . Builder builderForValue )
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;
setUnknownFields(UnknownFieldSet unknownFields)
public final SnapshotSettings . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]