Class UpdateWebhookRequest.Builder (0.66.0)

public static final class UpdateWebhookRequest.Builder extends GeneratedMessageV3.Builder<UpdateWebhookRequest.Builder> implements UpdateWebhookRequestOrBuilder

The request message for Webhooks.UpdateWebhook.

Protobuf type google.cloud.dialogflow.cx.v3.UpdateWebhookRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateWebhookRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

build()

public UpdateWebhookRequest build()
Returns
Type Description
UpdateWebhookRequest

buildPartial()

public UpdateWebhookRequest buildPartial()
Returns
Type Description
UpdateWebhookRequest

clear()

public UpdateWebhookRequest.Builder clear()
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateWebhookRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateWebhookRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

clearUpdateMask()

public UpdateWebhookRequest.Builder clearUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateWebhookRequest.Builder

clearWebhook()

public UpdateWebhookRequest.Builder clearWebhook()

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateWebhookRequest.Builder

clone()

public UpdateWebhookRequest.Builder clone()
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateWebhookRequest getDefaultInstanceForType()
Returns
Type Description
UpdateWebhookRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getWebhook()

public Webhook getWebhook()

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Webhook

The webhook.

getWebhookBuilder()

public Webhook.Builder getWebhookBuilder()

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Webhook.Builder

getWebhookOrBuilder()

public WebhookOrBuilder getWebhookOrBuilder()

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WebhookOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hasWebhook()

public boolean hasWebhook()

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the webhook field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateWebhookRequest other)

public UpdateWebhookRequest.Builder mergeFrom(UpdateWebhookRequest other)
Parameter
Name Description
other UpdateWebhookRequest
Returns
Type Description
UpdateWebhookRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateWebhookRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateWebhookRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWebhookRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateWebhookRequest.Builder mergeUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWebhookRequest.Builder

mergeWebhook(Webhook value)

public UpdateWebhookRequest.Builder mergeWebhook(Webhook value)

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Webhook
Returns
Type Description
UpdateWebhookRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateWebhookRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateWebhookRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWebhookRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateWebhookRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateWebhookRequest.Builder setUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWebhookRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateWebhookRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateWebhookRequest.Builder

setWebhook(Webhook value)

public UpdateWebhookRequest.Builder setWebhook(Webhook value)

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Webhook
Returns
Type Description
UpdateWebhookRequest.Builder

setWebhook(Webhook.Builder builderForValue)

public UpdateWebhookRequest.Builder setWebhook(Webhook.Builder builderForValue)

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Webhook.Builder
Returns
Type Description
UpdateWebhookRequest.Builder