Class InstantSnapshotGroupSourceInfo (1.105.0)

public final class InstantSnapshotGroupSourceInfo extends GeneratedMessage implements InstantSnapshotGroupSourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.InstantSnapshotGroupSourceInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > InstantSnapshotGroupSourceInfo

Static Fields

CONSISTENCY_GROUP_FIELD_NUMBER

public static final int CONSISTENCY_GROUP_FIELD_NUMBER
Field Value
Type Description
int

CONSISTENCY_GROUP_ID_FIELD_NUMBER

public static final int CONSISTENCY_GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstantSnapshotGroupSourceInfo getDefaultInstance()
Returns
Type Description
InstantSnapshotGroupSourceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(InstantSnapshotGroupSourceInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConsistencyGroup()

public String getConsistencyGroup()

optional string consistency_group = 508183960;

Returns
Type Description
String

The consistencyGroup.

getConsistencyGroupBytes()

public ByteString getConsistencyGroupBytes()

optional string consistency_group = 508183960;

Returns
Type Description
ByteString

The bytes for consistencyGroup.

getConsistencyGroupId()

public String getConsistencyGroupId()

optional string consistency_group_id = 85599522;

Returns
Type Description
String

The consistencyGroupId.

getConsistencyGroupIdBytes()

public ByteString getConsistencyGroupIdBytes()

optional string consistency_group_id = 85599522;

Returns
Type Description
ByteString

The bytes for consistencyGroupId.

getDefaultInstanceForType()

public InstantSnapshotGroupSourceInfo getDefaultInstanceForType()
Returns
Type Description
InstantSnapshotGroupSourceInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConsistencyGroup()

public boolean hasConsistencyGroup()

optional string consistency_group = 508183960;

Returns
Type Description
boolean

Whether the consistencyGroup field is set.

hasConsistencyGroupId()

public boolean hasConsistencyGroupId()

optional string consistency_group_id = 85599522;

Returns
Type Description
boolean

Whether the consistencyGroupId field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected InstantSnapshotGroupSourceInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstantSnapshotGroupSourceInfo.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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