Interface CreateBuildTriggerRequestOrBuilder (3.43.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BuildTriggerOrBuilder

hasTrigger()

public abstract boolean hasTrigger()

Required. BuildTrigger to create.

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

Returns
TypeDescription
boolean

Whether the trigger field is set.