Interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Agent.GitIntegrationSettings.GitConnectionSettings, Agent.GitIntegrationSettings.GitConnectionSettings.Builder
Enclosing class:
Agent.GitIntegrationSettings

public static interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDisplayName

      String getDisplayName()
       Required. Display name for the repository
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Display name for the repository
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for displayName.
    • getRepositoryUri

      String getRepositoryUri()
       Required. Git server reporitory URI.
       
      string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The repositoryUri.
    • getRepositoryUriBytes

      com.google.protobuf.ByteString getRepositoryUriBytes()
       Required. Git server reporitory URI.
       
      string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for repositoryUri.
    • getTrackingBranch

      String getTrackingBranch()
       Required. Default branch of the repository.
       
      string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The trackingBranch.
    • getTrackingBranchBytes

      com.google.protobuf.ByteString getTrackingBranchBytes()
       Required. Default branch of the repository.
       
      string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for trackingBranch.
    • getBranchesList

      List<String> getBranchesList()
       Optional. List of branches configured for the repository.
       
      repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the branches.
    • getBranchesCount

      int getBranchesCount()
       Optional. List of branches configured for the repository.
       
      repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of branches.
    • getBranches

      String getBranches(int index)
       Optional. List of branches configured for the repository.
       
      repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The branches at the given index.
    • getBranchesBytes

      com.google.protobuf.ByteString getBranchesBytes(int index)
       Optional. List of branches configured for the repository.
       
      repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the branches at the given index.
    • hasAccessTokenSecret

      boolean hasAccessTokenSecret()
       The name of the SecretManager secret version resource storing the
       git access token.
       Format: `projects/{project}/secrets/{secret}/versions/{version}`
       
      string access_token_secret = 5 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the accessTokenSecret field is set.
    • getAccessTokenSecret

      String getAccessTokenSecret()
       The name of the SecretManager secret version resource storing the
       git access token.
       Format: `projects/{project}/secrets/{secret}/versions/{version}`
       
      string access_token_secret = 5 [(.google.api.resource_reference) = { ... }
      Returns:
      The accessTokenSecret.
    • getAccessTokenSecretBytes

      com.google.protobuf.ByteString getAccessTokenSecretBytes()
       The name of the SecretManager secret version resource storing the
       git access token.
       Format: `projects/{project}/secrets/{secret}/versions/{version}`
       
      string access_token_secret = 5 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for accessTokenSecret.
    • getGitAuthenticationCase