Interface ComputeInstanceTargetEnvironmentOrBuilder (0.58.0)

public interface ComputeInstanceTargetEnvironmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProject()

public abstract 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 abstract 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.

getUseProjectServiceAccount()

public abstract boolean getUseProjectServiceAccount()

Optional. Whether to use the project service account for the Compute Engine instance restore.

optional bool use_project_service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The useProjectServiceAccount.

getZone()

public abstract 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 abstract 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.

hasUseProjectServiceAccount()

public abstract boolean hasUseProjectServiceAccount()

Optional. Whether to use the project service account for the Compute Engine instance restore.

optional bool use_project_service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the useProjectServiceAccount field is set.