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.v3.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.v3.Agents.GetAgentValidationResult].
Protobuf typegoogle.cloud.dialogflow.cx.v3.AgentValidationResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentValidationResult.Builder
addAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)
Contains all flow validation results.AgentValidationResult.Builder
addFlowValidationResults(int index, FlowValidationResult value)
Contains all flow validation results.AgentValidationResult.Builder
addFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)
Contains all flow validation results.AgentValidationResult.Builder
addFlowValidationResults(FlowValidationResult value)
Contains all flow validation results.AgentValidationResult.Builder
addFlowValidationResults(FlowValidationResult.Builder builderForValue)
Contains all flow validation results.FlowValidationResult.Builder
addFlowValidationResultsBuilder()
Contains all flow validation results.FlowValidationResult.Builder
addFlowValidationResultsBuilder(int index)
Contains all flow validation results.AgentValidationResult.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AgentValidationResult
build()
AgentValidationResult
buildPartial()
AgentValidationResult.Builder
clear()
AgentValidationResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AgentValidationResult.Builder
clearFlowValidationResults()
Contains all flow validation results.AgentValidationResult.Builder
clearName()
The unique identifier of the agent validation result.AgentValidationResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AgentValidationResult.Builder
clone()
AgentValidationResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
FlowValidationResult
getFlowValidationResults(int index)
Contains all flow validation results.FlowValidationResult.Builder
getFlowValidationResultsBuilder(int index)
Contains all flow validation results.List<FlowValidationResult.Builder>
getFlowValidationResultsBuilderList()
Contains all flow validation results.int
getFlowValidationResultsCount()
Contains all flow validation results.List<FlowValidationResult>
getFlowValidationResultsList()
Contains all flow validation results.FlowValidationResultOrBuilder
getFlowValidationResultsOrBuilder(int index)
Contains all flow validation results.List<? extends FlowValidationResultOrBuilder>
getFlowValidationResultsOrBuilderList()
Contains all flow validation results.String
getName()
The unique identifier of the agent validation result.com.google.protobuf.ByteString
getNameBytes()
The unique identifier of the agent validation result.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AgentValidationResult.Builder
mergeFrom(AgentValidationResult other)
AgentValidationResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AgentValidationResult.Builder
mergeFrom(com.google.protobuf.Message other)
AgentValidationResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AgentValidationResult.Builder
removeFlowValidationResults(int index)
Contains all flow validation results.AgentValidationResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AgentValidationResult.Builder
setFlowValidationResults(int index, FlowValidationResult value)
Contains all flow validation results.AgentValidationResult.Builder
setFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)
Contains all flow validation results.AgentValidationResult.Builder
setName(String value)
The unique identifier of the agent validation result.AgentValidationResult.Builder
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the agent validation result.AgentValidationResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AgentValidationResult.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
clear
public AgentValidationResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
getDefaultInstanceForType
public AgentValidationResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AgentValidationResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AgentValidationResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AgentValidationResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
setField
public AgentValidationResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
clearField
public AgentValidationResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
clearOneof
public AgentValidationResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
setRepeatedField
public AgentValidationResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
addRepeatedField
public AgentValidationResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
mergeFrom
public AgentValidationResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AgentValidationResult.Builder>
-
mergeFrom
public AgentValidationResult.Builder mergeFrom(AgentValidationResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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.v3.FlowValidationResult flow_validation_results = 2;
- Specified by:
getFlowValidationResultsList
in interfaceAgentValidationResultOrBuilder
-
getFlowValidationResultsCount
public int getFlowValidationResultsCount()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
- Specified by:
getFlowValidationResultsCount
in interfaceAgentValidationResultOrBuilder
-
getFlowValidationResults
public FlowValidationResult getFlowValidationResults(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
- Specified by:
getFlowValidationResults
in interfaceAgentValidationResultOrBuilder
-
setFlowValidationResults
public AgentValidationResult.Builder setFlowValidationResults(int index, FlowValidationResult value)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.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.v3.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult value)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(int index, FlowValidationResult value)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResults
public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult.Builder builderForValue)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.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.v3.FlowValidationResult flow_validation_results = 2;
-
addAllFlowValidationResults
public AgentValidationResult.Builder addAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
clearFlowValidationResults
public AgentValidationResult.Builder clearFlowValidationResults()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
removeFlowValidationResults
public AgentValidationResult.Builder removeFlowValidationResults(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
getFlowValidationResultsBuilder
public FlowValidationResult.Builder getFlowValidationResultsBuilder(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
getFlowValidationResultsOrBuilder
public FlowValidationResultOrBuilder getFlowValidationResultsOrBuilder(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
- Specified by:
getFlowValidationResultsOrBuilder
in interfaceAgentValidationResultOrBuilder
-
getFlowValidationResultsOrBuilderList
public List<? extends FlowValidationResultOrBuilder> getFlowValidationResultsOrBuilderList()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
- Specified by:
getFlowValidationResultsOrBuilderList
in interfaceAgentValidationResultOrBuilder
-
addFlowValidationResultsBuilder
public FlowValidationResult.Builder addFlowValidationResultsBuilder()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
addFlowValidationResultsBuilder
public FlowValidationResult.Builder addFlowValidationResultsBuilder(int index)
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
getFlowValidationResultsBuilderList
public List<FlowValidationResult.Builder> getFlowValidationResultsBuilderList()
Contains all flow validation results.
repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;
-
setUnknownFields
public final AgentValidationResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
mergeUnknownFields
public final AgentValidationResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AgentValidationResult.Builder>
-
-