Class GitRepositoryLink

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.GitRepositoryLink
All Implemented Interfaces:
GitRepositoryLinkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GitRepositoryLink extends com.google.protobuf.GeneratedMessage implements GitRepositoryLinkOrBuilder
 Message describing the GitRepositoryLink object
 
Protobuf type google.cloud.developerconnect.v1.GitRepositoryLink
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. Resource name of the repository, in the format
       `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface GitRepositoryLinkOrBuilder
      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:
      getNameBytes in interface GitRepositoryLinkOrBuilder
      Returns:
      The bytes for name.
    • getCloneUri

      public String getCloneUri()
       Required. Git Clone URI.
       
      string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCloneUri in interface GitRepositoryLinkOrBuilder
      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:
      getCloneUriBytes in interface GitRepositoryLinkOrBuilder
      Returns:
      The bytes for cloneUri.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. [Output only] Create timestamp
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface GitRepositoryLinkOrBuilder
      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:
      getCreateTime in interface GitRepositoryLinkOrBuilder
      Returns:
      The createTime.
    • 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:
      getCreateTimeOrBuilder in interface GitRepositoryLinkOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. [Output only] Update timestamp
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface GitRepositoryLinkOrBuilder
      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:
      getUpdateTime in interface GitRepositoryLinkOrBuilder
      Returns:
      The updateTime.
    • 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:
      getUpdateTimeOrBuilder in interface GitRepositoryLinkOrBuilder
    • hasDeleteTime

      public boolean hasDeleteTime()
       Output only. [Output only] Delete timestamp
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeleteTime in interface GitRepositoryLinkOrBuilder
      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:
      getDeleteTime in interface GitRepositoryLinkOrBuilder
      Returns:
      The deleteTime.
    • 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:
      getDeleteTimeOrBuilder in interface GitRepositoryLinkOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: GitRepositoryLinkOrBuilder
       Optional. Labels as key value pairs
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface GitRepositoryLinkOrBuilder
    • containsLabels

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

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface GitRepositoryLinkOrBuilder
    • getLabelsMap

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

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

      public String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface GitRepositoryLinkOrBuilder
    • getEtag

      public 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];
      Specified by:
      getEtag in interface GitRepositoryLinkOrBuilder
      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:
      getEtagBytes in interface GitRepositoryLinkOrBuilder
      Returns:
      The bytes for etag.
    • 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:
      getReconciling in interface GitRepositoryLinkOrBuilder
      Returns:
      The reconciling.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: GitRepositoryLinkOrBuilder
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface GitRepositoryLinkOrBuilder
    • containsAnnotations

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

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface GitRepositoryLinkOrBuilder
    • getAnnotationsMap

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

      public 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];
      Specified by:
      getAnnotationsOrDefault in interface GitRepositoryLinkOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface GitRepositoryLinkOrBuilder
    • getUid

      public 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) = { ... }
      Specified by:
      getUid in interface GitRepositoryLinkOrBuilder
      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:
      getUidBytes in interface GitRepositoryLinkOrBuilder
      Returns:
      The bytes for uid.
    • getWebhookId

      public String getWebhookId()
       Output only. External ID of the webhook created for the repository.
       
      string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWebhookId in interface GitRepositoryLinkOrBuilder
      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:
      getWebhookIdBytes in interface GitRepositoryLinkOrBuilder
      Returns:
      The bytes for webhookId.
    • getGitProxyUri

      public 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];
      Specified by:
      getGitProxyUri in interface GitRepositoryLinkOrBuilder
      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:
      getGitProxyUriBytes in interface GitRepositoryLinkOrBuilder
      Returns:
      The bytes for gitProxyUri.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GitRepositoryLink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GitRepositoryLink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GitRepositoryLink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GitRepositoryLink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GitRepositoryLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GitRepositoryLink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GitRepositoryLink parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GitRepositoryLink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GitRepositoryLink parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GitRepositoryLink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GitRepositoryLink parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GitRepositoryLink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GitRepositoryLink.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GitRepositoryLink.Builder newBuilder()
    • newBuilder

      public static GitRepositoryLink.Builder newBuilder(GitRepositoryLink prototype)
    • toBuilder

      public GitRepositoryLink.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GitRepositoryLink.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GitRepositoryLink getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GitRepositoryLink> parser()
    • getParserForType

      public com.google.protobuf.Parser<GitRepositoryLink> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GitRepositoryLink getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder