public final class InstantSnapshotGroup extends GeneratedMessage implements InstantSnapshotGroupOrBuilder
Represents an InstantSnapshotGroup resource.
An instant snapshot group is a set of instant snapshots that represents a
point in time state of a consistency group.
Protobuf type google.cloud.compute.v1.InstantSnapshotGroup
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOURCE_STATUS_FIELD_NUMBER
public static final int RESOURCE_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOURCE_CONSISTENCY_GROUP_FIELD_NUMBER
public static final int SOURCE_CONSISTENCY_GROUP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static InstantSnapshotGroup getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InstantSnapshotGroup.Builder newBuilder()
newBuilder(InstantSnapshotGroup prototype)
public static InstantSnapshotGroup.Builder newBuilder(InstantSnapshotGroup prototype)
public static InstantSnapshotGroup parseDelimitedFrom(InputStream input)
public static InstantSnapshotGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InstantSnapshotGroup parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InstantSnapshotGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InstantSnapshotGroup parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstantSnapshotGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstantSnapshotGroup parseFrom(CodedInputStream input)
public static InstantSnapshotGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InstantSnapshotGroup parseFrom(InputStream input)
public static InstantSnapshotGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InstantSnapshotGroup parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InstantSnapshotGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InstantSnapshotGroup> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCreationTimestamp()
public String getCreationTimestamp()
Output only. [Output Only] Creation timestamp inRFC3339
text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
String |
The creationTimestamp.
|
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
Output only. [Output Only] Creation timestamp inRFC3339
text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
ByteString |
The bytes for creationTimestamp.
|
getDefaultInstanceForType()
public InstantSnapshotGroup getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. An optional description of this resource. Provide this property when you
create the resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. An optional description of this resource. Provide this property when you
create the resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getId()
Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.
optional uint64 id = 3355;
| Returns |
| Type |
Description |
long |
The id.
|
getKind()
Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup
resources.
optional string kind = 3292052;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup
resources.
optional string kind = 3292052;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
getName()
Identifier. Name of the resource; provided by the client when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression a-z? which means the first
character must be a lowercase letter, and all following characters must be
a dash, lowercase letter, or digit, except the last character, which cannot
be a dash.
optional string name = 3373707;
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the resource; provided by the client when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression a-z? which means the first
character must be a lowercase letter, and all following characters must be
a dash, lowercase letter, or digit, except the last character, which cannot
be a dash.
optional string name = 3373707;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<InstantSnapshotGroup> getParserForType()
Overrides
getRegion()
public String getRegion()
Output only. [Output Only] URL of the region where the instant snapshot group resides.
You must specify this field as part of the HTTP request URL. It is
not settable as a field in the request body.
optional string region = 138946292;
| Returns |
| Type |
Description |
String |
The region.
|
getRegionBytes()
public ByteString getRegionBytes()
Output only. [Output Only] URL of the region where the instant snapshot group resides.
You must specify this field as part of the HTTP request URL. It is
not settable as a field in the request body.
optional string region = 138946292;
| Returns |
| Type |
Description |
ByteString |
The bytes for region.
|
getResourceStatus()
public InstantSnapshotGroupResourceStatus getResourceStatus()
optional .google.cloud.compute.v1.InstantSnapshotGroupResourceStatus resource_status = 249429315;
getResourceStatusOrBuilder()
public InstantSnapshotGroupResourceStatusOrBuilder getResourceStatusOrBuilder()
optional .google.cloud.compute.v1.InstantSnapshotGroupResourceStatus resource_status = 249429315;
getSelfLink()
public String getSelfLink()
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
String |
The selfLink.
|
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
ByteString |
The bytes for selfLink.
|
getSelfLinkWithId()
public String getSelfLinkWithId()
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns |
| Type |
Description |
String |
The selfLinkWithId.
|
getSelfLinkWithIdBytes()
public ByteString getSelfLinkWithIdBytes()
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns |
| Type |
Description |
ByteString |
The bytes for selfLinkWithId.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSourceConsistencyGroup()
public String getSourceConsistencyGroup()
optional string source_consistency_group = 531359348;
| Returns |
| Type |
Description |
String |
The sourceConsistencyGroup.
|
getSourceConsistencyGroupBytes()
public ByteString getSourceConsistencyGroupBytes()
optional string source_consistency_group = 531359348;
| Returns |
| Type |
Description |
ByteString |
The bytes for sourceConsistencyGroup.
|
getStatus()
public String getStatus()
Output only. [Output Only]
Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns |
| Type |
Description |
String |
The status.
|
getStatusBytes()
public ByteString getStatusBytes()
Output only. [Output Only]
Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns |
| Type |
Description |
ByteString |
The bytes for status.
|
getZone()
Output only. [Output Only] URL of the zone where the instant snapshot group resides.
You must specify this field as part of the HTTP request URL. It is
not settable as a field in the request body.
optional string zone = 3744684;
| Returns |
| Type |
Description |
String |
The zone.
|
getZoneBytes()
public ByteString getZoneBytes()
Output only. [Output Only] URL of the zone where the instant snapshot group resides.
You must specify this field as part of the HTTP request URL. It is
not settable as a field in the request body.
optional string zone = 3744684;
| Returns |
| Type |
Description |
ByteString |
The bytes for zone.
|
hasCreationTimestamp()
public boolean hasCreationTimestamp()
Output only. [Output Only] Creation timestamp inRFC3339
text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
boolean |
Whether the creationTimestamp field is set.
|
hasDescription()
public boolean hasDescription()
Optional. An optional description of this resource. Provide this property when you
create the resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
boolean |
Whether the description field is set.
|
hasId()
Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.
optional uint64 id = 3355;
| Returns |
| Type |
Description |
boolean |
Whether the id field is set.
|
hasKind()
Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup
resources.
optional string kind = 3292052;
| Returns |
| Type |
Description |
boolean |
Whether the kind field is set.
|
hasName()
Identifier. Name of the resource; provided by the client when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression a-z? which means the first
character must be a lowercase letter, and all following characters must be
a dash, lowercase letter, or digit, except the last character, which cannot
be a dash.
optional string name = 3373707;
| Returns |
| Type |
Description |
boolean |
Whether the name field is set.
|
hasRegion()
public boolean hasRegion()
Output only. [Output Only] URL of the region where the instant snapshot group resides.
You must specify this field as part of the HTTP request URL. It is
not settable as a field in the request body.
optional string region = 138946292;
| Returns |
| Type |
Description |
boolean |
Whether the region field is set.
|
hasResourceStatus()
public boolean hasResourceStatus()
optional .google.cloud.compute.v1.InstantSnapshotGroupResourceStatus resource_status = 249429315;
| Returns |
| Type |
Description |
boolean |
Whether the resourceStatus field is set.
|
hasSelfLink()
public boolean hasSelfLink()
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
boolean |
Whether the selfLink field is set.
|
hasSelfLinkWithId()
public boolean hasSelfLinkWithId()
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns |
| Type |
Description |
boolean |
Whether the selfLinkWithId field is set.
|
hasSourceConsistencyGroup()
public boolean hasSourceConsistencyGroup()
optional string source_consistency_group = 531359348;
| Returns |
| Type |
Description |
boolean |
Whether the sourceConsistencyGroup field is set.
|
hasStatus()
public boolean hasStatus()
Output only. [Output Only]
Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns |
| Type |
Description |
boolean |
Whether the status field is set.
|
hasZone()
Output only. [Output Only] URL of the zone where the instant snapshot group resides.
You must specify this field as part of the HTTP request URL. It is
not settable as a field in the request body.
optional string zone = 3744684;
| Returns |
| Type |
Description |
boolean |
Whether the zone field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InstantSnapshotGroup.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InstantSnapshotGroup.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public InstantSnapshotGroup.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides