Interface CreatePullRequestRequestOrBuilder (0.40.0)

public interface CreatePullRequestRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The repository that the pull request is created from. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The repository that the pull request is created from. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPullRequest()

public abstract PullRequest getPullRequest()

Required. The pull request to create.

.google.cloud.securesourcemanager.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequest

The pullRequest.

getPullRequestOrBuilder()

public abstract PullRequestOrBuilder getPullRequestOrBuilder()

Required. The pull request to create.

.google.cloud.securesourcemanager.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestOrBuilder

hasPullRequest()

public abstract boolean hasPullRequest()

Required. The pull request to create.

.google.cloud.securesourcemanager.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pullRequest field is set.