Class AgentValidationResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.AgentValidationResult.Builder
-
- All Implemented Interfaces:
AgentValidationResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AgentValidationResult
public static final class AgentValidationResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder> implements AgentValidationResultOrBuilder
The response message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult].
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.AgentValidationResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentValidationResult.BuilderaddAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)Contains all flow validation results.AgentValidationResult.BuilderaddFlowValidationResults(int index, FlowValidationResult value)Contains all flow validation results.AgentValidationResult.BuilderaddFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)Contains all flow validation results.AgentValidationResult.BuilderaddFlowValidationResults(FlowValidationResult value)Contains all flow validation results.AgentValidationResult.BuilderaddFlowValidationResults(FlowValidationResult.Builder builderForValue)Contains all flow validation results.FlowValidationResult.BuilderaddFlowValidationResultsBuilder()Contains all flow validation results.FlowValidationResult.BuilderaddFlowValidationResultsBuilder(int index)Contains all flow validation results.AgentValidationResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AgentValidationResultbuild()AgentValidationResultbuildPartial()AgentValidationResult.Builderclear()AgentValidationResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AgentValidationResult.BuilderclearFlowValidationResults()Contains all flow validation results.AgentValidationResult.BuilderclearName()The unique identifier of the agent validation result.AgentValidationResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AgentValidationResult.Builderclone()AgentValidationResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FlowValidationResultgetFlowValidationResults(int index)Contains all flow validation results.FlowValidationResult.BuildergetFlowValidationResultsBuilder(int index)Contains all flow validation results.List<FlowValidationResult.Builder>getFlowValidationResultsBuilderList()Contains all flow validation results.intgetFlowValidationResultsCount()Contains all flow validation results.List<FlowValidationResult>getFlowValidationResultsList()Contains all flow validation results.FlowValidationResultOrBuildergetFlowValidationResultsOrBuilder(int index)Contains all flow validation results.List<? extends FlowValidationResultOrBuilder>getFlowValidationResultsOrBuilderList()Contains all flow validation results.StringgetName()The unique identifier of the agent validation result.com.google.protobuf.ByteStringgetNameBytes()The unique identifier of the agent validation result.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AgentValidationResult.BuildermergeFrom(AgentValidationResult other)AgentValidationResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AgentValidationResult.BuildermergeFrom(com.google.protobuf.Message other)AgentValidationResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AgentValidationResult.BuilderremoveFlowValidationResults(int index)Contains all flow validation results.AgentValidationResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AgentValidationResult.BuildersetFlowValidationResults(int index, FlowValidationResult value)Contains all flow validation results.AgentValidationResult.BuildersetFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)Contains all flow validation results.AgentValidationResult.BuildersetName(String value)The unique identifier of the agent validation result.AgentValidationResult.BuildersetNameBytes(com.google.protobuf.ByteString value)The unique identifier of the agent validation result.AgentValidationResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AgentValidationResult.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
clear
public AgentValidationResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.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.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
getDefaultInstanceForType
public AgentValidationResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AgentValidationResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AgentValidationResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AgentValidationResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
setField
public AgentValidationResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
clearField
public AgentValidationResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
clearOneof
public AgentValidationResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
setRepeatedField
public AgentValidationResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
addRepeatedField
public AgentValidationResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
mergeFrom
public AgentValidationResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentValidationResult.Builder>
-
mergeFrom
public AgentValidationResult.Builder mergeFrom(AgentValidationResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
mergeFrom
public AgentValidationResult.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<AgentValidationResult.Builder>- Throws:
IOException
-
getName
public String getName()
The unique identifier of the agent validation result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult`.
string name = 1;- Specified by:
getNamein interfaceAgentValidationResultOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The unique identifier of the agent validation result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult`.
string name = 1;- Specified by:
getNameBytesin interfaceAgentValidationResultOrBuilder- Returns:
- The bytes for name.
-
setName
public AgentValidationResult.Builder setName(String value)
The unique identifier of the agent validation result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AgentValidationResult.Builder clearName()
The unique identifier of the agent validation result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public AgentValidationResult.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the agent validation result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFlowValidationResultsList
public List<FlowValidationResult> getFlowValidationResultsList()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;- Specified by:
getFlowValidationResultsListin interfaceAgentValidationResultOrBuilder
-
getFlowValidationResultsCount
public int getFlowValidationResultsCount()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;- Specified by:
getFlowValidationResultsCountin interfaceAgentValidationResultOrBuilder
-
getFlowValidationResults
public FlowValidationResult getFlowValidationResults(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;- Specified by:
getFlowValidationResultsin interfaceAgentValidationResultOrBuilder
-
setFlowValidationResults
public AgentValidationResult.Builder setFlowValidationResults(int index, FlowValidationResult value)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
setFlowValidationResults
public AgentValidationResult.Builder setFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult value)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(int index, FlowValidationResult value)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult.Builder builderForValue)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
addAllFlowValidationResults
public AgentValidationResult.Builder addAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
clearFlowValidationResults
public AgentValidationResult.Builder clearFlowValidationResults()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
removeFlowValidationResults
public AgentValidationResult.Builder removeFlowValidationResults(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
getFlowValidationResultsBuilder
public FlowValidationResult.Builder getFlowValidationResultsBuilder(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
getFlowValidationResultsOrBuilder
public FlowValidationResultOrBuilder getFlowValidationResultsOrBuilder(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;- Specified by:
getFlowValidationResultsOrBuilderin interfaceAgentValidationResultOrBuilder
-
getFlowValidationResultsOrBuilderList
public List<? extends FlowValidationResultOrBuilder> getFlowValidationResultsOrBuilderList()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;- Specified by:
getFlowValidationResultsOrBuilderListin interfaceAgentValidationResultOrBuilder
-
addFlowValidationResultsBuilder
public FlowValidationResult.Builder addFlowValidationResultsBuilder()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResultsBuilder
public FlowValidationResult.Builder addFlowValidationResultsBuilder(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
getFlowValidationResultsBuilderList
public List<FlowValidationResult.Builder> getFlowValidationResultsBuilderList()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
-
setUnknownFields
public final AgentValidationResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
mergeUnknownFields
public final AgentValidationResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
-