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
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateWebhookRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateWebhookRequest build()
Returns
buildPartial()
public UpdateWebhookRequest buildPartial()
Returns
clear()
public UpdateWebhookRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateWebhookRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWebhookRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearWebhook()
public UpdateWebhookRequest.Builder clearWebhook()
Required. The webhook to update.
.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateWebhookRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateWebhookRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
getWebhookOrBuilder()
public WebhookOrBuilder getWebhookOrBuilder()
Required. The webhook to update.
.google.cloud.dialogflow.cx.v3.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateWebhookRequest other)
public UpdateWebhookRequest.Builder mergeFrom(UpdateWebhookRequest other)
Parameter
Returns
public UpdateWebhookRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateWebhookRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWebhookRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWebhookRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWebhookRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWebhookRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
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
Returns
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
Returns