- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public final class BuildTrigger extends GeneratedMessageV3 implements BuildTriggerOrBuilder
Configuration for an automated build in response to source repository changes.
Protobuf type google.devtools.cloudbuild.v1.BuildTrigger
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BuildTriggerImplements
BuildTriggerOrBuilderStatic Fields
AUTODETECT_FIELD_NUMBER
public static final int AUTODETECT_FIELD_NUMBER
Type | Description |
int |
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Type | Description |
int |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
Type | Description |
int |
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER
Type | Description |
int |
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Type | Description |
int |
GITHUB_FIELD_NUMBER
public static final int GITHUB_FIELD_NUMBER
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Type | Description |
int |
IGNORED_FILES_FIELD_NUMBER
public static final int IGNORED_FILES_FIELD_NUMBER
Type | Description |
int |
INCLUDED_FILES_FIELD_NUMBER
public static final int INCLUDED_FILES_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
PUBSUB_CONFIG_FIELD_NUMBER
public static final int PUBSUB_CONFIG_FIELD_NUMBER
Type | Description |
int |
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
Type | Description |
int |
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Type | Description |
int |
SUBSTITUTIONS_FIELD_NUMBER
public static final int SUBSTITUTIONS_FIELD_NUMBER
Type | Description |
int |
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
Type | Description |
int |
TRIGGER_TEMPLATE_FIELD_NUMBER
public static final int TRIGGER_TEMPLATE_FIELD_NUMBER
Type | Description |
int |
WEBHOOK_CONFIG_FIELD_NUMBER
public static final int WEBHOOK_CONFIG_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BuildTrigger getDefaultInstance()
Type | Description |
BuildTrigger |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BuildTrigger.Builder newBuilder()
Type | Description |
BuildTrigger.Builder |
newBuilder(BuildTrigger prototype)
public static BuildTrigger.Builder newBuilder(BuildTrigger prototype)
Name | Description |
prototype | BuildTrigger |
Type | Description |
BuildTrigger.Builder |
parseDelimitedFrom(InputStream input)
public static BuildTrigger parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BuildTrigger |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BuildTrigger parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildTrigger |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BuildTrigger parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
BuildTrigger |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BuildTrigger parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildTrigger |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BuildTrigger parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
BuildTrigger |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BuildTrigger parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildTrigger |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BuildTrigger parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
BuildTrigger |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BuildTrigger parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildTrigger |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BuildTrigger parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BuildTrigger |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BuildTrigger parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildTrigger |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BuildTrigger parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
BuildTrigger |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BuildTrigger parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildTrigger |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BuildTrigger> parser()
Type | Description |
Parser<BuildTrigger> |
Methods
containsSubstitutions(String key)
public boolean containsSubstitutions(String key)
Substitutions for Build resource. The keys must match the following
regular expression: ^[A-Z0-9]+$
.
map<string, string> substitutions = 11;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAutodetect()
public boolean getAutodetect()
Autodetect build configuration. The following precedence is used (case insensitive):
- cloudbuild.yaml
- cloudbuild.yml
- cloudbuild.json
- Dockerfile Currently only available for GitHub App Triggers.
bool autodetect = 18;
Type | Description |
boolean | The autodetect. |
getBuild()
public Build getBuild()
Contents of the build template.
.google.devtools.cloudbuild.v1.Build build = 4;
Type | Description |
Build | The build. |
getBuildOrBuilder()
public BuildOrBuilder getBuildOrBuilder()
Contents of the build template.
.google.devtools.cloudbuild.v1.Build build = 4;
Type | Description |
BuildOrBuilder |
getBuildTemplateCase()
public BuildTrigger.BuildTemplateCase getBuildTemplateCase()
Type | Description |
BuildTrigger.BuildTemplateCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when the trigger was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the trigger was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public BuildTrigger getDefaultInstanceForType()
Type | Description |
BuildTrigger |
getDescription()
public String getDescription()
Human-readable description of this trigger.
string description = 10;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Human-readable description of this trigger.
string description = 10;
Type | Description |
ByteString | The bytes for description. |
getDisabled()
public boolean getDisabled()
If true, the trigger will never automatically execute a build.
bool disabled = 9;
Type | Description |
boolean | The disabled. |
getFilename()
public String getFilename()
Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
string filename = 8;
Type | Description |
String | The filename. |
getFilenameBytes()
public ByteString getFilenameBytes()
Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
string filename = 8;
Type | Description |
ByteString | The bytes for filename. |
getFilter()
public String getFilter()
Optional. A Common Expression Language string.
string filter = 30 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Optional. A Common Expression Language string.
string filter = 30 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for filter. |
getGithub()
public GitHubEventsConfig getGithub()
GitHubEventsConfig describes the configuration of a trigger that creates
a build whenever a GitHub event is received.
Mutually exclusive with trigger_template
.
.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
Type | Description |
GitHubEventsConfig | The github. |
getGithubOrBuilder()
public GitHubEventsConfigOrBuilder getGithubOrBuilder()
GitHubEventsConfig describes the configuration of a trigger that creates
a build whenever a GitHub event is received.
Mutually exclusive with trigger_template
.
.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
Type | Description |
GitHubEventsConfigOrBuilder |
getId()
public String getId()
Output only. Unique identifier of the trigger.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Output only. Unique identifier of the trigger.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for id. |
getIgnoredFiles(int index)
public String getIgnoredFiles(int index)
ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.
repeated string ignored_files = 15;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ignoredFiles at the given index. |
getIgnoredFilesBytes(int index)
public ByteString getIgnoredFilesBytes(int index)
ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.
repeated string ignored_files = 15;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ignoredFiles at the given index. |
getIgnoredFilesCount()
public int getIgnoredFilesCount()
ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.
repeated string ignored_files = 15;
Type | Description |
int | The count of ignoredFiles. |
getIgnoredFilesList()
public ProtocolStringList getIgnoredFilesList()
ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.
repeated string ignored_files = 15;
Type | Description |
ProtocolStringList | A list containing the ignoredFiles. |
getIncludedFiles(int index)
public String getIncludedFiles(int index)
If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.
repeated string included_files = 16;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The includedFiles at the given index. |
getIncludedFilesBytes(int index)
public ByteString getIncludedFilesBytes(int index)
If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.
repeated string included_files = 16;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the includedFiles at the given index. |
getIncludedFilesCount()
public int getIncludedFilesCount()
If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.
repeated string included_files = 16;
Type | Description |
int | The count of includedFiles. |
getIncludedFilesList()
public ProtocolStringList getIncludedFilesList()
If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.
repeated string included_files = 16;
Type | Description |
ProtocolStringList | A list containing the includedFiles. |
getName()
public String getName()
User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements:
- They must contain only alphanumeric characters and dashes.
- They can be 1-64 characters long.
- They must begin and end with an alphanumeric character.
string name = 21;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements:
- They must contain only alphanumeric characters and dashes.
- They can be 1-64 characters long.
- They must begin and end with an alphanumeric character.
string name = 21;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<BuildTrigger> getParserForType()
Type | Description |
Parser<BuildTrigger> |
getPubsubConfig()
public PubsubConfig getPubsubConfig()
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
.google.devtools.cloudbuild.v1.PubsubConfig pubsub_config = 29;
Type | Description |
PubsubConfig | The pubsubConfig. |
getPubsubConfigOrBuilder()
public PubsubConfigOrBuilder getPubsubConfigOrBuilder()
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
.google.devtools.cloudbuild.v1.PubsubConfig pubsub_config = 29;
Type | Description |
PubsubConfigOrBuilder |
getResourceName()
public String getResourceName()
The Trigger
name with format:
projects/{project}/locations/{location}/triggers/{trigger}
, where
{trigger} is a unique identifier generated by the service.
string resource_name = 34;
Type | Description |
String | The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes()
The Trigger
name with format:
projects/{project}/locations/{location}/triggers/{trigger}
, where
{trigger} is a unique identifier generated by the service.
string resource_name = 34;
Type | Description |
ByteString | The bytes for resourceName. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getServiceAccount()
public String getServiceAccount()
The service account used for all user-controlled operations including
UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild.
If no service account is set, then the standard Cloud Build service account
([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
string service_account = 33 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
The service account used for all user-controlled operations including
UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild.
If no service account is set, then the standard Cloud Build service account
([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
string service_account = 33 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for serviceAccount. |
getSubstitutions()
public Map<String,String> getSubstitutions()
Use #getSubstitutionsMap() instead.
Type | Description |
Map<String,String> |
getSubstitutionsCount()
public int getSubstitutionsCount()
Substitutions for Build resource. The keys must match the following
regular expression: ^[A-Z0-9]+$
.
map<string, string> substitutions = 11;
Type | Description |
int |
getSubstitutionsMap()
public Map<String,String> getSubstitutionsMap()
Substitutions for Build resource. The keys must match the following
regular expression: ^[A-Z0-9]+$
.
map<string, string> substitutions = 11;
Type | Description |
Map<String,String> |
getSubstitutionsOrDefault(String key, String defaultValue)
public String getSubstitutionsOrDefault(String key, String defaultValue)
Substitutions for Build resource. The keys must match the following
regular expression: ^[A-Z0-9]+$
.
map<string, string> substitutions = 11;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getSubstitutionsOrThrow(String key)
public String getSubstitutionsOrThrow(String key)
Substitutions for Build resource. The keys must match the following
regular expression: ^[A-Z0-9]+$
.
map<string, string> substitutions = 11;
Name | Description |
key | String |
Type | Description |
String |
getTags(int index)
public String getTags(int index)
Tags for annotation of a BuildTrigger
repeated string tags = 19;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The tags at the given index. |
getTagsBytes(int index)
public ByteString getTagsBytes(int index)
Tags for annotation of a BuildTrigger
repeated string tags = 19;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the tags at the given index. |
getTagsCount()
public int getTagsCount()
Tags for annotation of a BuildTrigger
repeated string tags = 19;
Type | Description |
int | The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Tags for annotation of a BuildTrigger
repeated string tags = 19;
Type | Description |
ProtocolStringList | A list containing the tags. |
getTriggerTemplate()
public RepoSource getTriggerTemplate()
Template describing the types of source changes to trigger a build.
Branch and tag names in trigger templates are interpreted as regular
expressions. Any branch or tag change that matches that regular expression
will trigger a build.
Mutually exclusive with github
.
.google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
Type | Description |
RepoSource | The triggerTemplate. |
getTriggerTemplateOrBuilder()
public RepoSourceOrBuilder getTriggerTemplateOrBuilder()
Template describing the types of source changes to trigger a build.
Branch and tag names in trigger templates are interpreted as regular
expressions. Any branch or tag change that matches that regular expression
will trigger a build.
Mutually exclusive with github
.
.google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
Type | Description |
RepoSourceOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWebhookConfig()
public WebhookConfig getWebhookConfig()
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;
Type | Description |
WebhookConfig | The webhookConfig. |
getWebhookConfigOrBuilder()
public WebhookConfigOrBuilder getWebhookConfigOrBuilder()
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;
Type | Description |
WebhookConfigOrBuilder |
hasAutodetect()
public boolean hasAutodetect()
Autodetect build configuration. The following precedence is used (case insensitive):
- cloudbuild.yaml
- cloudbuild.yml
- cloudbuild.json
- Dockerfile Currently only available for GitHub App Triggers.
bool autodetect = 18;
Type | Description |
boolean | Whether the autodetect field is set. |
hasBuild()
public boolean hasBuild()
Contents of the build template.
.google.devtools.cloudbuild.v1.Build build = 4;
Type | Description |
boolean | Whether the build field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when the trigger was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasFilename()
public boolean hasFilename()
Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
string filename = 8;
Type | Description |
boolean | Whether the filename field is set. |
hasGithub()
public boolean hasGithub()
GitHubEventsConfig describes the configuration of a trigger that creates
a build whenever a GitHub event is received.
Mutually exclusive with trigger_template
.
.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
Type | Description |
boolean | Whether the github field is set. |
hasPubsubConfig()
public boolean hasPubsubConfig()
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
.google.devtools.cloudbuild.v1.PubsubConfig pubsub_config = 29;
Type | Description |
boolean | Whether the pubsubConfig field is set. |
hasTriggerTemplate()
public boolean hasTriggerTemplate()
Template describing the types of source changes to trigger a build.
Branch and tag names in trigger templates are interpreted as regular
expressions. Any branch or tag change that matches that regular expression
will trigger a build.
Mutually exclusive with github
.
.google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
Type | Description |
boolean | Whether the triggerTemplate field is set. |
hasWebhookConfig()
public boolean hasWebhookConfig()
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;
Type | Description |
boolean | Whether the webhookConfig field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public BuildTrigger.Builder newBuilderForType()
Type | Description |
BuildTrigger.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BuildTrigger.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
BuildTrigger.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BuildTrigger.Builder toBuilder()
Type | Description |
BuildTrigger.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |