Package com.google.cloudbuild.v1
Class ReceiveTriggerWebhookRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
com.google.cloudbuild.v1.ReceiveTriggerWebhookRequest.Builder
- All Implemented Interfaces:
ReceiveTriggerWebhookRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReceiveTriggerWebhookRequest
public static final class ReceiveTriggerWebhookRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
implements ReceiveTriggerWebhookRequestOrBuilder
ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by the ReceiveTriggerWebhook method.Protobuf type
google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()HTTP request body.The name of the `ReceiveTriggerWebhook` to retrieve.Project in which the specified trigger livesSecret token used for authorization if an OAuth token isn't provided.Name of the trigger to run the payload againstgetBody()HTTP request body.HTTP request body.HTTP request body.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanHTTP request body.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) HTTP request body.setBody(HttpBody.Builder builderForValue) HTTP request body.The name of the `ReceiveTriggerWebhook` to retrieve.setNameBytes(com.google.protobuf.ByteString value) The name of the `ReceiveTriggerWebhook` to retrieve.setProjectId(String value) Project in which the specified trigger livessetProjectIdBytes(com.google.protobuf.ByteString value) Project in which the specified trigger livesSecret token used for authorization if an OAuth token isn't provided.setSecretBytes(com.google.protobuf.ByteString value) Secret token used for authorization if an OAuth token isn't provided.setTrigger(String value) Name of the trigger to run the payload againstsetTriggerBytes(com.google.protobuf.ByteString value) Name of the trigger to run the payload againstMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReceiveTriggerWebhookRequest.Builder>
-
mergeFrom
public ReceiveTriggerWebhookRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReceiveTriggerWebhookRequest.Builder>- Throws:
IOException
-
getName
The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Specified by:
getNamein interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Specified by:
getNameBytesin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`string name = 5;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasBody
public boolean hasBody()HTTP request body.
.google.api.HttpBody body = 1;- Specified by:
hasBodyin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- Whether the body field is set.
-
getBody
HTTP request body.
.google.api.HttpBody body = 1;- Specified by:
getBodyin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The body.
-
setBody
HTTP request body.
.google.api.HttpBody body = 1; -
setBody
HTTP request body.
.google.api.HttpBody body = 1; -
mergeBody
HTTP request body.
.google.api.HttpBody body = 1; -
clearBody
HTTP request body.
.google.api.HttpBody body = 1; -
getBodyBuilder
HTTP request body.
.google.api.HttpBody body = 1; -
getBodyOrBuilder
HTTP request body.
.google.api.HttpBody body = 1;- Specified by:
getBodyOrBuilderin interfaceReceiveTriggerWebhookRequestOrBuilder
-
getProjectId
Project in which the specified trigger lives
string project_id = 2;- Specified by:
getProjectIdin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Project in which the specified trigger lives
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Project in which the specified trigger lives
string project_id = 2;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Project in which the specified trigger lives
string project_id = 2;- Returns:
- This builder for chaining.
-
setProjectIdBytes
Project in which the specified trigger lives
string project_id = 2;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getTrigger
Name of the trigger to run the payload against
string trigger = 3;- Specified by:
getTriggerin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The trigger.
-
getTriggerBytes
public com.google.protobuf.ByteString getTriggerBytes()Name of the trigger to run the payload against
string trigger = 3;- Specified by:
getTriggerBytesin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The bytes for trigger.
-
setTrigger
Name of the trigger to run the payload against
string trigger = 3;- Parameters:
value- The trigger to set.- Returns:
- This builder for chaining.
-
clearTrigger
Name of the trigger to run the payload against
string trigger = 3;- Returns:
- This builder for chaining.
-
setTriggerBytes
Name of the trigger to run the payload against
string trigger = 3;- Parameters:
value- The bytes for trigger to set.- Returns:
- This builder for chaining.
-
getSecret
Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Specified by:
getSecretin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Specified by:
getSecretBytesin interfaceReceiveTriggerWebhookRequestOrBuilder- Returns:
- The bytes for secret.
-
setSecret
Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Parameters:
value- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Returns:
- This builder for chaining.
-
setSecretBytes
Secret token used for authorization if an OAuth token isn't provided.
string secret = 4;- Parameters:
value- The bytes for secret to set.- Returns:
- This builder for chaining.
-