- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
public static final class RepoSource.Builder extends GeneratedMessageV3.Builder<RepoSource.Builder> implements RepoSourceOrBuilder
Location of the source in a Google Cloud Source Repository.
Protobuf type google.cloud.functions.v2alpha.RepoSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RepoSource.BuilderImplements
RepoSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepoSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RepoSource.Builder |
build()
public RepoSource build()
Type | Description |
RepoSource |
buildPartial()
public RepoSource buildPartial()
Type | Description |
RepoSource |
clear()
public RepoSource.Builder clear()
Type | Description |
RepoSource.Builder |
clearBranchName()
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;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clearCommitSha()
public RepoSource.Builder clearCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clearDir()
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;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RepoSource.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RepoSource.Builder |
clearInvertRegex()
public RepoSource.Builder clearInvertRegex()
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RepoSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RepoSource.Builder |
clearProjectId()
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;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clearRepoName()
public RepoSource.Builder clearRepoName()
Name of the Cloud Source Repository.
string repo_name = 2;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clearRevision()
public RepoSource.Builder clearRevision()
Type | Description |
RepoSource.Builder |
clearTagName()
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;
Type | Description |
RepoSource.Builder | This builder for chaining. |
clone()
public RepoSource.Builder clone()
Type | Description |
RepoSource.Builder |
getBranchName()
public 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;
Type | Description |
String | The branchName. |
getBranchNameBytes()
public 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;
Type | Description |
ByteString | The bytes for branchName. |
getCommitSha()
public String getCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;
Type | Description |
String | The commitSha. |
getCommitShaBytes()
public ByteString getCommitShaBytes()
Explicit commit SHA to build.
string commit_sha = 5;
Type | Description |
ByteString | The bytes for commitSha. |
getDefaultInstanceForType()
public RepoSource getDefaultInstanceForType()
Type | Description |
RepoSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDir()
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;
Type | Description |
String | The dir. |
getDirBytes()
public 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;
Type | Description |
ByteString | The bytes for dir. |
getInvertRegex()
public boolean getInvertRegex()
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;
Type | Description |
boolean | The invertRegex. |
getProjectId()
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;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public 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;
Type | Description |
ByteString | The bytes for projectId. |
getRepoName()
public String getRepoName()
Name of the Cloud Source Repository.
string repo_name = 2;
Type | Description |
String | The repoName. |
getRepoNameBytes()
public ByteString getRepoNameBytes()
Name of the Cloud Source Repository.
string repo_name = 2;
Type | Description |
ByteString | The bytes for repoName. |
getRevisionCase()
public RepoSource.RevisionCase getRevisionCase()
Type | Description |
RepoSource.RevisionCase |
getTagName()
public 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;
Type | Description |
String | The tagName. |
getTagNameBytes()
public 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;
Type | Description |
ByteString | The bytes for tagName. |
hasBranchName()
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;
Type | Description |
boolean | Whether the branchName field is set. |
hasCommitSha()
public boolean hasCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;
Type | Description |
boolean | Whether the commitSha field is set. |
hasTagName()
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;
Type | Description |
boolean | Whether the tagName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RepoSource other)
public RepoSource.Builder mergeFrom(RepoSource other)
Name | Description |
other | RepoSource |
Type | Description |
RepoSource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RepoSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RepoSource.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RepoSource.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RepoSource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepoSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RepoSource.Builder |
setBranchName(String value)
public 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;
Name | Description |
value | String The branchName to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setBranchNameBytes(ByteString value)
public RepoSource.Builder setBranchNameBytes(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;
Name | Description |
value | ByteString The bytes for branchName to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setCommitSha(String value)
public RepoSource.Builder setCommitSha(String value)
Explicit commit SHA to build.
string commit_sha = 5;
Name | Description |
value | String The commitSha to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setCommitShaBytes(ByteString value)
public RepoSource.Builder setCommitShaBytes(ByteString value)
Explicit commit SHA to build.
string commit_sha = 5;
Name | Description |
value | ByteString The bytes for commitSha to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setDir(String value)
public 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;
Name | Description |
value | String The dir to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setDirBytes(ByteString value)
public RepoSource.Builder setDirBytes(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;
Name | Description |
value | ByteString The bytes for dir to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RepoSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RepoSource.Builder |
setInvertRegex(boolean value)
public RepoSource.Builder setInvertRegex(boolean value)
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;
Name | Description |
value | boolean The invertRegex to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setProjectId(String value)
public 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;
Name | Description |
value | String The projectId to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public RepoSource.Builder setProjectIdBytes(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;
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepoSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RepoSource.Builder |
setRepoName(String value)
public RepoSource.Builder setRepoName(String value)
Name of the Cloud Source Repository.
string repo_name = 2;
Name | Description |
value | String The repoName to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setRepoNameBytes(ByteString value)
public RepoSource.Builder setRepoNameBytes(ByteString value)
Name of the Cloud Source Repository.
string repo_name = 2;
Name | Description |
value | ByteString The bytes for repoName to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setTagName(String value)
public 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;
Name | Description |
value | String The tagName to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setTagNameBytes(ByteString value)
public RepoSource.Builder setTagNameBytes(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;
Name | Description |
value | ByteString The bytes for tagName to set. |
Type | Description |
RepoSource.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RepoSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RepoSource.Builder |