Interface PushGitCommitsRequestOrBuilder (0.32.0)

public interface PushGitCommitsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The workspace's name.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The workspace's name.

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

Returns
Type Description
ByteString

The bytes for name.

getRemoteBranch()

public abstract String getRemoteBranch()

Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used.

string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The remoteBranch.

getRemoteBranchBytes()

public abstract ByteString getRemoteBranchBytes()

Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used.

string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for remoteBranch.