public final class BackupGcpResource extends GeneratedMessage implements BackupGcpResourceOrBuilderMinimum details to identify a Google Cloud resource for a backup.
Protobuf type google.cloud.backupdr.v1.BackupGcpResource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BackupGcpResourceImplements
BackupGcpResourceOrBuilderStatic Fields
GCP_RESOURCENAME_FIELD_NUMBER
public static final int GCP_RESOURCENAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BackupGcpResource getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BackupGcpResource.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
newBuilder(BackupGcpResource prototype)
public static BackupGcpResource.Builder newBuilder(BackupGcpResource prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BackupGcpResource |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
parseDelimitedFrom(InputStream input)
public static BackupGcpResource parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupGcpResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BackupGcpResource parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupGcpResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BackupGcpResource parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupGcpResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BackupGcpResource parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupGcpResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BackupGcpResource parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupGcpResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BackupGcpResource parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupGcpResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BackupGcpResource> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BackupGcpResource> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BackupGcpResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
getGcpResourcename()
public String getGcpResourcename()Name of the Google Cloud resource.
string gcp_resourcename = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The gcpResourcename. |
getGcpResourcenameBytes()
public ByteString getGcpResourcenameBytes()Name of the Google Cloud resource.
string gcp_resourcename = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcpResourcename. |
getLocation()
public String getLocation()Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getParserForType()
public Parser<BackupGcpResource> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BackupGcpResource> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getType()
public String getType()Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
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 BackupGcpResource.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BackupGcpResource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
toBuilder()
public BackupGcpResource.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|