Interface DeploymentUnitOrBuilder (0.68.0)

public interface DeploymentUnitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDependencies(int index)

public abstract String getDependencies(int index)

Required. The IDs of the deployment units within the deployment group that this unit depends on.

repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dependencies at the given index.

getDependenciesBytes(int index)

public abstract ByteString getDependenciesBytes(int index)

Required. The IDs of the deployment units within the deployment group that this unit depends on.

repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dependencies at the given index.

getDependenciesCount()

public abstract int getDependenciesCount()

Required. The IDs of the deployment units within the deployment group that this unit depends on.

repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of dependencies.

getDependenciesList()

public abstract List<String> getDependenciesList()

Required. The IDs of the deployment units within the deployment group that this unit depends on.

repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the dependencies.

getDeployment()

public abstract String getDeployment()

Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The deployment.

getDeploymentBytes()

public abstract ByteString getDeploymentBytes()

Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for deployment.

getId()

public abstract String getId()

The id of the deployment unit. Must be unique within the deployment group.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The id of the deployment unit. Must be unique within the deployment group.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

hasDeployment()

public abstract boolean hasDeployment()

Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the deployment field is set.