public static final class Webhook.GenericWebService extends com.google.protobuf.GeneratedMessageV3 implements Webhook.GenericWebServiceOrBuilder
Represents configuration for a generic web service.Protobuf type
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService| Modifier and Type | Class and Description |
|---|---|
static class |
Webhook.GenericWebService.Builder
Represents configuration for a generic web service.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_CA_CERTS_FIELD_NUMBER |
static int |
PASSWORD_FIELD_NUMBER |
static int |
REQUEST_HEADERS_FIELD_NUMBER |
static int |
URI_FIELD_NUMBER |
static int |
USERNAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsRequestHeaders(String key)
The HTTP request headers to send together with webhook
requests.
|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getAllowedCaCerts(int index)
Optional.
|
int |
getAllowedCaCertsCount()
Optional.
|
List<com.google.protobuf.ByteString> |
getAllowedCaCertsList()
Optional.
|
static Webhook.GenericWebService |
getDefaultInstance() |
Webhook.GenericWebService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Webhook.GenericWebService> |
getParserForType() |
String |
getPassword()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
|
com.google.protobuf.ByteString |
getPasswordBytes()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
|
Map<String,String> |
getRequestHeaders()
Deprecated.
|
int |
getRequestHeadersCount()
The HTTP request headers to send together with webhook
requests.
|
Map<String,String> |
getRequestHeadersMap()
The HTTP request headers to send together with webhook
requests.
|
String |
getRequestHeadersOrDefault(String key,
String defaultValue)
The HTTP request headers to send together with webhook
requests.
|
String |
getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with webhook
requests.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUri()
Required.
|
com.google.protobuf.ByteString |
getUriBytes()
Required.
|
String |
getUsername()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
|
com.google.protobuf.ByteString |
getUsernameBytes()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Webhook.GenericWebService.Builder |
newBuilder() |
static Webhook.GenericWebService.Builder |
newBuilder(Webhook.GenericWebService prototype) |
Webhook.GenericWebService.Builder |
newBuilderForType() |
protected Webhook.GenericWebService.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Webhook.GenericWebService |
parseDelimitedFrom(InputStream input) |
static Webhook.GenericWebService |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Webhook.GenericWebService |
parseFrom(byte[] data) |
static Webhook.GenericWebService |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Webhook.GenericWebService |
parseFrom(ByteBuffer data) |
static Webhook.GenericWebService |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Webhook.GenericWebService |
parseFrom(com.google.protobuf.ByteString data) |
static Webhook.GenericWebService |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Webhook.GenericWebService |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Webhook.GenericWebService |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Webhook.GenericWebService |
parseFrom(InputStream input) |
static Webhook.GenericWebService |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Webhook.GenericWebService> |
parser() |
Webhook.GenericWebService.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int URI_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
public static final int REQUEST_HEADERS_FIELD_NUMBER
public static final int ALLOWED_CA_CERTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getUri()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];getUri in interface Webhook.GenericWebServiceOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];getUriBytes in interface Webhook.GenericWebServiceOrBuilder@Deprecated public String getUsername()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];getUsername in interface Webhook.GenericWebServiceOrBuilder@Deprecated public com.google.protobuf.ByteString getUsernameBytes()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];getUsernameBytes in interface Webhook.GenericWebServiceOrBuilder@Deprecated public String getPassword()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];getPassword in interface Webhook.GenericWebServiceOrBuilder@Deprecated public com.google.protobuf.ByteString getPasswordBytes()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];getPasswordBytes in interface Webhook.GenericWebServiceOrBuilderpublic int getRequestHeadersCount()
Webhook.GenericWebServiceOrBuilderThe HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersCount in interface Webhook.GenericWebServiceOrBuilderpublic boolean containsRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;containsRequestHeaders in interface Webhook.GenericWebServiceOrBuilder@Deprecated public Map<String,String> getRequestHeaders()
getRequestHeadersMap() instead.getRequestHeaders in interface Webhook.GenericWebServiceOrBuilderpublic Map<String,String> getRequestHeadersMap()
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersMap in interface Webhook.GenericWebServiceOrBuilderpublic String getRequestHeadersOrDefault(String key, String defaultValue)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersOrDefault in interface Webhook.GenericWebServiceOrBuilderpublic String getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersOrThrow in interface Webhook.GenericWebServiceOrBuilderpublic List<com.google.protobuf.ByteString> getAllowedCaCertsList()
Optional. Specifies a list of allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust store
to verify certificates.
N.B. Make sure the HTTPS server certificates are signed with "subject alt
name". For instance a certificate can be self-signed using the following
command,
```
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];getAllowedCaCertsList in interface Webhook.GenericWebServiceOrBuilderpublic int getAllowedCaCertsCount()
Optional. Specifies a list of allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust store
to verify certificates.
N.B. Make sure the HTTPS server certificates are signed with "subject alt
name". For instance a certificate can be self-signed using the following
command,
```
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];getAllowedCaCertsCount in interface Webhook.GenericWebServiceOrBuilderpublic com.google.protobuf.ByteString getAllowedCaCerts(int index)
Optional. Specifies a list of allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust store
to verify certificates.
N.B. Make sure the HTTPS server certificates are signed with "subject alt
name". For instance a certificate can be self-signed using the following
command,
```
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];getAllowedCaCerts in interface Webhook.GenericWebServiceOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Webhook.GenericWebService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Webhook.GenericWebService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Webhook.GenericWebService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Webhook.GenericWebService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Webhook.GenericWebService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Webhook.GenericWebService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Webhook.GenericWebService parseFrom(InputStream input) throws IOException
IOExceptionpublic static Webhook.GenericWebService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Webhook.GenericWebService parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Webhook.GenericWebService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Webhook.GenericWebService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Webhook.GenericWebService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Webhook.GenericWebService.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Webhook.GenericWebService.Builder newBuilder()
public static Webhook.GenericWebService.Builder newBuilder(Webhook.GenericWebService prototype)
public Webhook.GenericWebService.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Webhook.GenericWebService.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Webhook.GenericWebService getDefaultInstance()
public static com.google.protobuf.Parser<Webhook.GenericWebService> parser()
public com.google.protobuf.Parser<Webhook.GenericWebService> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Webhook.GenericWebService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.