Interface SyncWorkspaceRefsRequestOrBuilder (0.98.0)

public interface SyncWorkspaceRefsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeepen()

public abstract int getDeepen()

Optional. Can be used to deepen the commit history of shallow clones. Git documentation: https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---deependepth

int32 deepen = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The deepen.

getName()

public abstract String getName()

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

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 resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

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

Returns
Type Description
ByteString

The bytes for name.

getRemoteBranchName()

public abstract String getRemoteBranchName()

Optional. The name of the branch in the Git remote to which the refs should be fetched for. If left unset, all remote branches will be fetched.

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

Returns
Type Description
String

The remoteBranchName.

getRemoteBranchNameBytes()

public abstract ByteString getRemoteBranchNameBytes()

Optional. The name of the branch in the Git remote to which the refs should be fetched for. If left unset, all remote branches will be fetched.

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

Returns
Type Description
ByteString

The bytes for remoteBranchName.