Interface FetchGitRefsRequestOrBuilder (3.47.0)

public interface FetchGitRefsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRefType()

public abstract FetchGitRefsRequest.RefType getRefType()

Type of refs to fetch

.google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType ref_type = 2;

Returns
Type Description
FetchGitRefsRequest.RefType

The refType.

getRefTypeValue()

public abstract int getRefTypeValue()

Type of refs to fetch

.google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType ref_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for refType.

getRepository()

public abstract String getRepository()

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

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

Returns
Type Description
String

The repository.

getRepositoryBytes()

public abstract ByteString getRepositoryBytes()

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

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

Returns
Type Description
ByteString

The bytes for repository.