public final class ComputeInstanceTargetEnvironment extends GeneratedMessage implements ComputeInstanceTargetEnvironmentOrBuilderComputeInstanceTargetEnvironment represents Compute Engine target environment to be used during restore.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceTargetEnvironment
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ComputeInstanceTargetEnvironmentImplements
ComputeInstanceTargetEnvironmentOrBuilderStatic Fields
PROJECT_FIELD_NUMBER
public static final int PROJECT_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 ComputeInstanceTargetEnvironment getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ComputeInstanceTargetEnvironment.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment.Builder |
|
newBuilder(ComputeInstanceTargetEnvironment prototype)
public static ComputeInstanceTargetEnvironment.Builder newBuilder(ComputeInstanceTargetEnvironment prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ComputeInstanceTargetEnvironment |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment.Builder |
|
parseDelimitedFrom(InputStream input)
public static ComputeInstanceTargetEnvironment parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceTargetEnvironment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ComputeInstanceTargetEnvironment parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceTargetEnvironment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ComputeInstanceTargetEnvironment parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceTargetEnvironment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ComputeInstanceTargetEnvironment parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceTargetEnvironment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ComputeInstanceTargetEnvironment parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceTargetEnvironment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ComputeInstanceTargetEnvironment parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceTargetEnvironment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ComputeInstanceTargetEnvironment> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ComputeInstanceTargetEnvironment> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ComputeInstanceTargetEnvironment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment |
|
getParserForType()
public Parser<ComputeInstanceTargetEnvironment> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ComputeInstanceTargetEnvironment> |
|
getProject()
public String getProject()Required. Target project for the Compute Engine instance.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Required. Target project for the Compute Engine instance.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getZone()
public String getZone()Required. The zone of the Compute Engine instance.
string zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Required. The zone of the Compute Engine instance.
string zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
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 ComputeInstanceTargetEnvironment.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ComputeInstanceTargetEnvironment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment.Builder |
|
toBuilder()
public ComputeInstanceTargetEnvironment.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceTargetEnvironment.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|