public final Intent createIntent ( ProjectAgentName parent , Intent intent ) { CreateIntentRequest request = CreateIntentRequest . newBuilder ( ) . setParent ( parent == null ? null : parent . toString ( ) ) . setIntent ( intent ) . build ( ) ; return createIntent ( request ) ; }
Creates an intent in the specified agent .