Class SnapshotSettings (1.56.0)

public final class SnapshotSettings extends GeneratedMessageV3 implements SnapshotSettingsOrBuilder

Protobuf type google.cloud.compute.v1.SnapshotSettings

Static Fields

STORAGE_LOCATION_FIELD_NUMBER

public static final int STORAGE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SnapshotSettings getDefaultInstance()
Returns
Type Description
SnapshotSettings

getDescriptor()

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

newBuilder()

public static SnapshotSettings.Builder newBuilder()
Returns
Type Description
SnapshotSettings.Builder

newBuilder(SnapshotSettings prototype)

public static SnapshotSettings.Builder newBuilder(SnapshotSettings prototype)
Parameter
Name Description
prototype SnapshotSettings
Returns
Type Description
SnapshotSettings.Builder

parseDelimitedFrom(InputStream input)

public static SnapshotSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SnapshotSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SnapshotSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SnapshotSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SnapshotSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SnapshotSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SnapshotSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SnapshotSettings> parser()
Returns
Type Description
Parser<SnapshotSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SnapshotSettings getDefaultInstanceForType()
Returns
Type Description
SnapshotSettings

getParserForType()

public Parser<SnapshotSettings> getParserForType()
Returns
Type Description
Parser<SnapshotSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SnapshotSettings.Builder newBuilderForType()
Returns
Type Description
SnapshotSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SnapshotSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SnapshotSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SnapshotSettings.Builder toBuilder()
Returns
Type Description
SnapshotSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException