Interface FetchTreeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchTreeRequest,FetchTreeRequest.Builder
@Generated
public interface FetchTreeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.getRef()Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRepository
String getRepository()Required. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository to fetch the tree from.string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()Required. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository to fetch the tree from.string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for repository.
-
getRef
String getRef()Optional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies which tree to fetch. If not specified, the default branch will be used.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The ref.
-
getRefBytes
com.google.protobuf.ByteString getRefBytes()Optional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies which tree to fetch. If not specified, the default branch will be used.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for ref.
-
getRecursive
boolean getRecursive()Optional. If true, include all subfolders and their files in the response. If false, only the immediate children are returned.
bool recursive = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The recursive.
-
getPageSize
int getPageSize()Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 10,000 items will be returned.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The pageSize.
-
getPageToken
String getPageToken()Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for pageToken.
-