Class FlowValidationResult.Builder

  • All Implemented Interfaces:
    FlowValidationResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    FlowValidationResult

    public static final class FlowValidationResult.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
    implements FlowValidationResultOrBuilder
     The response message for
     [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
     
    Protobuf type google.cloud.dialogflow.cx.v3.FlowValidationResult
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • clear

        public FlowValidationResult.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • getDefaultInstanceForType

        public FlowValidationResult getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public FlowValidationResult build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public FlowValidationResult buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public FlowValidationResult.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • setField

        public FlowValidationResult.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • clearField

        public FlowValidationResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • clearOneof

        public FlowValidationResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • setRepeatedField

        public FlowValidationResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • addRepeatedField

        public FlowValidationResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • mergeFrom

        public FlowValidationResult.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowValidationResult.Builder>
        Throws:
        IOException
      • getName

        public String 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;
        Specified by:
        getName in interface FlowValidationResultOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.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;
        Specified by:
        getNameBytes in interface FlowValidationResultOrBuilder
        Returns:
        The bytes for name.
      • setName

        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;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setNameBytes

        public FlowValidationResult.Builder setNameBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setValidationMessages

        public FlowValidationResult.Builder setValidationMessages​(int index,
                                                                  ValidationMessage value)
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • addValidationMessages

        public FlowValidationResult.Builder addValidationMessages​(ValidationMessage value)
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • addValidationMessages

        public FlowValidationResult.Builder addValidationMessages​(int index,
                                                                  ValidationMessage value)
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • clearValidationMessages

        public FlowValidationResult.Builder clearValidationMessages()
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • removeValidationMessages

        public FlowValidationResult.Builder removeValidationMessages​(int index)
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • getValidationMessagesBuilder

        public ValidationMessage.Builder getValidationMessagesBuilder​(int index)
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • addValidationMessagesBuilder

        public ValidationMessage.Builder addValidationMessagesBuilder()
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • addValidationMessagesBuilder

        public ValidationMessage.Builder addValidationMessagesBuilder​(int index)
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • getValidationMessagesBuilderList

        public List<ValidationMessage.Builder> getValidationMessagesBuilderList()
         Contains all validation messages.
         
        repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
      • hasUpdateTime

        public boolean hasUpdateTime()
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
        Specified by:
        hasUpdateTime in interface FlowValidationResultOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
        Specified by:
        getUpdateTime in interface FlowValidationResultOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public FlowValidationResult.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
      • setUpdateTime

        public FlowValidationResult.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
      • mergeUpdateTime

        public FlowValidationResult.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
      • clearUpdateTime

        public FlowValidationResult.Builder clearUpdateTime()
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Last time the flow was validated.
         
        .google.protobuf.Timestamp update_time = 3;
        Specified by:
        getUpdateTimeOrBuilder in interface FlowValidationResultOrBuilder
      • setUnknownFields

        public final FlowValidationResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>
      • mergeUnknownFields

        public final FlowValidationResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlowValidationResult.Builder>