Class 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.v3beta1.Agents.GetAgentValidationResult].
     
    Protobuf type google.cloud.dialogflow.cx.v3beta1.AgentValidationResult
    • 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<AgentValidationResult.Builder>
      • clear

        public AgentValidationResult.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<AgentValidationResult.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<AgentValidationResult.Builder>
      • getDefaultInstanceForType

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

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

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

        public AgentValidationResult.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<AgentValidationResult.Builder>
      • clearField

        public AgentValidationResult.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<AgentValidationResult.Builder>
      • clearOneof

        public AgentValidationResult.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<AgentValidationResult.Builder>
      • setRepeatedField

        public AgentValidationResult.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<AgentValidationResult.Builder>
      • addRepeatedField

        public AgentValidationResult.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<AgentValidationResult.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 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<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 interface AgentValidationResultOrBuilder
        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 interface AgentValidationResultOrBuilder
        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.
      • getFlowValidationResultsCount

        public int getFlowValidationResultsCount()
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
        Specified by:
        getFlowValidationResultsCount in interface AgentValidationResultOrBuilder
      • setFlowValidationResults

        public AgentValidationResult.Builder setFlowValidationResults​(int index,
                                                                      FlowValidationResult value)
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.FlowValidationResult flow_validation_results = 2;
      • addFlowValidationResults

        public AgentValidationResult.Builder addFlowValidationResults​(FlowValidationResult value)
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • addFlowValidationResults

        public AgentValidationResult.Builder addFlowValidationResults​(int index,
                                                                      FlowValidationResult value)
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.FlowValidationResult flow_validation_results = 2;
      • clearFlowValidationResults

        public AgentValidationResult.Builder clearFlowValidationResults()
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • removeFlowValidationResults

        public AgentValidationResult.Builder removeFlowValidationResults​(int index)
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • getFlowValidationResultsBuilder

        public FlowValidationResult.Builder getFlowValidationResultsBuilder​(int index)
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • addFlowValidationResultsBuilder

        public FlowValidationResult.Builder addFlowValidationResultsBuilder()
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • addFlowValidationResultsBuilder

        public FlowValidationResult.Builder addFlowValidationResultsBuilder​(int index)
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • getFlowValidationResultsBuilderList

        public List<FlowValidationResult.Builder> getFlowValidationResultsBuilderList()
         Contains all flow validation results.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      • setUnknownFields

        public final AgentValidationResult.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<AgentValidationResult.Builder>
      • mergeUnknownFields

        public final AgentValidationResult.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<AgentValidationResult.Builder>