Interface FetchGitRefsRequestOrBuilder (3.58.0)

publicinterface FetchGitRefsRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getRefType()

publicabstractFetchGitRefsRequest.RefTypegetRefType()

Type of refs to fetch

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

Returns
Type Description
FetchGitRefsRequest.RefType

The refType.

getRefTypeValue()

publicabstractintgetRefTypeValue()

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()

publicabstractStringgetRepository()

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()

publicabstractByteStringgetRepositoryBytes()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.