public static final class FlowValidationResult.Builder extends GeneratedMessageV3.Builder<FlowValidationResult.Builder> implements FlowValidationResultOrBuilder
The response message for Flows.GetFlowValidationResult.
Protobuf type google.cloud.dialogflow.cx.v3.FlowValidationResult
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllValidationMessages(Iterable<? extends ValidationMessage> values)
public FlowValidationResult.Builder addAllValidationMessages(Iterable<? extends ValidationMessage> values)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.ValidationMessage>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FlowValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addValidationMessages(ValidationMessage value)
public FlowValidationResult.Builder addValidationMessages(ValidationMessage value)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Returns
addValidationMessages(ValidationMessage.Builder builderForValue)
public FlowValidationResult.Builder addValidationMessages(ValidationMessage.Builder builderForValue)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Returns
addValidationMessages(int index, ValidationMessage value)
public FlowValidationResult.Builder addValidationMessages(int index, ValidationMessage value)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameters
Returns
addValidationMessages(int index, ValidationMessage.Builder builderForValue)
public FlowValidationResult.Builder addValidationMessages(int index, ValidationMessage.Builder builderForValue)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameters
Returns
addValidationMessagesBuilder()
public ValidationMessage.Builder addValidationMessagesBuilder()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Returns
addValidationMessagesBuilder(int index)
public ValidationMessage.Builder addValidationMessagesBuilder(int index)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public FlowValidationResult build()
Returns
buildPartial()
public FlowValidationResult buildPartial()
Returns
clear()
public FlowValidationResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FlowValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public FlowValidationResult.Builder clearName()
The unique identifier of the flow validation result.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/validationResult
.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public FlowValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateTime()
public FlowValidationResult.Builder clearUpdateTime()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Returns
clearValidationMessages()
public FlowValidationResult.Builder clearValidationMessages()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Returns
clone()
public FlowValidationResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public FlowValidationResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The unique identifier of the flow validation result.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/validationResult
.
string name = 1;
Returns
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The unique identifier of the flow validation result.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/validationResult
.
string name = 1;
Returns
getUpdateTime()
public Timestamp getUpdateTime()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Returns
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Returns
getValidationMessages(int index)
public ValidationMessage getValidationMessages(int index)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getValidationMessagesBuilder(int index)
public ValidationMessage.Builder getValidationMessagesBuilder(int index)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getValidationMessagesBuilderList()
public List<ValidationMessage.Builder> getValidationMessagesBuilderList()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Returns
getValidationMessagesCount()
public int getValidationMessagesCount()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Returns
getValidationMessagesList()
public List<ValidationMessage> getValidationMessagesList()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Returns
getValidationMessagesOrBuilder(int index)
public ValidationMessageOrBuilder getValidationMessagesOrBuilder(int index)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getValidationMessagesOrBuilderList()
public List<? extends ValidationMessageOrBuilder> getValidationMessagesOrBuilderList()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.ValidationMessageOrBuilder> |
|
hasUpdateTime()
public boolean hasUpdateTime()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Returns
Type |
Description |
boolean |
Whether the updateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FlowValidationResult other)
public FlowValidationResult.Builder mergeFrom(FlowValidationResult other)
Parameter
Returns
public FlowValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FlowValidationResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FlowValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
public FlowValidationResult.Builder mergeUpdateTime(Timestamp value)
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Parameter
Returns
removeValidationMessages(int index)
public FlowValidationResult.Builder removeValidationMessages(int index)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FlowValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public FlowValidationResult.Builder setName(String value)
The unique identifier of the flow validation result.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/validationResult
.
string name = 1;
Parameter
Name |
Description |
value |
String
The name to set.
|
Returns
setNameBytes(ByteString value)
public FlowValidationResult.Builder setNameBytes(ByteString value)
The unique identifier of the flow validation result.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/validationResult
.
string name = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FlowValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FlowValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
public FlowValidationResult.Builder setUpdateTime(Timestamp value)
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public FlowValidationResult.Builder setUpdateTime(Timestamp.Builder builderForValue)
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setValidationMessages(int index, ValidationMessage value)
public FlowValidationResult.Builder setValidationMessages(int index, ValidationMessage value)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameters
Returns
setValidationMessages(int index, ValidationMessage.Builder builderForValue)
public FlowValidationResult.Builder setValidationMessages(int index, ValidationMessage.Builder builderForValue)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
Parameters
Returns