Interface CreateBuildRequestOrBuilder (3.11.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. ID of the project.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the build field is set.