Interface CreateBuildTriggerRequestOrBuilder (3.47.0)

public interface CreateBuildTriggerRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

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

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

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

Returns
Type Description
ByteString

The bytes for parent.

getProjectId()

public abstract String getProjectId()

Required. ID of the project for which to configure automatic builds.

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 for which to configure automatic builds.

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

Returns
Type Description
ByteString

The bytes for projectId.

getTrigger()

public abstract BuildTrigger getTrigger()

Required. BuildTrigger to create.

.google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BuildTrigger

The trigger.

getTriggerOrBuilder()

public abstract BuildTriggerOrBuilder getTriggerOrBuilder()

Required. BuildTrigger to create.

.google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BuildTriggerOrBuilder

hasTrigger()

public abstract boolean hasTrigger()

Required. BuildTrigger to create.

.google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the trigger field is set.