Class AgentValidationResult.Builder (0.53.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.FlowValidationResult>
Returns
Type Description
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
Name Description
value FlowValidationResult
Returns
Type Description
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
Name Description
builderForValue FlowValidationResult.Builder
Returns
Type Description
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
Name Description
index int
value FlowValidationResult
Returns
Type Description
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
Name Description
index int
builderForValue FlowValidationResult.Builder
Returns
Type Description
AgentValidationResult.Builder

addFlowValidationResultsBuilder()

public FlowValidationResult.Builder addFlowValidationResultsBuilder()

Contains all flow validation results.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
FlowValidationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AgentValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentValidationResult.Builder
Overrides

build()

public AgentValidationResult build()
Returns
Type Description
AgentValidationResult

buildPartial()

public AgentValidationResult buildPartial()
Returns
Type Description
AgentValidationResult

clear()

public AgentValidationResult.Builder clear()
Returns
Type Description
AgentValidationResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AgentValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
AgentValidationResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AgentValidationResult.Builder
Overrides

clone()

public AgentValidationResult.Builder clone()
Returns
Type Description
AgentValidationResult.Builder
Overrides

getDefaultInstanceForType()

public AgentValidationResult getDefaultInstanceForType()
Returns
Type Description
AgentValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getFlowValidationResultsCount()

public int getFlowValidationResultsCount()

Contains all flow validation results.

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

Returns
Type Description
int

getFlowValidationResultsList()

public List<FlowValidationResult> getFlowValidationResultsList()

Contains all flow validation results.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
FlowValidationResultOrBuilder

getFlowValidationResultsOrBuilderList()

public List<? extends FlowValidationResultOrBuilder> getFlowValidationResultsOrBuilderList()

Contains all flow validation results.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AgentValidationResult other)

public AgentValidationResult.Builder mergeFrom(AgentValidationResult other)
Parameter
Name Description
other AgentValidationResult
Returns
Type Description
AgentValidationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentValidationResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AgentValidationResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AgentValidationResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
AgentValidationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AgentValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value FlowValidationResult
Returns
Type Description
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
Name Description
index int
builderForValue FlowValidationResult.Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AgentValidationResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentValidationResult.Builder
Overrides