Package com.google.cloudbuild.v1
Interface ConnectedRepositoryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectedRepository,ConnectedRepository.Builder
@Generated
public interface ConnectedRepositoryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDir()Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.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. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for repository.
-
getDir
String getDir()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dir.
-
getDirBytes
com.google.protobuf.ByteString getDirBytes()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for dir.
-
getRevision
String getRevision()Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The revision.
-
getRevisionBytes
com.google.protobuf.ByteString getRevisionBytes()Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for revision.
-