- 3.53.0 (latest)
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public interface ConnectionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsAnnotations(String key)
public abstract boolean containsAnnotations(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public abstract Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public abstract int getAnnotationsCount()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public abstract Map<String,String> getAnnotationsMap()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public abstract String getAnnotationsOrDefault(String key, String defaultValue)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
public abstract String getAnnotationsOrThrow(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getConnectionConfigCase()
public abstract Connection.ConnectionConfigCase getConnectionConfigCase()
Returns | |
---|---|
Type | Description |
Connection.ConnectionConfigCase |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDisabled()
public abstract boolean getDisabled()
If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
bool disabled = 13;
Returns | |
---|---|
Type | Description |
boolean | The disabled. |
getEtag()
public abstract String getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
Returns | |
---|---|
Type | Description |
String | The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getGithubConfig()
public abstract GitHubConfig getGithubConfig()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
GitHubConfig | The githubConfig. |
getGithubConfigOrBuilder()
public abstract GitHubConfigOrBuilder getGithubConfigOrBuilder()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
GitHubConfigOrBuilder |
getGithubEnterpriseConfig()
public abstract GitHubEnterpriseConfig getGithubEnterpriseConfig()
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig | The githubEnterpriseConfig. |
getGithubEnterpriseConfigOrBuilder()
public abstract GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder()
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfigOrBuilder |
getGitlabConfig()
public abstract GitLabConfig getGitlabConfig()
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
.google.devtools.cloudbuild.v2.GitLabConfig gitlab_config = 7;
Returns | |
---|---|
Type | Description |
GitLabConfig | The gitlabConfig. |
getGitlabConfigOrBuilder()
public abstract GitLabConfigOrBuilder getGitlabConfigOrBuilder()
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
.google.devtools.cloudbuild.v2.GitLabConfig gitlab_config = 7;
Returns | |
---|---|
Type | Description |
GitLabConfigOrBuilder |
getInstallationState()
public abstract InstallationState getInstallationState()
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InstallationState | The installationState. |
getInstallationStateOrBuilder()
public abstract InstallationStateOrBuilder getInstallationStateOrBuilder()
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InstallationStateOrBuilder |
getName()
public abstract String getName()
Immutable. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Immutable. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getReconciling()
public abstract boolean getReconciling()
Output only. Set to true when the connection is being set up or updated in the background.
bool reconciling = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The reconciling. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasGithubConfig()
public abstract boolean hasGithubConfig()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the githubConfig field is set. |
hasGithubEnterpriseConfig()
public abstract boolean hasGithubEnterpriseConfig()
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the githubEnterpriseConfig field is set. |
hasGitlabConfig()
public abstract boolean hasGitlabConfig()
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
.google.devtools.cloudbuild.v2.GitLabConfig gitlab_config = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the gitlabConfig field is set. |
hasInstallationState()
public abstract boolean hasInstallationState()
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the installationState field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |