Package com.buildless.projects
Interface ProjectRepositoryReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProjectRepositoryReference,ProjectRepositoryReference.Builder
public interface ProjectRepositoryReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the source control provider, as applicable.intSpecifies 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.intSpecifies the source control system in use.booleanSpecifies information about the source repository under linkage.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSystemValue
int getSystemValue()Specifies the source control system in use. Systems include Git, Subversion, and Mercurial.
.buildless.code.SourceControlSystem system = 1 [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 = 1 [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 = 2 [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 = 2 [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 = 2 [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 = 3 [json_name = "provider", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- 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 = 3 [json_name = "provider", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- The provider.
-