public static final class RepoSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder> implements RepoSourceOrBuilder
Location of the source in a Google Cloud Source Repository.Protobuf type
google.cloud.functions.v2.RepoSource| Modifier and Type | Method and Description |
|---|---|
RepoSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RepoSource |
build() |
RepoSource |
buildPartial() |
RepoSource.Builder |
clear() |
RepoSource.Builder |
clearBranchName()
Regex matching branches to build.
|
RepoSource.Builder |
clearCommitSha()
Explicit commit SHA to build.
|
RepoSource.Builder |
clearDir()
Directory, relative to the source root, in which to run the build.
|
RepoSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RepoSource.Builder |
clearInvertRegex()
Only trigger a build if the revision regex does NOT match the revision
regex.
|
RepoSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RepoSource.Builder |
clearProjectId()
ID of the project that owns the Cloud Source Repository.
|
RepoSource.Builder |
clearRepoName()
Name of the Cloud Source Repository.
|
RepoSource.Builder |
clearRevision() |
RepoSource.Builder |
clearTagName()
Regex matching tags to build.
|
RepoSource.Builder |
clone() |
String |
getBranchName()
Regex matching branches to build.
|
com.google.protobuf.ByteString |
getBranchNameBytes()
Regex matching branches to build.
|
String |
getCommitSha()
Explicit commit SHA to build.
|
com.google.protobuf.ByteString |
getCommitShaBytes()
Explicit commit SHA to build.
|
RepoSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDir()
Directory, relative to the source root, in which to run the build.
|
com.google.protobuf.ByteString |
getDirBytes()
Directory, relative to the source root, in which to run the build.
|
boolean |
getInvertRegex()
Only trigger a build if the revision regex does NOT match the revision
regex.
|
String |
getProjectId()
ID of the project that owns the Cloud Source Repository.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
ID of the project that owns the Cloud Source Repository.
|
String |
getRepoName()
Name of the Cloud Source Repository.
|
com.google.protobuf.ByteString |
getRepoNameBytes()
Name of the Cloud Source Repository.
|
RepoSource.RevisionCase |
getRevisionCase() |
String |
getTagName()
Regex matching tags to build.
|
com.google.protobuf.ByteString |
getTagNameBytes()
Regex matching tags to build.
|
boolean |
hasBranchName()
Regex matching branches to build.
|
boolean |
hasCommitSha()
Explicit commit SHA to build.
|
boolean |
hasTagName()
Regex matching tags to build.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RepoSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RepoSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
RepoSource.Builder |
mergeFrom(RepoSource other) |
RepoSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RepoSource.Builder |
setBranchName(String value)
Regex matching branches to build.
|
RepoSource.Builder |
setBranchNameBytes(com.google.protobuf.ByteString value)
Regex matching branches to build.
|
RepoSource.Builder |
setCommitSha(String value)
Explicit commit SHA to build.
|
RepoSource.Builder |
setCommitShaBytes(com.google.protobuf.ByteString value)
Explicit commit SHA to build.
|
RepoSource.Builder |
setDir(String value)
Directory, relative to the source root, in which to run the build.
|
RepoSource.Builder |
setDirBytes(com.google.protobuf.ByteString value)
Directory, relative to the source root, in which to run the build.
|
RepoSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RepoSource.Builder |
setInvertRegex(boolean value)
Only trigger a build if the revision regex does NOT match the revision
regex.
|
RepoSource.Builder |
setProjectId(String value)
ID of the project that owns the Cloud Source Repository.
|
RepoSource.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
ID of the project that owns the Cloud Source Repository.
|
RepoSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RepoSource.Builder |
setRepoName(String value)
Name of the Cloud Source Repository.
|
RepoSource.Builder |
setRepoNameBytes(com.google.protobuf.ByteString value)
Name of the Cloud Source Repository.
|
RepoSource.Builder |
setTagName(String value)
Regex matching tags to build.
|
RepoSource.Builder |
setTagNameBytes(com.google.protobuf.ByteString value)
Regex matching tags to build.
|
RepoSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RepoSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RepoSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RepoSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RepoSource.Builder>public RepoSource.Builder mergeFrom(RepoSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public RepoSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RepoSource.Builder>IOExceptionpublic RepoSource.RevisionCase getRevisionCase()
getRevisionCase in interface RepoSourceOrBuilderpublic RepoSource.Builder clearRevision()
public boolean hasBranchName()
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string branch_name = 3;hasBranchName in interface RepoSourceOrBuilderpublic String getBranchName()
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string branch_name = 3;getBranchName in interface RepoSourceOrBuilderpublic com.google.protobuf.ByteString getBranchNameBytes()
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string branch_name = 3;getBranchNameBytes in interface RepoSourceOrBuilderpublic RepoSource.Builder setBranchName(String value)
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string branch_name = 3;value - The branchName to set.public RepoSource.Builder clearBranchName()
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string branch_name = 3;public RepoSource.Builder setBranchNameBytes(com.google.protobuf.ByteString value)
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string branch_name = 3;value - The bytes for branchName to set.public boolean hasTagName()
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string tag_name = 4;hasTagName in interface RepoSourceOrBuilderpublic String getTagName()
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string tag_name = 4;getTagName in interface RepoSourceOrBuilderpublic com.google.protobuf.ByteString getTagNameBytes()
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string tag_name = 4;getTagNameBytes in interface RepoSourceOrBuilderpublic RepoSource.Builder setTagName(String value)
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string tag_name = 4;value - The tagName to set.public RepoSource.Builder clearTagName()
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string tag_name = 4;public RepoSource.Builder setTagNameBytes(com.google.protobuf.ByteString value)
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
string tag_name = 4;value - The bytes for tagName to set.public boolean hasCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;hasCommitSha in interface RepoSourceOrBuilderpublic String getCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;getCommitSha in interface RepoSourceOrBuilderpublic com.google.protobuf.ByteString getCommitShaBytes()
Explicit commit SHA to build.
string commit_sha = 5;getCommitShaBytes in interface RepoSourceOrBuilderpublic RepoSource.Builder setCommitSha(String value)
Explicit commit SHA to build.
string commit_sha = 5;value - The commitSha to set.public RepoSource.Builder clearCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;public RepoSource.Builder setCommitShaBytes(com.google.protobuf.ByteString value)
Explicit commit SHA to build.
string commit_sha = 5;value - The bytes for commitSha to set.public String getProjectId()
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
string project_id = 1;getProjectId in interface RepoSourceOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
string project_id = 1;getProjectIdBytes in interface RepoSourceOrBuilderpublic RepoSource.Builder setProjectId(String value)
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
string project_id = 1;value - The projectId to set.public RepoSource.Builder clearProjectId()
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
string project_id = 1;public RepoSource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
string project_id = 1;value - The bytes for projectId to set.public String getRepoName()
Name of the Cloud Source Repository.
string repo_name = 2;getRepoName in interface RepoSourceOrBuilderpublic com.google.protobuf.ByteString getRepoNameBytes()
Name of the Cloud Source Repository.
string repo_name = 2;getRepoNameBytes in interface RepoSourceOrBuilderpublic RepoSource.Builder setRepoName(String value)
Name of the Cloud Source Repository.
string repo_name = 2;value - The repoName to set.public RepoSource.Builder clearRepoName()
Name of the Cloud Source Repository.
string repo_name = 2;public RepoSource.Builder setRepoNameBytes(com.google.protobuf.ByteString value)
Name of the Cloud Source Repository.
string repo_name = 2;value - The bytes for repoName to set.public String getDir()
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
string dir = 6;getDir in interface RepoSourceOrBuilderpublic com.google.protobuf.ByteString getDirBytes()
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
string dir = 6;getDirBytes in interface RepoSourceOrBuilderpublic RepoSource.Builder setDir(String value)
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
string dir = 6;value - The dir to set.public RepoSource.Builder clearDir()
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
string dir = 6;public RepoSource.Builder setDirBytes(com.google.protobuf.ByteString value)
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
string dir = 6;value - The bytes for dir to set.public boolean getInvertRegex()
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;getInvertRegex in interface RepoSourceOrBuilderpublic RepoSource.Builder setInvertRegex(boolean value)
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;value - The invertRegex to set.public RepoSource.Builder clearInvertRegex()
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;public final RepoSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>public final RepoSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RepoSource.Builder>Copyright © 2023 Google LLC. All rights reserved.