Package com.google.cloudbuild.v1
Interface ReceiveTriggerWebhookRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookRequest.Builder
@Generated
public interface ReceiveTriggerWebhookRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()HTTP request body.HTTP request body.getName()The name of the `ReceiveTriggerWebhook` to retrieve.com.google.protobuf.ByteStringThe name of the `ReceiveTriggerWebhook` to retrieve.Project in which the specified trigger livescom.google.protobuf.ByteStringProject in which the specified trigger livesSecret token used for authorization if an OAuth token isn't provided.com.google.protobuf.ByteStringSecret token used for authorization if an OAuth token isn't provided.Name of the trigger to run the payload againstcom.google.protobuf.ByteStringName of the trigger to run the payload againstbooleanhasBody()HTTP request body.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 `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Returns:
- The bytes for name.
-
hasBody
boolean hasBody()HTTP request body.
.google.api.HttpBody body = 1;- Returns:
- Whether the body field is set.
-
getBody
HttpBody getBody()HTTP request body.
.google.api.HttpBody body = 1;- Returns:
- The body.
-
getBodyOrBuilder
HttpBodyOrBuilder getBodyOrBuilder()HTTP request body.
.google.api.HttpBody body = 1; -
getProjectId
String getProjectId()Project in which the specified trigger lives
string project_id = 2;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Project in which the specified trigger lives
string project_id = 2;- Returns:
- The bytes for projectId.
-
getTrigger
String getTrigger()Name of the trigger to run the payload against
string trigger = 3;- Returns:
- The trigger.
-
getTriggerBytes
com.google.protobuf.ByteString getTriggerBytes()Name of the trigger to run the payload against
string trigger = 3;- Returns:
- The bytes for trigger.
-
getSecret
String getSecret()Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Returns:
- The secret.
-
getSecretBytes
com.google.protobuf.ByteString getSecretBytes()Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Returns:
- The bytes for secret.
-