Class Webhook.ServiceDirectoryConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder
- All Implemented Interfaces:
Webhook.ServiceDirectoryConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Webhook.ServiceDirectoryConfig
public static final class Webhook.ServiceDirectoryConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
implements Webhook.ServiceDirectoryConfigOrBuilder
Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Generic Service configuration of this webhook.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorGeneric Service configuration of this webhook.Generic Service configuration of this webhook.Generic Service configuration of this webhook.Required.com.google.protobuf.ByteStringRequired.booleanGeneric Service configuration of this webhook.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Generic Service configuration of this webhook.Generic Service configuration of this webhook.setGenericWebService(Webhook.GenericWebService.Builder builderForValue) Generic Service configuration of this webhook.setService(String value) Required.setServiceBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>
-
mergeFrom
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhook.ServiceDirectoryConfig.Builder>- Throws:
IOException
-
getService
Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`. `Location ID` of the service directory must be the same as the location of the agent.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServicein interfaceWebhook.ServiceDirectoryConfigOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`. `Location ID` of the service directory must be the same as the location of the agent.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServiceBytesin interfaceWebhook.ServiceDirectoryConfigOrBuilder- Returns:
- The bytes for service.
-
setService
Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`. `Location ID` of the service directory must be the same as the location of the agent.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`. `Location ID` of the service directory must be the same as the location of the agent.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setServiceBytes
Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`. `Location ID` of the service directory must be the same as the location of the agent.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
hasGenericWebService
public boolean hasGenericWebService()Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2;- Specified by:
hasGenericWebServicein interfaceWebhook.ServiceDirectoryConfigOrBuilder- Returns:
- Whether the genericWebService field is set.
-
getGenericWebService
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2;- Specified by:
getGenericWebServicein interfaceWebhook.ServiceDirectoryConfigOrBuilder- Returns:
- The genericWebService.
-
setGenericWebService
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; -
setGenericWebService
public Webhook.ServiceDirectoryConfig.Builder setGenericWebService(Webhook.GenericWebService.Builder builderForValue) Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; -
mergeGenericWebService
public Webhook.ServiceDirectoryConfig.Builder mergeGenericWebService(Webhook.GenericWebService value) Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; -
clearGenericWebService
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; -
getGenericWebServiceBuilder
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; -
getGenericWebServiceOrBuilder
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2;- Specified by:
getGenericWebServiceOrBuilderin interfaceWebhook.ServiceDirectoryConfigOrBuilder
-