@Test(expected = IllegalArgumentException.class) public void testMergePromptsConflict() { IntentSlotData left = mockBuilder("left").build(); IntentSlotData right = mockBuilder("right").build(); IntentSlotData.builder().merge(left).merge(right).build(); }
public static Builder builder() { return new Builder(); }
IntentSlotData { public static Builder builder() { return new Builder(); } }
IntentSlotData { public static Builder builder() { return new Builder(); } IntentSlotData(Boolean confirmationRequired, Set<PromptVariation> confirmations,
                          Boolean elicitationRequired, Set<PromptVariation> elicitations,
                          DialogSlotPrompt prompts,
                          Set<String> samples); }
IntentSlotData { public static Builder builder() { return new Builder(); } IntentSlotData(Boolean confirmationRequired, Set<PromptVariation> confirmations,
                          Boolean elicitationRequired, Set<PromptVariation> elicitations,
                          DialogSlotPrompt prompts,
                          Set<String> samples); @JsonProperty("samples") Set<String> getSamples(); @JsonProperty("elicitations") Set<PromptVariation> getElicitations(); @JsonProperty("confirmations") Set<PromptVariation> getConfirmations(); @JsonProperty("confirmationRequired") Boolean getConfirmationRequired(); @JsonProperty("elicitationRequired") Boolean getElicitationRequired(); @JsonProperty("prompts") DialogSlotPrompt getPrompts(); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder(); }
IntentSlotData { public static Builder builder() { return new Builder(); } IntentSlotData(Boolean confirmationRequired, Set<PromptVariation> confirmations,
                          Boolean elicitationRequired, Set<PromptVariation> elicitations,
                          DialogSlotPrompt prompts,
                          Set<String> samples); @JsonProperty("samples") Set<String> getSamples(); @JsonProperty("elicitations") Set<PromptVariation> getElicitations(); @JsonProperty("confirmations") Set<PromptVariation> getConfirmations(); @JsonProperty("confirmationRequired") Boolean getConfirmationRequired(); @JsonProperty("elicitationRequired") Boolean getElicitationRequired(); @JsonProperty("prompts") DialogSlotPrompt getPrompts(); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder();  }