Interface GitRepositoryLinkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GitRepositoryLink,GitRepositoryLink.Builder
@Generated
public interface GitRepositoryLinkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.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.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getEtag()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.getName()Identifier.com.google.protobuf.ByteStringIdentifier.booleanOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getCloneUri
String getCloneUri()Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cloneUri.
-
getCloneUriBytes
com.google.protobuf.ByteString getCloneUriBytes()Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for cloneUri.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasDeleteTime
boolean hasDeleteTime()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
com.google.protobuf.Timestamp getDeleteTime()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEtag
String 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];- Returns:
- The etag.
-
getEtagBytes
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];- Returns:
- The bytes for etag.
-
getReconciling
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];- Returns:
- The reconciling.
-
getAnnotationsCount
int getAnnotationsCount()Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
containsAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrDefault
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrThrow
Optional. Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getUid
String getUid()Output only. A system-assigned unique identifier for the GitRepositoryLink.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- The uid.
-
getUidBytes
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) = { ... }- Returns:
- The bytes for uid.
-
getWebhookId
String getWebhookId()Output only. External ID of the webhook created for the repository.
string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The webhookId.
-
getWebhookIdBytes
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];- Returns:
- The bytes for webhookId.
-
getGitProxyUri
String 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];- Returns:
- The gitProxyUri.
-
getGitProxyUriBytes
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];- Returns:
- The bytes for gitProxyUri.
-