public final class RepoSource extends com.google.protobuf.GeneratedMessageV3 implements RepoSourceOrBuilder
Location of the source in a Google Cloud Source Repository.Protobuf type
google.cloud.functions.v2.RepoSource| Modifier and Type | Class and Description |
|---|---|
static class |
RepoSource.Builder
Location of the source in a Google Cloud Source Repository.
|
static class |
RepoSource.RevisionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BRANCH_NAME_FIELD_NUMBER |
static int |
COMMIT_SHA_FIELD_NUMBER |
static int |
DIR_FIELD_NUMBER |
static int |
INVERT_REGEX_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
REPO_NAME_FIELD_NUMBER |
static int |
TAG_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static RepoSource |
getDefaultInstance() |
RepoSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<RepoSource> |
getParserForType() |
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() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasTagName()
Regex matching tags to build.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RepoSource.Builder |
newBuilder() |
static RepoSource.Builder |
newBuilder(RepoSource prototype) |
RepoSource.Builder |
newBuilderForType() |
protected RepoSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RepoSource |
parseDelimitedFrom(InputStream input) |
static RepoSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepoSource |
parseFrom(byte[] data) |
static RepoSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepoSource |
parseFrom(ByteBuffer data) |
static RepoSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepoSource |
parseFrom(com.google.protobuf.ByteString data) |
static RepoSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepoSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RepoSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepoSource |
parseFrom(InputStream input) |
static RepoSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RepoSource> |
parser() |
RepoSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BRANCH_NAME_FIELD_NUMBER
public static final int TAG_NAME_FIELD_NUMBER
public static final int COMMIT_SHA_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
public static final int REPO_NAME_FIELD_NUMBER
public static final int DIR_FIELD_NUMBER
public static final int INVERT_REGEX_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RepoSource.RevisionCase getRevisionCase()
getRevisionCase in interface RepoSourceOrBuilderpublic 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 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 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 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 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 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 boolean getInvertRegex()
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;getInvertRegex in interface RepoSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RepoSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepoSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepoSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepoSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepoSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepoSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepoSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static RepoSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RepoSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RepoSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RepoSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RepoSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RepoSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RepoSource.Builder newBuilder()
public static RepoSource.Builder newBuilder(RepoSource prototype)
public RepoSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RepoSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RepoSource getDefaultInstance()
public static com.google.protobuf.Parser<RepoSource> parser()
public com.google.protobuf.Parser<RepoSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RepoSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.