Class ProjectRepository.Draft

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.projects.ProjectRepository.Draft
All Implemented Interfaces:
ProjectRepository.DraftOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ProjectRepository

public static final class ProjectRepository.Draft extends com.google.protobuf.GeneratedMessageV3 implements ProjectRepository.DraftOrBuilder
 ## Project Repository: Draft

 Specifies a "draft" repository which is being created (via linkage) to a Buildless project.
 
Protobuf type buildless.projects.ProjectRepository.Draft
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
    • getName

      public String getName()
       Short name which uniquely identifies this repository record. Provided by the user explicitly or generated by the
       server at the time a project repository is created.
       
      string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getName in interface ProjectRepository.DraftOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Short name which uniquely identifies this repository record. Provided by the user explicitly or generated by the
       server at the time a project repository is created.
       
      string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getNameBytes in interface ProjectRepository.DraftOrBuilder
      Returns:
      The bytes for name.
    • getSystemValue

      public int getSystemValue()
       Specifies the source control system in use. Systems include Git, Subversion, and Mercurial.
       
      .buildless.code.SourceControlSystem system = 2 [json_name = "system", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getSystemValue in interface ProjectRepository.DraftOrBuilder
      Returns:
      The enum numeric value on the wire for system.
    • getSystem

      public SourceControlSystem getSystem()
       Specifies the source control system in use. Systems include Git, Subversion, and Mercurial.
       
      .buildless.code.SourceControlSystem system = 2 [json_name = "system", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getSystem in interface ProjectRepository.DraftOrBuilder
      Returns:
      The system.
    • hasRepository

      public boolean hasRepository()
       Specifies information about the source repository under linkage.
       
      .buildless.code.RepositoryReference repository = 3 [json_name = "repository", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      hasRepository in interface ProjectRepository.DraftOrBuilder
      Returns:
      Whether the repository field is set.
    • getRepository

      public RepositoryReference getRepository()
       Specifies information about the source repository under linkage.
       
      .buildless.code.RepositoryReference repository = 3 [json_name = "repository", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getRepository in interface ProjectRepository.DraftOrBuilder
      Returns:
      The repository.
    • getRepositoryOrBuilder

      public RepositoryReferenceOrBuilder getRepositoryOrBuilder()
       Specifies information about the source repository under linkage.
       
      .buildless.code.RepositoryReference repository = 3 [json_name = "repository", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getRepositoryOrBuilder in interface ProjectRepository.DraftOrBuilder
    • getProviderValue

      public int getProviderValue()
       Specifies the source control provider, as applicable. Providers include systems like GitHub.
       
      .buildless.code.RepositoryProvider provider = 4 [json_name = "provider", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProviderValue in interface ProjectRepository.DraftOrBuilder
      Returns:
      The enum numeric value on the wire for provider.
    • getProvider

      public RepositoryProvider getProvider()
       Specifies the source control provider, as applicable. Providers include systems like GitHub.
       
      .buildless.code.RepositoryProvider provider = 4 [json_name = "provider", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProvider in interface ProjectRepository.DraftOrBuilder
      Returns:
      The provider.
    • 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 ProjectRepository.Draft parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ProjectRepository.Draft parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ProjectRepository.Draft parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ProjectRepository.Draft.Builder newBuilder()
    • newBuilder

      public static ProjectRepository.Draft.Builder newBuilder(ProjectRepository.Draft prototype)
    • toBuilder

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

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

      public static ProjectRepository.Draft getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ProjectRepository.Draft> 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 ProjectRepository.Draft getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder