Class AgentValidationResult.Builder (0.14.1)

public static final class AgentValidationResult.Builder extends GeneratedMessageV3.Builder<AgentValidationResult.Builder> implements AgentValidationResultOrBuilder

The response message for Agents.GetAgentValidationResult.

Protobuf type google.cloud.dialogflow.cx.v3.AgentValidationResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)

public AgentValidationResult.Builder addAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.FlowValidationResult>
Returns
TypeDescription
AgentValidationResult.Builder

addFlowValidationResults(FlowValidationResult value)

public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult value)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
valueFlowValidationResult
Returns
TypeDescription
AgentValidationResult.Builder

addFlowValidationResults(FlowValidationResult.Builder builderForValue)

public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult.Builder builderForValue)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
builderForValueFlowValidationResult.Builder
Returns
TypeDescription
AgentValidationResult.Builder

addFlowValidationResults(int index, FlowValidationResult value)

public AgentValidationResult.Builder addFlowValidationResults(int index, FlowValidationResult value)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameters
NameDescription
indexint
valueFlowValidationResult
Returns
TypeDescription
AgentValidationResult.Builder

addFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueFlowValidationResult.Builder
Returns
TypeDescription
AgentValidationResult.Builder

addFlowValidationResultsBuilder()

public FlowValidationResult.Builder addFlowValidationResultsBuilder()

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Returns
TypeDescription
FlowValidationResult.Builder

addFlowValidationResultsBuilder(int index)

public FlowValidationResult.Builder addFlowValidationResultsBuilder(int index)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FlowValidationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AgentValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

build()

public AgentValidationResult build()
Returns
TypeDescription
AgentValidationResult

buildPartial()

public AgentValidationResult buildPartial()
Returns
TypeDescription
AgentValidationResult

clear()

public AgentValidationResult.Builder clear()
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AgentValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

clearFlowValidationResults()

public AgentValidationResult.Builder clearFlowValidationResults()

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Returns
TypeDescription
AgentValidationResult.Builder

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
TypeDescription
AgentValidationResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

clone()

public AgentValidationResult.Builder clone()
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

getDefaultInstanceForType()

public AgentValidationResult getDefaultInstanceForType()
Returns
TypeDescription
AgentValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFlowValidationResults(int index)

public FlowValidationResult getFlowValidationResults(int index)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FlowValidationResult

getFlowValidationResultsBuilder(int index)

public FlowValidationResult.Builder getFlowValidationResultsBuilder(int index)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FlowValidationResult.Builder

getFlowValidationResultsBuilderList()

public List<FlowValidationResult.Builder> getFlowValidationResultsBuilderList()

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Returns
TypeDescription
List<Builder>

getFlowValidationResultsCount()

public int getFlowValidationResultsCount()

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Returns
TypeDescription
int

getFlowValidationResultsList()

public List<FlowValidationResult> getFlowValidationResultsList()

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Returns
TypeDescription
List<FlowValidationResult>

getFlowValidationResultsOrBuilder(int index)

public FlowValidationResultOrBuilder getFlowValidationResultsOrBuilder(int index)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FlowValidationResultOrBuilder

getFlowValidationResultsOrBuilderList()

public List<? extends FlowValidationResultOrBuilder> getFlowValidationResultsOrBuilderList()

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3.FlowValidationResultOrBuilder>

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;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique identifier of the agent validation result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AgentValidationResult other)

public AgentValidationResult.Builder mergeFrom(AgentValidationResult other)
Parameter
NameDescription
otherAgentValidationResult
Returns
TypeDescription
AgentValidationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentValidationResult.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AgentValidationResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

removeFlowValidationResults(int index)

public AgentValidationResult.Builder removeFlowValidationResults(int index)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AgentValidationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AgentValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

setFlowValidationResults(int index, FlowValidationResult value)

public AgentValidationResult.Builder setFlowValidationResults(int index, FlowValidationResult value)

Contains all flow validation results.

repeated .google.cloud.dialogflow.cx.v3.FlowValidationResult flow_validation_results = 2;

Parameters
NameDescription
indexint
valueFlowValidationResult
Returns
TypeDescription
AgentValidationResult.Builder

setFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueFlowValidationResult.Builder
Returns
TypeDescription
AgentValidationResult.Builder

setName(String value)

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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
AgentValidationResult.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AgentValidationResult.Builder setNameBytes(ByteString value)

The unique identifier of the agent validation result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/validationResult.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
AgentValidationResult.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AgentValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AgentValidationResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AgentValidationResult.Builder
Overrides