public static final class LoadVersionRequest.Builder extends GeneratedMessage.Builder<LoadVersionRequest.Builder> implements LoadVersionRequestOrBuilderThe request message for Versions.LoadVersion.
Protobuf type google.cloud.dialogflow.cx.v3beta1.LoadVersionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LoadVersionRequest.BuilderImplements
LoadVersionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LoadVersionRequest build()| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest |
|
buildPartial()
public LoadVersionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest |
|
clear()
public LoadVersionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
|
clearAllowOverrideAgentResources()
public LoadVersionRequest.Builder clearAllowOverrideAgentResources() This field is used to prevent accidental overwrite of other agent
resources, which can potentially impact other flow's behavior. If
allow_override_agent_resources is false, conflicted agent-level resources
will not be overridden (i.e. intents, entities, webhooks).
bool allow_override_agent_resources = 2;
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
This builder for chaining. |
clearName()
public LoadVersionRequest.Builder clearName() Required. The Version to be
loaded to draft flow. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
This builder for chaining. |
getAllowOverrideAgentResources()
public boolean getAllowOverrideAgentResources() This field is used to prevent accidental overwrite of other agent
resources, which can potentially impact other flow's behavior. If
allow_override_agent_resources is false, conflicted agent-level resources
will not be overridden (i.e. intents, entities, webhooks).
bool allow_override_agent_resources = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowOverrideAgentResources. |
getDefaultInstanceForType()
public LoadVersionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The Version to be
loaded to draft flow. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The Version to be
loaded to draft flow. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LoadVersionRequest other)
public LoadVersionRequest.Builder mergeFrom(LoadVersionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
LoadVersionRequest |
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoadVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LoadVersionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
|
setAllowOverrideAgentResources(boolean value)
public LoadVersionRequest.Builder setAllowOverrideAgentResources(boolean value) This field is used to prevent accidental overwrite of other agent
resources, which can potentially impact other flow's behavior. If
allow_override_agent_resources is false, conflicted agent-level resources
will not be overridden (i.e. intents, entities, webhooks).
bool allow_override_agent_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowOverrideAgentResources to set. |
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
This builder for chaining. |
setName(String value)
public LoadVersionRequest.Builder setName(String value) Required. The Version to be
loaded to draft flow. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public LoadVersionRequest.Builder setNameBytes(ByteString value) Required. The Version to be
loaded to draft flow. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
LoadVersionRequest.Builder |
This builder for chaining. |