public static final class LoadVersionRequest.Builder extends GeneratedMessageV3.Builder<LoadVersionRequest.Builder> implements LoadVersionRequestOrBuilder
The request message for
Versions.LoadVersion.
Protobuf type google.cloud.dialogflow.cx.v3.LoadVersionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoadVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LoadVersionRequest build()
buildPartial()
public LoadVersionRequest buildPartial()
clear()
public LoadVersionRequest.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public LoadVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public LoadVersionRequest.Builder clearName()
Required. The Version to be loaded
to draft flow. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public LoadVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LoadVersionRequest.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Required. The Version to be loaded
to draft flow. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
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/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LoadVersionRequest other)
public LoadVersionRequest.Builder mergeFrom(LoadVersionRequest other)
public LoadVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LoadVersionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoadVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
boolean
The allowOverrideAgentResources to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public LoadVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public LoadVersionRequest.Builder setName(String value)
Required. The Version to be loaded
to draft flow. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public LoadVersionRequest.Builder setNameBytes(ByteString value)
Required. The Version to be loaded
to draft flow. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoadVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LoadVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides