Class RepositoryReference

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.code.RepositoryReference
All Implemented Interfaces:
RepositoryReferenceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class RepositoryReference extends com.google.protobuf.GeneratedMessageV3 implements RepositoryReferenceOrBuilder
 ## Repository Reference

 Refers to a source control repository with a URL, a potential label, and any specific system-related information. For
 example, Git repositories can specify a protocol.
 
Protobuf type buildless.code.RepositoryReference
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getReferenceCase

      public RepositoryReference.ReferenceCase getReferenceCase()
      Specified by:
      getReferenceCase in interface RepositoryReferenceOrBuilder
    • getName

      public String getName()
       Specifies a string name which uniquely identifies this repository. For example, GitHub repositories use this to
       specify an owner and repository path.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface RepositoryReferenceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Specifies a string name which uniquely identifies this repository. For example, GitHub repositories use this to
       specify an owner and repository path.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface RepositoryReferenceOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       Display label for this repository. Presented to users in UI and listing circumstances.
       
      string display_name = 2 [json_name = "displayName"];
      Specified by:
      getDisplayName in interface RepositoryReferenceOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Display label for this repository. Presented to users in UI and listing circumstances.
       
      string display_name = 2 [json_name = "displayName"];
      Specified by:
      getDisplayNameBytes in interface RepositoryReferenceOrBuilder
      Returns:
      The bytes for displayName.
    • getUri

      public String getUri()
       Unique URI identifying this repository. Should refer to an endpoint where the repository can be obtained using
       protocol configurations in other fields.
       
      string uri = 3 [json_name = "uri"];
      Specified by:
      getUri in interface RepositoryReferenceOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Unique URI identifying this repository. Should refer to an endpoint where the repository can be obtained using
       protocol configurations in other fields.
       
      string uri = 3 [json_name = "uri"];
      Specified by:
      getUriBytes in interface RepositoryReferenceOrBuilder
      Returns:
      The bytes for uri.
    • hasGit

      public boolean hasGit()
       Specifies a Git repository reference.
       
      .buildless.code.RepositoryReference.GitRepositoryReference git = 4 [json_name = "git"];
      Specified by:
      hasGit in interface RepositoryReferenceOrBuilder
      Returns:
      Whether the git field is set.
    • getGit

       Specifies a Git repository reference.
       
      .buildless.code.RepositoryReference.GitRepositoryReference git = 4 [json_name = "git"];
      Specified by:
      getGit in interface RepositoryReferenceOrBuilder
      Returns:
      The git.
    • getGitOrBuilder

       Specifies a Git repository reference.
       
      .buildless.code.RepositoryReference.GitRepositoryReference git = 4 [json_name = "git"];
      Specified by:
      getGitOrBuilder in interface RepositoryReferenceOrBuilder
    • hasSubversion

      public boolean hasSubversion()
       Specifies a Subversion repository reference.
       
      .buildless.code.RepositoryReference.SubversionRepositoryReference subversion = 5 [json_name = "subversion"];
      Specified by:
      hasSubversion in interface RepositoryReferenceOrBuilder
      Returns:
      Whether the subversion field is set.
    • getSubversion

       Specifies a Subversion repository reference.
       
      .buildless.code.RepositoryReference.SubversionRepositoryReference subversion = 5 [json_name = "subversion"];
      Specified by:
      getSubversion in interface RepositoryReferenceOrBuilder
      Returns:
      The subversion.
    • getSubversionOrBuilder

       Specifies a Subversion repository reference.
       
      .buildless.code.RepositoryReference.SubversionRepositoryReference subversion = 5 [json_name = "subversion"];
      Specified by:
      getSubversionOrBuilder in interface RepositoryReferenceOrBuilder
    • hasMercurial

      public boolean hasMercurial()
       Specifies a Mercurial repository reference.
       
      .buildless.code.RepositoryReference.MercurialRepositoryReference mercurial = 6 [json_name = "mercurial"];
      Specified by:
      hasMercurial in interface RepositoryReferenceOrBuilder
      Returns:
      Whether the mercurial field is set.
    • getMercurial

       Specifies a Mercurial repository reference.
       
      .buildless.code.RepositoryReference.MercurialRepositoryReference mercurial = 6 [json_name = "mercurial"];
      Specified by:
      getMercurial in interface RepositoryReferenceOrBuilder
      Returns:
      The mercurial.
    • getMercurialOrBuilder

       Specifies a Mercurial repository reference.
       
      .buildless.code.RepositoryReference.MercurialRepositoryReference mercurial = 6 [json_name = "mercurial"];
      Specified by:
      getMercurialOrBuilder in interface RepositoryReferenceOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 RepositoryReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static RepositoryReference.Builder newBuilder()
    • newBuilder

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

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

      protected RepositoryReference.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static RepositoryReference getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RepositoryReference> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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