Interface ProjectRepository.DraftOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ProjectRepository.Draft, ProjectRepository.Draft.Builder
Enclosing class:
ProjectRepository

public static interface ProjectRepository.DraftOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Short name which uniquely identifies this repository record.
    com.google.protobuf.ByteString
    Short name which uniquely identifies this repository record.
    Specifies the source control provider, as applicable.
    int
    Specifies the source control provider, as applicable.
    Specifies information about the source repository under linkage.
    Specifies information about the source repository under linkage.
    Specifies the source control system in use.
    int
    Specifies the source control system in use.
    boolean
    Specifies information about the source repository under linkage.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      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) = { ... }
      Returns:
      The name.
    • getNameBytes

      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) = { ... }
      Returns:
      The bytes for name.
    • getSystemValue

      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) = { ... }
      Returns:
      The enum numeric value on the wire for system.
    • getSystem

      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) = { ... }
      Returns:
      The system.
    • hasRepository

      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) = { ... }
      Returns:
      Whether the repository field is set.
    • getRepository

      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) = { ... }
      Returns:
      The repository.
    • getRepositoryOrBuilder

      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) = { ... }
    • getProviderValue

      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];
      Returns:
      The enum numeric value on the wire for provider.
    • getProvider

      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];
      Returns:
      The provider.