- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 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 static final class Connection.Builder extends GeneratedMessageV3.Builder<Connection.Builder> implements ConnectionOrBuilder
A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Server or GitLab.
Protobuf type google.devtools.cloudbuild.v2.Connection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Connection.BuilderImplements
ConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Connection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Connection.Builder |
build()
public Connection build()
Returns | |
---|---|
Type | Description |
Connection |
buildPartial()
public Connection buildPartial()
Returns | |
---|---|
Type | Description |
Connection |
clear()
public Connection.Builder clear()
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearAnnotations()
public Connection.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearConnectionConfig()
public Connection.Builder clearConnectionConfig()
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearCreateTime()
public Connection.Builder clearCreateTime()
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 |
Connection.Builder |
clearDisabled()
public Connection.Builder clearDisabled()
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 |
Connection.Builder | This builder for chaining. |
clearEtag()
public Connection.Builder clearEtag()
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 |
Connection.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Connection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearGithubConfig()
public Connection.Builder clearGithubConfig()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearGithubEnterpriseConfig()
public Connection.Builder clearGithubEnterpriseConfig()
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearInstallationState()
public Connection.Builder clearInstallationState()
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearName()
public Connection.Builder clearName()
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 |
Connection.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Connection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Connection.Builder |
clearReconciling()
public Connection.Builder clearReconciling()
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 |
Connection.Builder | This builder for chaining. |
clearUpdateTime()
public Connection.Builder clearUpdateTime()
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 |
Connection.Builder |
clone()
public Connection.Builder clone()
Returns | |
---|---|
Type | Description |
Connection.Builder |
containsAnnotations(String key)
public 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()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public 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 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 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 Connection.ConnectionConfigCase getConnectionConfigCase()
Returns | |
---|---|
Type | Description |
Connection.ConnectionConfigCase |
getCreateTime()
public 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
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 |
Builder |
getCreateTimeOrBuilder()
public 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 |
getDefaultInstanceForType()
public Connection getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Connection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisabled()
public 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 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 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 GitHubConfig getGithubConfig()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
GitHubConfig | The githubConfig. |
getGithubConfigBuilder()
public GitHubConfig.Builder getGithubConfigBuilder()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
GitHubConfig.Builder |
getGithubConfigOrBuilder()
public GitHubConfigOrBuilder getGithubConfigOrBuilder()
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Returns | |
---|---|
Type | Description |
GitHubConfigOrBuilder |
getGithubEnterpriseConfig()
public 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. |
getGithubEnterpriseConfigBuilder()
public GitHubEnterpriseConfig.Builder getGithubEnterpriseConfigBuilder()
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
getGithubEnterpriseConfigOrBuilder()
public GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder()
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfigOrBuilder |
getInstallationState()
public 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. |
getInstallationStateBuilder()
public InstallationState.Builder getInstallationStateBuilder()
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.Builder |
getInstallationStateOrBuilder()
public 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 |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public 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 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 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 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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 |
Builder |
getUpdateTimeOrBuilder()
public 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 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 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 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. |
hasInstallationState()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Connection.Builder mergeCreateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeFrom(Connection other)
public Connection.Builder mergeFrom(Connection other)
Parameter | |
---|---|
Name | Description |
other | Connection |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Connection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Connection.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Connection.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeGithubConfig(GitHubConfig value)
public Connection.Builder mergeGithubConfig(GitHubConfig value)
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Parameter | |
---|---|
Name | Description |
value | GitHubConfig |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeGithubEnterpriseConfig(GitHubEnterpriseConfig value)
public Connection.Builder mergeGithubEnterpriseConfig(GitHubEnterpriseConfig value)
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Parameter | |
---|---|
Name | Description |
value | GitHubEnterpriseConfig |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeInstallationState(InstallationState value)
public Connection.Builder mergeInstallationState(InstallationState value)
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | InstallationState |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Connection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Connection.Builder |
mergeUpdateTime(Timestamp value)
public Connection.Builder mergeUpdateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Connection.Builder |
putAllAnnotations(Map<String,String> values)
public Connection.Builder putAllAnnotations(Map<String,String> values)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Connection.Builder |
putAnnotations(String key, String value)
public Connection.Builder putAnnotations(String key, String value)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Connection.Builder |
removeAnnotations(String key)
public Connection.Builder removeAnnotations(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 15;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setCreateTime(Timestamp value)
public Connection.Builder setCreateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Connection.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setDisabled(boolean value)
public Connection.Builder setDisabled(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value | boolean The disabled to set. |
Returns | |
---|---|
Type | Description |
Connection.Builder | This builder for chaining. |
setEtag(String value)
public Connection.Builder setEtag(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The etag to set. |
Returns | |
---|---|
Type | Description |
Connection.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Connection.Builder setEtagBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Connection.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Connection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setGithubConfig(GitHubConfig value)
public Connection.Builder setGithubConfig(GitHubConfig value)
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Parameter | |
---|---|
Name | Description |
value | GitHubConfig |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setGithubConfig(GitHubConfig.Builder builderForValue)
public Connection.Builder setGithubConfig(GitHubConfig.Builder builderForValue)
Configuration for connections to github.com.
.google.devtools.cloudbuild.v2.GitHubConfig github_config = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | GitHubConfig.Builder |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setGithubEnterpriseConfig(GitHubEnterpriseConfig value)
public Connection.Builder setGithubEnterpriseConfig(GitHubEnterpriseConfig value)
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Parameter | |
---|---|
Name | Description |
value | GitHubEnterpriseConfig |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setGithubEnterpriseConfig(GitHubEnterpriseConfig.Builder builderForValue)
public Connection.Builder setGithubEnterpriseConfig(GitHubEnterpriseConfig.Builder builderForValue)
Configuration for connections to an instance of GitHub Enterprise.
.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | GitHubEnterpriseConfig.Builder |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setInstallationState(InstallationState value)
public Connection.Builder setInstallationState(InstallationState value)
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | InstallationState |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setInstallationState(InstallationState.Builder builderForValue)
public Connection.Builder setInstallationState(InstallationState.Builder builderForValue)
Output only. Installation state of the Connection.
.google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | InstallationState.Builder |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setName(String value)
public Connection.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Connection.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Connection.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Connection.Builder | This builder for chaining. |
setReconciling(boolean value)
public Connection.Builder setReconciling(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value | boolean The reconciling to set. |
Returns | |
---|---|
Type | Description |
Connection.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Connection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Connection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setUpdateTime(Timestamp value)
public Connection.Builder setUpdateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Connection.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Connection.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Connection.Builder |