Package com.google.cloudbuild.v1
Interface RunBuildTriggerRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunBuildTriggerRequest,RunBuildTriggerRequest.Builder
@Generated
public interface RunBuildTriggerRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of the `Trigger` to run.com.google.protobuf.ByteStringThe name of the `Trigger` to run.Required.com.google.protobuf.ByteStringRequired.Source to build against this trigger.Source to build against this trigger.Required.com.google.protobuf.ByteStringRequired.booleanSource to build against this trigger.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the `Trigger` to run. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the `Trigger` to run. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getProjectId
String getProjectId()Required. ID of the project.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Required. ID of the project.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for projectId.
-
getTriggerId
String getTriggerId()Required. ID of the trigger.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The triggerId.
-
getTriggerIdBytes
com.google.protobuf.ByteString getTriggerIdBytes()Required. ID of the trigger.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for triggerId.
-
hasSource
boolean hasSource()Source to build against this trigger. Branch and tag names cannot consist of regular expressions.
.google.devtools.cloudbuild.v1.RepoSource source = 3;- Returns:
- Whether the source field is set.
-
getSource
RepoSource getSource()Source to build against this trigger. Branch and tag names cannot consist of regular expressions.
.google.devtools.cloudbuild.v1.RepoSource source = 3;- Returns:
- The source.
-
getSourceOrBuilder
RepoSourceOrBuilder getSourceOrBuilder()Source to build against this trigger. Branch and tag names cannot consist of regular expressions.
.google.devtools.cloudbuild.v1.RepoSource source = 3;
-