Class UpdateWebhookRequest.Builder (0.14.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateWebhookRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

build()

public UpdateWebhookRequest build()
Returns
TypeDescription
UpdateWebhookRequest

buildPartial()

public UpdateWebhookRequest buildPartial()
Returns
TypeDescription
UpdateWebhookRequest

clear()

public UpdateWebhookRequest.Builder clear()
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateWebhookRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateWebhookRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateWebhookRequest.Builder

clone()

public UpdateWebhookRequest.Builder clone()
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateWebhookRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateWebhookRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

getWebhook()

public Webhook getWebhook()

Required. The webhook to update.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the webhook field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateWebhookRequest other)

public UpdateWebhookRequest.Builder mergeFrom(UpdateWebhookRequest other)
Parameter
NameDescription
otherUpdateWebhookRequest
Returns
TypeDescription
UpdateWebhookRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateWebhookRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateWebhookRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWebhookRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueWebhook
Returns
TypeDescription
UpdateWebhookRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateWebhookRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

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

public UpdateWebhookRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWebhookRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueWebhook
Returns
TypeDescription
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
NameDescription
builderForValueWebhook.Builder
Returns
TypeDescription
UpdateWebhookRequest.Builder