Class ProjectRepository

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

public final class ProjectRepository extends com.google.protobuf.GeneratedMessageV3 implements ProjectRepositoryOrBuilder
 ## Project Repository

 Models a source control repository which is linked to a Buildless project. Source control repositories are held in
 their own records underneath projects to allow for linkages to multiple repositories for one project.
 
Protobuf type buildless.projects.ProjectRepository
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
    • getUuid

      public String getUuid()
       Unique ID provisioned for this repository record.
       
      string uuid = 1 [json_name = "uuid", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }
      Specified by:
      getUuid in interface ProjectRepositoryOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
       Unique ID provisioned for this repository record.
       
      string uuid = 1 [json_name = "uuid", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }
      Specified by:
      getUuidBytes in interface ProjectRepositoryOrBuilder
      Returns:
      The bytes for uuid.
    • 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 = 2 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }
      Specified by:
      getName in interface ProjectRepositoryOrBuilder
      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 = 2 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }
      Specified by:
      getNameBytes in interface ProjectRepositoryOrBuilder
      Returns:
      The bytes for name.
    • getStatusValue

      public int getStatusValue()
       Current status of this project repository.
       
      .buildless.projects.ProjectRepository.Status status = 3 [json_name = "status", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface ProjectRepositoryOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public ProjectRepository.Status getStatus()
       Current status of this project repository.
       
      .buildless.projects.ProjectRepository.Status status = 3 [json_name = "status", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface ProjectRepositoryOrBuilder
      Returns:
      The status.
    • getSystemValue

      public int getSystemValue()
       Specifies the source control system in use. Systems include Git, Subversion, and Mercurial.
       
      .buildless.code.SourceControlSystem system = 4 [json_name = "system", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystemValue in interface ProjectRepositoryOrBuilder
      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 = 4 [json_name = "system", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystem in interface ProjectRepositoryOrBuilder
      Returns:
      The system.
    • hasRepository

      public boolean hasRepository()
       Specifies information about the source repository under linkage.
       
      .buildless.code.RepositoryReference repository = 5 [json_name = "repository", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRepository in interface ProjectRepositoryOrBuilder
      Returns:
      Whether the repository field is set.
    • getRepository

      public RepositoryReference getRepository()
       Specifies information about the source repository under linkage.
       
      .buildless.code.RepositoryReference repository = 5 [json_name = "repository", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepository in interface ProjectRepositoryOrBuilder
      Returns:
      The repository.
    • getRepositoryOrBuilder

      public RepositoryReferenceOrBuilder getRepositoryOrBuilder()
       Specifies information about the source repository under linkage.
       
      .buildless.code.RepositoryReference repository = 5 [json_name = "repository", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepositoryOrBuilder in interface ProjectRepositoryOrBuilder
    • getProviderValue

      public int getProviderValue()
       Specifies the source control provider, as applicable. Providers include systems like GitHub.
       
      .buildless.code.RepositoryProvider provider = 6 [json_name = "provider", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProviderValue in interface ProjectRepositoryOrBuilder
      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 = 6 [json_name = "provider", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProvider in interface ProjectRepositoryOrBuilder
      Returns:
      The provider.
    • getEnabled

      public boolean getEnabled()
       Whether the repository is currently enabled within the Buildless service. If the repository is disabled, it is not
       consulted for cache population, and events are not processed.
       
      bool enabled = 7 [json_name = "enabled"];
      Specified by:
      getEnabled in interface ProjectRepositoryOrBuilder
      Returns:
      The enabled.
    • hasUpdatedBy

      public boolean hasUpdatedBy()
       Specifies information about the user who last updated this project repository.
       
      .buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdatedBy in interface ProjectRepositoryOrBuilder
      Returns:
      Whether the updatedBy field is set.
    • getUpdatedBy

      public UserReference getUpdatedBy()
       Specifies information about the user who last updated this project repository.
       
      .buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdatedBy in interface ProjectRepositoryOrBuilder
      Returns:
      The updatedBy.
    • getUpdatedByOrBuilder

      public UserReferenceOrBuilder getUpdatedByOrBuilder()
       Specifies information about the user who last updated this project repository.
       
      .buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdatedByOrBuilder in interface ProjectRepositoryOrBuilder
    • hasUpdatedAt

      public boolean hasUpdatedAt()
       Specifies the last time this project repository was updated. Changes with each update to the record.
       
      .google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdatedAt in interface ProjectRepositoryOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
       Specifies the last time this project repository was updated. Changes with each update to the record.
       
      .google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdatedAt in interface ProjectRepositoryOrBuilder
      Returns:
      The updatedAt.
    • getUpdatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
       Specifies the last time this project repository was updated. Changes with each update to the record.
       
      .google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdatedAtOrBuilder in interface ProjectRepositoryOrBuilder
    • hasCreatedBy

      public boolean hasCreatedBy()
       Specifies information about the user who created this project repository. If the record was created by the system,
       this field is not filled in.
       
      .buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreatedBy in interface ProjectRepositoryOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public UserReference getCreatedBy()
       Specifies information about the user who created this project repository. If the record was created by the system,
       this field is not filled in.
       
      .buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreatedBy in interface ProjectRepositoryOrBuilder
      Returns:
      The createdBy.
    • getCreatedByOrBuilder

      public UserReferenceOrBuilder getCreatedByOrBuilder()
       Specifies information about the user who created this project repository. If the record was created by the system,
       this field is not filled in.
       
      .buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreatedByOrBuilder in interface ProjectRepositoryOrBuilder
    • hasCreatedAt

      public boolean hasCreatedAt()
       Specifies the moment at which this record was originally created. Does not change over the lifecycle of the record.
       
      .google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreatedAt in interface ProjectRepositoryOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
       Specifies the moment at which this record was originally created. Does not change over the lifecycle of the record.
       
      .google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreatedAt in interface ProjectRepositoryOrBuilder
      Returns:
      The createdAt.
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       Specifies the moment at which this record was originally created. Does not change over the lifecycle of the record.
       
      .google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreatedAtOrBuilder in interface ProjectRepositoryOrBuilder
    • 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static ProjectRepository 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static ProjectRepository.Builder newBuilder()
    • newBuilder

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

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

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

      public static ProjectRepository getDefaultInstance()
    • parser

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

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