Class TargetResource (0.10.0)

public final class TargetResource extends GeneratedMessageV3 implements TargetResourceOrBuilder

Details of the target resource created/modified as part of restore.

Protobuf type google.cloud.backupdr.v1.TargetResource

Static Fields

GCP_RESOURCE_FIELD_NUMBER

public static final int GCP_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TargetResource getDefaultInstance()
Returns
Type Description
TargetResource

getDescriptor()

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

newBuilder()

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

newBuilder(TargetResource prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetResource getDefaultInstanceForType()
Returns
Type Description
TargetResource

getGcpResource()

public GcpResource getGcpResource()

Details of the native Google Cloud resource created as part of restore.

.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;

Returns
Type Description
GcpResource

The gcpResource.

getGcpResourceOrBuilder()

public GcpResourceOrBuilder getGcpResourceOrBuilder()

Details of the native Google Cloud resource created as part of restore.

.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;

Returns
Type Description
GcpResourceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetResourceInfoCase()

public TargetResource.TargetResourceInfoCase getTargetResourceInfoCase()
Returns
Type Description
TargetResource.TargetResourceInfoCase

hasGcpResource()

public boolean hasGcpResource()

Details of the native Google Cloud resource created as part of restore.

.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;

Returns
Type Description
boolean

Whether the gcpResource 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 TargetResource.Builder newBuilderForType()
Returns
Type Description
TargetResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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