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 Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.