Class InstantSnapshotGroupParameters.Builder (1.105.0)

public static final class InstantSnapshotGroupParameters.Builder extends GeneratedMessage.Builder<InstantSnapshotGroupParameters.Builder> implements InstantSnapshotGroupParametersOrBuilder

Protobuf type google.cloud.compute.v1.InstantSnapshotGroupParameters

Static Methods

getDescriptor()

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

Methods

build()

public InstantSnapshotGroupParameters build()
Returns
Type Description
InstantSnapshotGroupParameters

buildPartial()

public InstantSnapshotGroupParameters buildPartial()
Returns
Type Description
InstantSnapshotGroupParameters

clear()

public InstantSnapshotGroupParameters.Builder clear()
Returns
Type Description
InstantSnapshotGroupParameters.Builder
Overrides

clearSourceInstantSnapshotGroup()

public InstantSnapshotGroupParameters.Builder clearSourceInstantSnapshotGroup()

The source instant snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

optional string source_instant_snapshot_group = 525991686;

Returns
Type Description
InstantSnapshotGroupParameters.Builder

This builder for chaining.

getDefaultInstanceForType()

public InstantSnapshotGroupParameters getDefaultInstanceForType()
Returns
Type Description
InstantSnapshotGroupParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceInstantSnapshotGroup()

public String getSourceInstantSnapshotGroup()

The source instant snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

optional string source_instant_snapshot_group = 525991686;

Returns
Type Description
String

The sourceInstantSnapshotGroup.

getSourceInstantSnapshotGroupBytes()

public ByteString getSourceInstantSnapshotGroupBytes()

The source instant snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

optional string source_instant_snapshot_group = 525991686;

Returns
Type Description
ByteString

The bytes for sourceInstantSnapshotGroup.

hasSourceInstantSnapshotGroup()

public boolean hasSourceInstantSnapshotGroup()

The source instant snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

optional string source_instant_snapshot_group = 525991686;

Returns
Type Description
boolean

Whether the sourceInstantSnapshotGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstantSnapshotGroupParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InstantSnapshotGroupParameters.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstantSnapshotGroupParameters.Builder
Overrides

setSourceInstantSnapshotGroup(String value)

public InstantSnapshotGroupParameters.Builder setSourceInstantSnapshotGroup(String value)

The source instant snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

optional string source_instant_snapshot_group = 525991686;

Parameter
Name Description
value String

The sourceInstantSnapshotGroup to set.

Returns
Type Description
InstantSnapshotGroupParameters.Builder

This builder for chaining.

setSourceInstantSnapshotGroupBytes(ByteString value)

public InstantSnapshotGroupParameters.Builder setSourceInstantSnapshotGroupBytes(ByteString value)

The source instant snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

optional string source_instant_snapshot_group = 525991686;

Parameter
Name Description
value ByteString

The bytes for sourceInstantSnapshotGroup to set.

Returns
Type Description
InstantSnapshotGroupParameters.Builder

This builder for chaining.