Class Environment.WebhookConfig (0.14.0)

public static final class Environment.WebhookConfig extends GeneratedMessageV3 implements Environment.WebhookConfigOrBuilder

Configuration for webhooks.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig

Static Fields

WEBHOOK_OVERRIDES_FIELD_NUMBER

public static final int WEBHOOK_OVERRIDES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Environment.WebhookConfig getDefaultInstance()
Returns
TypeDescription
Environment.WebhookConfig

getDescriptor()

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

newBuilder()

public static Environment.WebhookConfig.Builder newBuilder()
Returns
TypeDescription
Environment.WebhookConfig.Builder

newBuilder(Environment.WebhookConfig prototype)

public static Environment.WebhookConfig.Builder newBuilder(Environment.WebhookConfig prototype)
Parameter
NameDescription
prototypeEnvironment.WebhookConfig
Returns
TypeDescription
Environment.WebhookConfig.Builder

parseDelimitedFrom(InputStream input)

public static Environment.WebhookConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Environment.WebhookConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Environment.WebhookConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Environment.WebhookConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Environment.WebhookConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Environment.WebhookConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Environment.WebhookConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Environment.WebhookConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Environment.WebhookConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Environment.WebhookConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Environment.WebhookConfig> parser()
Returns
TypeDescription
Parser<WebhookConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Environment.WebhookConfig getDefaultInstanceForType()
Returns
TypeDescription
Environment.WebhookConfig

getParserForType()

public Parser<Environment.WebhookConfig> getParserForType()
Returns
TypeDescription
Parser<WebhookConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWebhookOverrides(int index)

public Webhook getWebhookOverrides(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Webhook

getWebhookOverridesCount()

public int getWebhookOverridesCount()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
TypeDescription
int

getWebhookOverridesList()

public List<Webhook> getWebhookOverridesList()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
TypeDescription
List<Webhook>

getWebhookOverridesOrBuilder(int index)

public WebhookOrBuilder getWebhookOverridesOrBuilder(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
WebhookOrBuilder

getWebhookOverridesOrBuilderList()

public List<? extends WebhookOrBuilder> getWebhookOverridesOrBuilderList()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.WebhookOrBuilder>

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 Environment.WebhookConfig.Builder newBuilderForType()
Returns
TypeDescription
Environment.WebhookConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Environment.WebhookConfig.Builder toBuilder()
Returns
TypeDescription
Environment.WebhookConfig.Builder

writeTo(CodedOutputStream output)

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