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 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

      boolean containsLabels(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       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

      boolean containsAnnotations(String key)
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       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.