Class SnapshotSettings (1.46.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SnapshotSettings getDefaultInstance()
Returns
TypeDescription
SnapshotSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SnapshotSettings.Builder newBuilder()
Returns
TypeDescription
SnapshotSettings.Builder

newBuilder(SnapshotSettings prototype)

public static SnapshotSettings.Builder newBuilder(SnapshotSettings prototype)
Parameter
NameDescription
prototypeSnapshotSettings
Returns
TypeDescription
SnapshotSettings.Builder

parseDelimitedFrom(InputStream input)

public static SnapshotSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SnapshotSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SnapshotSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SnapshotSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SnapshotSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SnapshotSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SnapshotSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SnapshotSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SnapshotSettings> parser()
Returns
TypeDescription
Parser<SnapshotSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SnapshotSettings getDefaultInstanceForType()
Returns
TypeDescription
SnapshotSettings

getParserForType()

public Parser<SnapshotSettings> getParserForType()
Returns
TypeDescription
Parser<SnapshotSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the storageLocation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SnapshotSettings.Builder newBuilderForType()
Returns
TypeDescription
SnapshotSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SnapshotSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SnapshotSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SnapshotSettings.Builder toBuilder()
Returns
TypeDescription
SnapshotSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException