Interface FetchGitRefsRequestOrBuilder (3.26.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
TypeDescription
FetchGitRefsRequest.RefType

The refType.

getRefTypeValue()

public abstract int getRefTypeValue()

Type of refs to fetch

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for repository.