Interface CreateBuildRequestOrBuilder (3.53.0)

public interface CreateBuildRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuild()

public abstract Build getBuild()

Required. Build resource to create.

.google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Build

The build.

getBuildOrBuilder()

public abstract BuildOrBuilder getBuildOrBuilder()

Required. Build resource to create.

.google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BuildOrBuilder

getParent()

public abstract String getParent()

The parent resource where this build will be created. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The parent resource where this build will be created. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getProjectId()

public abstract String getProjectId()

Required. ID of the project.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. ID of the project.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

hasBuild()

public abstract boolean hasBuild()

Required. Build resource to create.

.google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the build field is set.