Class Connection
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.Connection
- All Implemented Interfaces:
ConnectionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Connection
extends com.google.protobuf.GeneratedMessage
implements ConnectionOrBuilder
Message describing Connection objectProtobuf type
google.cloud.developerconnect.v1.Connection- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage describing Connection objectstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.booleanDeprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Configuration for connections to an instance of Bitbucket Clouds.Configuration for connections to an instance of Bitbucket Clouds.Configuration for connections to an instance of Bitbucket Data Center.Configuration for connections to an instance of Bitbucket Data Center.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.Optional.static Connectioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.DescriptorbooleanOptional.getEtag()Optional.com.google.protobuf.ByteStringOptional.Configuration for connections to github.com.Configuration for connections to github.com.Configuration for connections to an instance of GitHub Enterprise.Configuration for connections to an instance of GitHub Enterprise.Configuration for connections to gitlab.com.Configuration for connections to gitlab.com.Configuration for connections to an instance of GitLab Enterprise.Configuration for connections to an instance of GitLab Enterprise.Optional.Optional.Optional.Optional.Output only.Output only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Connection>booleanOutput only.Configuration for connections to an instance of Secure Source Manager.Configuration for connections to an instance of Secure Source Manager.intgetUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanConfiguration for connections to an instance of Bitbucket Clouds.booleanConfiguration for connections to an instance of Bitbucket Data Center.booleanOutput only.booleanOptional.booleanOutput only.booleanConfiguration for connections to github.com.booleanConfiguration for connections to an instance of GitHub Enterprise.booleanConfiguration for connections to gitlab.com.booleanConfiguration for connections to an instance of GitLab Enterprise.booleanOptional.inthashCode()booleanOptional.booleanOutput only.booleanConfiguration for connections to an instance of Secure Source Manager.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Connection.Builderstatic Connection.BuildernewBuilder(Connection prototype) protected Connection.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ConnectionparseDelimitedFrom(InputStream input) static ConnectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConnectionparseFrom(byte[] data) static ConnectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConnectionparseFrom(com.google.protobuf.ByteString data) static ConnectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConnectionparseFrom(com.google.protobuf.CodedInputStream input) static ConnectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConnectionparseFrom(InputStream input) static ConnectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConnectionparseFrom(ByteBuffer data) static ConnectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Connection>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GITHUB_CONFIG_FIELD_NUMBER
public static final int GITHUB_CONFIG_FIELD_NUMBER- See Also:
-
GITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER
public static final int GITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER- See Also:
-
GITLAB_CONFIG_FIELD_NUMBER
public static final int GITLAB_CONFIG_FIELD_NUMBER- See Also:
-
GITLAB_ENTERPRISE_CONFIG_FIELD_NUMBER
public static final int GITLAB_ENTERPRISE_CONFIG_FIELD_NUMBER- See Also:
-
BITBUCKET_DATA_CENTER_CONFIG_FIELD_NUMBER
public static final int BITBUCKET_DATA_CENTER_CONFIG_FIELD_NUMBER- See Also:
-
BITBUCKET_CLOUD_CONFIG_FIELD_NUMBER
public static final int BITBUCKET_CLOUD_CONFIG_FIELD_NUMBER- See Also:
-
SECURE_SOURCE_MANAGER_INSTANCE_CONFIG_FIELD_NUMBER
public static final int SECURE_SOURCE_MANAGER_INSTANCE_CONFIG_FIELD_NUMBER- See Also:
-
HTTP_CONFIG_FIELD_NUMBER
public static final int HTTP_CONFIG_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
INSTALLATION_STATE_FIELD_NUMBER
public static final int INSTALLATION_STATE_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER- See Also:
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
CRYPTO_KEY_CONFIG_FIELD_NUMBER
public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER- See Also:
-
GIT_PROXY_CONFIG_FIELD_NUMBER
public static final int GIT_PROXY_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getConnectionConfigCase
- Specified by:
getConnectionConfigCasein interfaceConnectionOrBuilder
-
hasGithubConfig
public boolean hasGithubConfig()Configuration for connections to github.com.
.google.cloud.developerconnect.v1.GitHubConfig github_config = 5;- Specified by:
hasGithubConfigin interfaceConnectionOrBuilder- Returns:
- Whether the githubConfig field is set.
-
getGithubConfig
Configuration for connections to github.com.
.google.cloud.developerconnect.v1.GitHubConfig github_config = 5;- Specified by:
getGithubConfigin interfaceConnectionOrBuilder- Returns:
- The githubConfig.
-
getGithubConfigOrBuilder
Configuration for connections to github.com.
.google.cloud.developerconnect.v1.GitHubConfig github_config = 5;- Specified by:
getGithubConfigOrBuilderin interfaceConnectionOrBuilder
-
hasGithubEnterpriseConfig
public boolean hasGithubEnterpriseConfig()Configuration for connections to an instance of GitHub Enterprise.
.google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;- Specified by:
hasGithubEnterpriseConfigin interfaceConnectionOrBuilder- Returns:
- Whether the githubEnterpriseConfig field is set.
-
getGithubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
.google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;- Specified by:
getGithubEnterpriseConfigin interfaceConnectionOrBuilder- Returns:
- The githubEnterpriseConfig.
-
getGithubEnterpriseConfigOrBuilder
Configuration for connections to an instance of GitHub Enterprise.
.google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;- Specified by:
getGithubEnterpriseConfigOrBuilderin interfaceConnectionOrBuilder
-
hasGitlabConfig
public boolean hasGitlabConfig()Configuration for connections to gitlab.com.
.google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;- Specified by:
hasGitlabConfigin interfaceConnectionOrBuilder- Returns:
- Whether the gitlabConfig field is set.
-
getGitlabConfig
Configuration for connections to gitlab.com.
.google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;- Specified by:
getGitlabConfigin interfaceConnectionOrBuilder- Returns:
- The gitlabConfig.
-
getGitlabConfigOrBuilder
Configuration for connections to gitlab.com.
.google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;- Specified by:
getGitlabConfigOrBuilderin interfaceConnectionOrBuilder
-
hasGitlabEnterpriseConfig
public boolean hasGitlabEnterpriseConfig()Configuration for connections to an instance of GitLab Enterprise.
.google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;- Specified by:
hasGitlabEnterpriseConfigin interfaceConnectionOrBuilder- Returns:
- Whether the gitlabEnterpriseConfig field is set.
-
getGitlabEnterpriseConfig
Configuration for connections to an instance of GitLab Enterprise.
.google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;- Specified by:
getGitlabEnterpriseConfigin interfaceConnectionOrBuilder- Returns:
- The gitlabEnterpriseConfig.
-
getGitlabEnterpriseConfigOrBuilder
Configuration for connections to an instance of GitLab Enterprise.
.google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;- Specified by:
getGitlabEnterpriseConfigOrBuilderin interfaceConnectionOrBuilder
-
hasBitbucketDataCenterConfig
public boolean hasBitbucketDataCenterConfig()Configuration for connections to an instance of Bitbucket Data Center.
.google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;- Specified by:
hasBitbucketDataCenterConfigin interfaceConnectionOrBuilder- Returns:
- Whether the bitbucketDataCenterConfig field is set.
-
getBitbucketDataCenterConfig
Configuration for connections to an instance of Bitbucket Data Center.
.google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;- Specified by:
getBitbucketDataCenterConfigin interfaceConnectionOrBuilder- Returns:
- The bitbucketDataCenterConfig.
-
getBitbucketDataCenterConfigOrBuilder
Configuration for connections to an instance of Bitbucket Data Center.
.google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;- Specified by:
getBitbucketDataCenterConfigOrBuilderin interfaceConnectionOrBuilder
-
hasBitbucketCloudConfig
public boolean hasBitbucketCloudConfig()Configuration for connections to an instance of Bitbucket Clouds.
.google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;- Specified by:
hasBitbucketCloudConfigin interfaceConnectionOrBuilder- Returns:
- Whether the bitbucketCloudConfig field is set.
-
getBitbucketCloudConfig
Configuration for connections to an instance of Bitbucket Clouds.
.google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;- Specified by:
getBitbucketCloudConfigin interfaceConnectionOrBuilder- Returns:
- The bitbucketCloudConfig.
-
getBitbucketCloudConfigOrBuilder
Configuration for connections to an instance of Bitbucket Clouds.
.google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;- Specified by:
getBitbucketCloudConfigOrBuilderin interfaceConnectionOrBuilder
-
hasSecureSourceManagerInstanceConfig
public boolean hasSecureSourceManagerInstanceConfig()Configuration for connections to an instance of Secure Source Manager.
.google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;- Specified by:
hasSecureSourceManagerInstanceConfigin interfaceConnectionOrBuilder- Returns:
- Whether the secureSourceManagerInstanceConfig field is set.
-
getSecureSourceManagerInstanceConfig
Configuration for connections to an instance of Secure Source Manager.
.google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;- Specified by:
getSecureSourceManagerInstanceConfigin interfaceConnectionOrBuilder- Returns:
- The secureSourceManagerInstanceConfig.
-
getSecureSourceManagerInstanceConfigOrBuilder
Configuration for connections to an instance of Secure Source Manager.
.google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;- Specified by:
getSecureSourceManagerInstanceConfigOrBuilderin interfaceConnectionOrBuilder
-
hasHttpConfig
public boolean hasHttpConfig()Optional. Configuration for connections to an HTTP service provider.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig http_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasHttpConfigin interfaceConnectionOrBuilder- Returns:
- Whether the httpConfig field is set.
-
getHttpConfig
Optional. Configuration for connections to an HTTP service provider.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig http_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHttpConfigin interfaceConnectionOrBuilder- Returns:
- The httpConfig.
-
getHttpConfigOrBuilder
Optional. Configuration for connections to an HTTP service provider.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig http_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHttpConfigOrBuilderin interfaceConnectionOrBuilder
-
getName
Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceConnectionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceConnectionOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceConnectionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceConnectionOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceConnectionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceConnectionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceConnectionOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceConnectionOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceConnectionOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceConnectionOrBuilder- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceConnectionOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ConnectionOrBuilderOptional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceConnectionOrBuilder
-
containsLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceConnectionOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceConnectionOrBuilder
-
getLabelsMap
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceConnectionOrBuilder
-
getLabelsOrDefault
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceConnectionOrBuilder
-
getLabelsOrThrow
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceConnectionOrBuilder
-
hasInstallationState
public boolean hasInstallationState()Output only. Installation state of the Connection.
.google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasInstallationStatein interfaceConnectionOrBuilder- Returns:
- Whether the installationState field is set.
-
getInstallationState
Output only. Installation state of the Connection.
.google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInstallationStatein interfaceConnectionOrBuilder- Returns:
- The installationState.
-
getInstallationStateOrBuilder
Output only. Installation state of the Connection.
.google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInstallationStateOrBuilderin interfaceConnectionOrBuilder
-
getDisabled
public boolean getDisabled()Optional. 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 = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisabledin interfaceConnectionOrBuilder- Returns:
- The disabled.
-
getReconciling
public boolean getReconciling()Output only. Set to true when the connection is being set up or updated in the background.
bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceConnectionOrBuilder- Returns:
- The reconciling.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:ConnectionOrBuilderOptional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceConnectionOrBuilder
-
containsAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceConnectionOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceConnectionOrBuilder
-
getAnnotationsMap
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceConnectionOrBuilder
-
getAnnotationsOrDefault
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceConnectionOrBuilder
-
getAnnotationsOrThrow
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceConnectionOrBuilder
-
getEtag
Optional. 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 = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceConnectionOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. 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 = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceConnectionOrBuilder- Returns:
- The bytes for etag.
-
getUid
Output only. A system-assigned unique identifier for the Connection.
string uid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Specified by:
getUidin interfaceConnectionOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. A system-assigned unique identifier for the Connection.
string uid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Specified by:
getUidBytesin interfaceConnectionOrBuilder- Returns:
- The bytes for uid.
-
hasCryptoKeyConfig
public boolean hasCryptoKeyConfig()Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
.google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCryptoKeyConfigin interfaceConnectionOrBuilder- Returns:
- Whether the cryptoKeyConfig field is set.
-
getCryptoKeyConfig
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
.google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCryptoKeyConfigin interfaceConnectionOrBuilder- Returns:
- The cryptoKeyConfig.
-
getCryptoKeyConfigOrBuilder
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
.google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCryptoKeyConfigOrBuilderin interfaceConnectionOrBuilder
-
hasGitProxyConfig
public boolean hasGitProxyConfig()Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection.
.google.cloud.developerconnect.v1.GitProxyConfig git_proxy_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGitProxyConfigin interfaceConnectionOrBuilder- Returns:
- Whether the gitProxyConfig field is set.
-
getGitProxyConfig
Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection.
.google.cloud.developerconnect.v1.GitProxyConfig git_proxy_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitProxyConfigin interfaceConnectionOrBuilder- Returns:
- The gitProxyConfig.
-
getGitProxyConfigOrBuilder
Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection.
.google.cloud.developerconnect.v1.GitProxyConfig git_proxy_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitProxyConfigOrBuilderin interfaceConnectionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Connection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Connection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Connection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Connection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Connection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Connection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Connection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Connection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Connection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Connection.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-