publicfinalclass GitRepoSourceextendsGeneratedMessageV3implementsGitRepoSourceOrBuilder
GitRepoSource describes a repo and ref of a code repository.
Protobuf type google.devtools.cloudbuild.v1.GitRepoSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
GITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER
publicstaticfinalintGITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REF_FIELD_NUMBER
publicstaticfinalintREF_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REPOSITORY_FIELD_NUMBER
publicstaticfinalintREPOSITORY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REPO_TYPE_FIELD_NUMBER
publicstaticfinalintREPO_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
URI_FIELD_NUMBER
publicstaticfinalintURI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticGitRepoSourcegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticGitRepoSource.BuildernewBuilder()
newBuilder(GitRepoSource prototype)
publicstaticGitRepoSource.BuildernewBuilder(GitRepoSourceprototype)
publicstaticGitRepoSourceparseDelimitedFrom(InputStreaminput)
publicstaticGitRepoSourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticGitRepoSourceparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticGitRepoSourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticGitRepoSourceparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticGitRepoSourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticGitRepoSourceparseFrom(CodedInputStreaminput)
publicstaticGitRepoSourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticGitRepoSourceparseFrom(InputStreaminput)
publicstaticGitRepoSourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticGitRepoSourceparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticGitRepoSourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<GitRepoSource>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicGitRepoSourcegetDefaultInstanceForType()
getEnterpriseConfigCase()
publicGitRepoSource.EnterpriseConfigCasegetEnterpriseConfigCase()
getGithubEnterpriseConfig()
publicStringgetGithubEnterpriseConfig()
The full resource name of the github enterprise config.
Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}.
projects/{project}/githubEnterpriseConfigs/{id}.
string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The githubEnterpriseConfig.
|
getGithubEnterpriseConfigBytes()
publicByteStringgetGithubEnterpriseConfigBytes()
The full resource name of the github enterprise config.
Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}.
projects/{project}/githubEnterpriseConfigs/{id}.
string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for githubEnterpriseConfig.
|
getParserForType()
publicParser<GitRepoSource>getParserForType()
Overrides
getRef()
The branch or tag to use. Must start with "refs/" (required).
string ref = 2;
| Returns |
| Type |
Description |
String |
The ref.
|
getRefBytes()
publicByteStringgetRefBytes()
The branch or tag to use. Must start with "refs/" (required).
string ref = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for ref.
|
getRepoType()
publicGitFileSource.RepoTypegetRepoType()
See RepoType below.
.google.devtools.cloudbuild.v1.GitFileSource.RepoType repo_type = 3;
getRepoTypeValue()
publicintgetRepoTypeValue()
See RepoType below.
.google.devtools.cloudbuild.v1.GitFileSource.RepoType repo_type = 3;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for repoType.
|
getRepository()
publicStringgetRepository()
The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*. Either uri or
repository can be specified and is required.
string repository = 6 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The repository.
|
getRepositoryBytes()
publicByteStringgetRepositoryBytes()
The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*. Either uri or
repository can be specified and is required.
string repository = 6 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for repository.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getSourceCase()
publicGitRepoSource.SourceCasegetSourceCase()
getUri()
| Returns |
| Type |
Description |
String |
The uri.
|
getUriBytes()
publicByteStringgetUriBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for uri.
|
hasGithubEnterpriseConfig()
publicbooleanhasGithubEnterpriseConfig()
The full resource name of the github enterprise config.
Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}.
projects/{project}/githubEnterpriseConfigs/{id}.
string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the githubEnterpriseConfig field is set.
|
hasRepository()
publicbooleanhasRepository()
The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*. Either uri or
repository can be specified and is required.
string repository = 6 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the repository field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicGitRepoSource.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedGitRepoSource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicGitRepoSource.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides