Interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder (0.75.0)

public static interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder extends MessageOrBuilder

Methods

getAccessTokenSecret()

public abstract 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
TypeDescription
String

The accessTokenSecret.

getAccessTokenSecretBytes()

public abstract 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
TypeDescription
ByteString

The bytes for accessTokenSecret.

getBranches(int index)

public abstract String getBranches(int index)

Optional. List of branches configured for the repository.

repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The branches at the given index.

getBranchesBytes(int index)

public abstract ByteString getBranchesBytes(int index)

Optional. List of branches configured for the repository.

repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the branches at the given index.

getBranchesCount()

public abstract int getBranchesCount()

Optional. List of branches configured for the repository.

repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of branches.

getBranchesList()

public abstract List<String> getBranchesList()

Optional. List of branches configured for the repository.

repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the branches.

getDisplayName()

public abstract String getDisplayName()

Required. Display name for the repository

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. Display name for the repository

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getGitAuthenticationCase()

public abstract Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase getGitAuthenticationCase()
Returns
TypeDescription
Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase

getRepositoryUri()

public abstract String getRepositoryUri()

Required. Git server reporitory URI.

string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The repositoryUri.

getRepositoryUriBytes()

public abstract ByteString getRepositoryUriBytes()

Required. Git server reporitory URI.

string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for repositoryUri.

getTrackingBranch()

public abstract String getTrackingBranch()

Required. Default branch of the repository.

string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The trackingBranch.

getTrackingBranchBytes()

public abstract ByteString getTrackingBranchBytes()

Required. Default branch of the repository.

string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for trackingBranch.

hasAccessTokenSecret()

public abstract 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
TypeDescription
boolean

Whether the accessTokenSecret field is set.