Class UpdateWebhookRequest (0.52.0)

public final class UpdateWebhookRequest extends GeneratedMessageV3 implements UpdateWebhookRequestOrBuilder

The request message for Webhooks.UpdateWebhook.

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

Static Fields

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

WEBHOOK_FIELD_NUMBER

public static final int WEBHOOK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateWebhookRequest getDefaultInstance()
Returns
TypeDescription
UpdateWebhookRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateWebhookRequest.Builder newBuilder()
Returns
TypeDescription
UpdateWebhookRequest.Builder

newBuilder(UpdateWebhookRequest prototype)

public static UpdateWebhookRequest.Builder newBuilder(UpdateWebhookRequest prototype)
Parameter
NameDescription
prototypeUpdateWebhookRequest
Returns
TypeDescription
UpdateWebhookRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateWebhookRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWebhookRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateWebhookRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateWebhookRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateWebhookRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateWebhookRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateWebhookRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWebhookRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateWebhookRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWebhookRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateWebhookRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateWebhookRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWebhookRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateWebhookRequest> parser()
Returns
TypeDescription
Parser<UpdateWebhookRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateWebhookRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateWebhookRequest

getParserForType()

public Parser<UpdateWebhookRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateWebhookRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

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.v3beta1.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Webhook

The webhook.

getWebhookOrBuilder()

public WebhookOrBuilder getWebhookOrBuilder()

Required. The webhook to update.

.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Webhook webhook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the webhook field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateWebhookRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateWebhookRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateWebhookRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateWebhookRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateWebhookRequest.Builder toBuilder()
Returns
TypeDescription
UpdateWebhookRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException