Send feedback
Class ProcessWebhookRequest.Builder (3.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.30.0 keyboard_arrow_down
public static final class ProcessWebhookRequest . Builder extends GeneratedMessageV3 . Builder<ProcessWebhookRequest . Builder > implements ProcessWebhookRequestOrBuilder
RPC request object accepted by the ProcessWebhook RPC method.
Protobuf type google.devtools.cloudbuild.v2.ProcessWebhookRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessWebhookRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ProcessWebhookRequest build ()
buildPartial()
public ProcessWebhookRequest buildPartial ()
clear()
public ProcessWebhookRequest . Builder clear ()
Overrides
clearBody()
public ProcessWebhookRequest . Builder clearBody ()
HTTP request body.
.google.api.HttpBody body = 2;
clearField(Descriptors.FieldDescriptor field)
public ProcessWebhookRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessWebhookRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearParent()
public ProcessWebhookRequest . Builder clearParent ()
Required. Project and location where the webhook will be received.
Format: projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearWebhookKey()
public ProcessWebhookRequest . Builder clearWebhookKey ()
Arbitrary additional key to find the maching repository for a webhook event
if needed.
string webhook_key = 3;
clone()
public ProcessWebhookRequest . Builder clone ()
Overrides
getBody()
public HttpBody getBody ()
HTTP request body.
.google.api.HttpBody body = 2;
Returns Type Description com.google.api.HttpBody
The body.
getBodyBuilder()
public HttpBody . Builder getBodyBuilder ()
HTTP request body.
.google.api.HttpBody body = 2;
Returns Type Description com.google.api.HttpBody.Builder
getBodyOrBuilder()
public HttpBodyOrBuilder getBodyOrBuilder ()
HTTP request body.
.google.api.HttpBody body = 2;
Returns Type Description com.google.api.HttpBodyOrBuilder
getDefaultInstanceForType()
public ProcessWebhookRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getParent()
public String getParent ()
Required. Project and location where the webhook will be received.
Format: projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description String
The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. Project and location where the webhook will be received.
Format: projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description ByteString
The bytes for parent.
getWebhookKey()
public String getWebhookKey ()
Arbitrary additional key to find the maching repository for a webhook event
if needed.
string webhook_key = 3;
Returns Type Description String
The webhookKey.
getWebhookKeyBytes()
public ByteString getWebhookKeyBytes ()
Arbitrary additional key to find the maching repository for a webhook event
if needed.
string webhook_key = 3;
Returns Type Description ByteString
The bytes for webhookKey.
hasBody()
HTTP request body.
.google.api.HttpBody body = 2;
Returns Type Description boolean
Whether the body field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeBody(HttpBody value)
public ProcessWebhookRequest . Builder mergeBody ( HttpBody value )
HTTP request body.
.google.api.HttpBody body = 2;
Parameter Name Description value
com.google.api.HttpBody
mergeFrom(ProcessWebhookRequest other)
public ProcessWebhookRequest . Builder mergeFrom ( ProcessWebhookRequest other )
public ProcessWebhookRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ProcessWebhookRequest . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessWebhookRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setBody(HttpBody value)
public ProcessWebhookRequest . Builder setBody ( HttpBody value )
HTTP request body.
.google.api.HttpBody body = 2;
Parameter Name Description value
com.google.api.HttpBody
setBody(HttpBody.Builder builderForValue)
public ProcessWebhookRequest . Builder setBody ( HttpBody . Builder builderForValue )
HTTP request body.
.google.api.HttpBody body = 2;
Parameter Name Description builderForValue
com.google.api.HttpBody.Builder
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessWebhookRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setParent(String value)
public ProcessWebhookRequest . Builder setParent ( String value )
Required. Project and location where the webhook will be received.
Format: projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter Name Description value
String
The parent to set.
setParentBytes(ByteString value)
public ProcessWebhookRequest . Builder setParentBytes ( ByteString value )
Required. Project and location where the webhook will be received.
Format: projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter Name Description value
ByteString
The bytes for parent to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessWebhookRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessWebhookRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setWebhookKey(String value)
public ProcessWebhookRequest . Builder setWebhookKey ( String value )
Arbitrary additional key to find the maching repository for a webhook event
if needed.
string webhook_key = 3;
Parameter Name Description value
String
The webhookKey to set.
setWebhookKeyBytes(ByteString value)
public ProcessWebhookRequest . Builder setWebhookKeyBytes ( ByteString value )
Arbitrary additional key to find the maching repository for a webhook event
if needed.
string webhook_key = 3;
Parameter Name Description value
ByteString
The bytes for webhookKey to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]