Class SnapshotSettings.Builder (1.93.0)

public static final class SnapshotSettings.Builder extends GeneratedMessage.Builder<SnapshotSettings.Builder> implements SnapshotSettingsOrBuilder

Protobuf type google.cloud.compute.v1.SnapshotSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SnapshotSettings build()
Returns
Type Description
SnapshotSettings

buildPartial()

public SnapshotSettings buildPartial()
Returns
Type Description
SnapshotSettings

clear()

public SnapshotSettings.Builder clear()
Returns
Type Description
SnapshotSettings.Builder
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;

Returns
Type Description
SnapshotSettings.Builder

getDefaultInstanceForType()

public SnapshotSettings getDefaultInstanceForType()
Returns
Type Description
SnapshotSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
SnapshotSettingsStorageLocationSettings

The storageLocation.

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;

Returns
Type Description
SnapshotSettingsStorageLocationSettings.Builder

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;

Returns
Type Description
SnapshotSettingsStorageLocationSettingsOrBuilder

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SnapshotSettings other)

public SnapshotSettings.Builder mergeFrom(SnapshotSettings other)
Parameter
Name Description
other SnapshotSettings
Returns
Type Description
SnapshotSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SnapshotSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SnapshotSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SnapshotSettings.Builder
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;

Parameter
Name Description
value SnapshotSettingsStorageLocationSettings
Returns
Type Description
SnapshotSettings.Builder

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;

Parameter
Name Description
value SnapshotSettingsStorageLocationSettings
Returns
Type Description
SnapshotSettings.Builder

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;

Parameter
Name Description
builderForValue SnapshotSettingsStorageLocationSettings.Builder
Returns
Type Description
SnapshotSettings.Builder