public static interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getGitAuthenticationCase()
public abstract Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase getGitAuthenticationCase()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase |
|
getRepositoryUri()
public abstract String getRepositoryUri()Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The repositoryUri. |
getRepositoryUriBytes()
public abstract ByteString getRepositoryUriBytes()Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
String |
The trackingBranch. |
getTrackingBranchBytes()
public abstract ByteString getTrackingBranchBytes()Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the accessTokenSecret field is set. |