Class GitRepositoryLink.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
com.google.cloud.developerconnect.v1.GitRepositoryLink.Builder
- All Implemented Interfaces:
GitRepositoryLinkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GitRepositoryLink
public static final class GitRepositoryLink.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
implements GitRepositoryLinkOrBuilder
Message describing the GitRepositoryLink objectProtobuf type
google.cloud.developerconnect.v1.GitRepositoryLink-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Output only.Output only.Optional.Output only.Identifier.Output only.clearUid()Output only.Output only.Output only.booleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.booleanOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(GitRepositoryLink other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Optional.putAllLabels(Map<String, String> values) Optional.putAnnotations(String key, String value) Optional.Optional.removeAnnotations(String key) Optional.removeLabels(String key) Optional.setCloneUri(String value) Required.setCloneUriBytes(com.google.protobuf.ByteString value) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Optional.setEtagBytes(com.google.protobuf.ByteString value) Optional.setGitProxyUri(String value) Output only.setGitProxyUriBytes(com.google.protobuf.ByteString value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setReconciling(boolean value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setWebhookId(String value) Output only.setWebhookIdBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<GitRepositoryLink.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GitRepositoryLink.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GitRepositoryLink.Builder>
-
mergeFrom
public GitRepositoryLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GitRepositoryLink.Builder>- Throws:
IOException
-
getName
Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceGitRepositoryLinkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceGitRepositoryLinkOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getCloneUri
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCloneUriin interfaceGitRepositoryLinkOrBuilder- Returns:
- The cloneUri.
-
getCloneUriBytes
public com.google.protobuf.ByteString getCloneUriBytes()Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCloneUriBytesin interfaceGitRepositoryLinkOrBuilder- Returns:
- The bytes for cloneUri.
-
setCloneUri
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The cloneUri to set.- Returns:
- This builder for chaining.
-
clearCloneUri
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setCloneUriBytes
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for cloneUri to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceGitRepositoryLinkOrBuilder- 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceGitRepositoryLinkOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public GitRepositoryLink.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceGitRepositoryLinkOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceGitRepositoryLinkOrBuilder- 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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceGitRepositoryLinkOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public GitRepositoryLink.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceGitRepositoryLinkOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceGitRepositoryLinkOrBuilder- 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceGitRepositoryLinkOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
public GitRepositoryLink.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceGitRepositoryLinkOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:GitRepositoryLinkOrBuilderOptional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceGitRepositoryLinkOrBuilder
-
containsLabels
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceGitRepositoryLinkOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceGitRepositoryLinkOrBuilder
-
getLabelsMap
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceGitRepositoryLinkOrBuilder
-
getLabelsOrDefault
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceGitRepositoryLinkOrBuilder
-
getLabelsOrThrow
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceGitRepositoryLinkOrBuilder
-
clearLabels
-
removeLabels
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
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 = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceGitRepositoryLinkOrBuilder- 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 = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceGitRepositoryLinkOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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 = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
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 = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEtagBytes
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 = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
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 interfaceGitRepositoryLinkOrBuilder- Returns:
- The reconciling.
-
setReconciling
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];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
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];- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:GitRepositoryLinkOrBuilderOptional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceGitRepositoryLinkOrBuilder
-
containsAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceGitRepositoryLinkOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceGitRepositoryLinkOrBuilder
-
getAnnotationsMap
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceGitRepositoryLinkOrBuilder
-
getAnnotationsOrDefault
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceGitRepositoryLinkOrBuilder
-
getAnnotationsOrThrow
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceGitRepositoryLinkOrBuilder
-
clearAnnotations
-
removeAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
putAllAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getUid
Output only. A system-assigned unique identifier for the GitRepositoryLink.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Specified by:
getUidin interfaceGitRepositoryLinkOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. A system-assigned unique identifier for the GitRepositoryLink.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Specified by:
getUidBytesin interfaceGitRepositoryLinkOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. A system-assigned unique identifier for the GitRepositoryLink.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. A system-assigned unique identifier for the GitRepositoryLink.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setUidBytes
Output only. A system-assigned unique identifier for the GitRepositoryLink.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getWebhookId
Output only. External ID of the webhook created for the repository.
string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWebhookIdin interfaceGitRepositoryLinkOrBuilder- Returns:
- The webhookId.
-
getWebhookIdBytes
public com.google.protobuf.ByteString getWebhookIdBytes()Output only. External ID of the webhook created for the repository.
string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWebhookIdBytesin interfaceGitRepositoryLinkOrBuilder- Returns:
- The bytes for webhookId.
-
setWebhookId
Output only. External ID of the webhook created for the repository.
string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The webhookId to set.- Returns:
- This builder for chaining.
-
clearWebhookId
Output only. External ID of the webhook created for the repository.
string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setWebhookIdBytes
Output only. External ID of the webhook created for the repository.
string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for webhookId to set.- Returns:
- This builder for chaining.
-
getGitProxyUri
Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
string git_proxy_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGitProxyUriin interfaceGitRepositoryLinkOrBuilder- Returns:
- The gitProxyUri.
-
getGitProxyUriBytes
public com.google.protobuf.ByteString getGitProxyUriBytes()Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
string git_proxy_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGitProxyUriBytesin interfaceGitRepositoryLinkOrBuilder- Returns:
- The bytes for gitProxyUri.
-
setGitProxyUri
Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
string git_proxy_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The gitProxyUri to set.- Returns:
- This builder for chaining.
-
clearGitProxyUri
Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
string git_proxy_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setGitProxyUriBytes
Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
string git_proxy_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for gitProxyUri to set.- Returns:
- This builder for chaining.
-