Interface Dependency.GitSourceDependencyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Dependency.GitSourceDependency, Dependency.GitSourceDependency.Builder
Enclosing class:
Dependency

public static interface Dependency.GitSourceDependencyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasRepository

      boolean hasRepository()
       Required. The kind of repo (url or dev connect).
       
      .google.devtools.cloudbuild.v1.Dependency.GitSourceRepository repository = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the repository field is set.
    • getRepository

       Required. The kind of repo (url or dev connect).
       
      .google.devtools.cloudbuild.v1.Dependency.GitSourceRepository repository = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The repository.
    • getRepositoryOrBuilder

      Dependency.GitSourceRepositoryOrBuilder getRepositoryOrBuilder()
       Required. The kind of repo (url or dev connect).
       
      .google.devtools.cloudbuild.v1.Dependency.GitSourceRepository repository = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRevision

      String getRevision()
       Required. The revision that we will fetch the repo at.
       
      string revision = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The revision.
    • getRevisionBytes

      com.google.protobuf.ByteString getRevisionBytes()
       Required. The revision that we will fetch the repo at.
       
      string revision = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for revision.
    • getRecurseSubmodules

      boolean getRecurseSubmodules()
       Optional. True if submodules should be fetched too (default false).
       
      bool recurse_submodules = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The recurseSubmodules.
    • getDepth

      long getDepth()
       Optional. How much history should be fetched for the build (default 1, -1
       for all history).
       
      int64 depth = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The depth.
    • getDestPath

      String getDestPath()
       Required. Where should the files be placed on the worker.
       
      string dest_path = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The destPath.
    • getDestPathBytes

      com.google.protobuf.ByteString getDestPathBytes()
       Required. Where should the files be placed on the worker.
       
      string dest_path = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for destPath.