Class SnapshotSettings.Builder (1.64.0)

public static final class SnapshotSettings.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SnapshotSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SnapshotSettings.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SnapshotSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SnapshotSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SnapshotSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

public SnapshotSettings.Builder clone()
Returns
Type Description
SnapshotSettings.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SnapshotSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SnapshotSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SnapshotSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SnapshotSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SnapshotSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SnapshotSettings.Builder
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;

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

setUnknownFields(UnknownFieldSet unknownFields)

public final SnapshotSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SnapshotSettings.Builder
Overrides