Class DisksStopGroupAsyncReplicationResource (1.46.0)

public final class DisksStopGroupAsyncReplicationResource extends GeneratedMessageV3 implements DisksStopGroupAsyncReplicationResourceOrBuilder

A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted.

Protobuf type google.cloud.compute.v1.DisksStopGroupAsyncReplicationResource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DisksStopGroupAsyncReplicationResource

Static Fields

RESOURCE_POLICY_FIELD_NUMBER

public static final int RESOURCE_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DisksStopGroupAsyncReplicationResource getDefaultInstance()
Returns
TypeDescription
DisksStopGroupAsyncReplicationResource

getDescriptor()

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

newBuilder()

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

newBuilder(DisksStopGroupAsyncReplicationResource prototype)

public static DisksStopGroupAsyncReplicationResource.Builder newBuilder(DisksStopGroupAsyncReplicationResource prototype)
Parameter
NameDescription
prototypeDisksStopGroupAsyncReplicationResource
Returns
TypeDescription
DisksStopGroupAsyncReplicationResource.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DisksStopGroupAsyncReplicationResource getDefaultInstanceForType()
Returns
TypeDescription
DisksStopGroupAsyncReplicationResource

getParserForType()

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

getResourcePolicy()

public String getResourcePolicy()

The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy

optional string resource_policy = 159240835;

Returns
TypeDescription
String

The resourcePolicy.

getResourcePolicyBytes()

public ByteString getResourcePolicyBytes()

The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy

optional string resource_policy = 159240835;

Returns
TypeDescription
ByteString

The bytes for resourcePolicy.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasResourcePolicy()

public boolean hasResourcePolicy()

The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy

optional string resource_policy = 159240835;

Returns
TypeDescription
boolean

Whether the resourcePolicy 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 DisksStopGroupAsyncReplicationResource.Builder newBuilderForType()
Returns
TypeDescription
DisksStopGroupAsyncReplicationResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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