public final class TargetResource extends GeneratedMessage implements TargetResourceOrBuilderDetails of the target resource created/modified as part of restore.
Protobuf type google.cloud.backupdr.v1.TargetResource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TargetResourceImplements
TargetResourceOrBuilderStatic 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 |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TargetResource.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TargetResource.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TargetResource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TargetResource.Builder |
|
toBuilder()
public TargetResource.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TargetResource.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|